sbuild (Debian sbuild) 0.86.3~bpo12+1 (03 November 2024) on debusine-worker-amd64-hades-04.freexian.com
+==============================================================================+
| pyreadstat 1.2.7-1 (amd64) Fri, 15 Nov 2024 12:37:58 +0000 |
+==============================================================================+
Package: pyreadstat
Version: 1.2.7-1
Source Version: 1.2.7-1
Distribution: sid
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary
I: No tarballs found in /var/lib/debusine/worker/.cache/sbuild
Unpacking /var/lib/debusine/worker/system-images/957754/system.tar.xz to /tmp/tmp.sbuild.gFQSNmG6VI...
I: NOTICE: Log filtering will replace 'sbuild-unshare-dummy-location' with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Chroot Setup Commands |
+------------------------------------------------------------------------------+
rm -f /etc/resolv.conf
----------------------
I: Finished running 'rm -f /etc/resolv.conf'.
Finished processing commands.
--------------------------------------------------------------------------------
Copying /tmp/debusine-fetch-exec-upload-k5ptcnou/dpkg-dbgsym_1.22.12~1.gbp82cafd_arm64.deb to /<<CHROOT>>...
Copying /tmp/debusine-fetch-exec-upload-k5ptcnou/dpkg_1.22.12~1.gbp82cafd_arm64.deb to /<<CHROOT>>...
Copying /tmp/debusine-fetch-exec-upload-k5ptcnou/dselect-dbgsym_1.22.12~1.gbp82cafd_arm64.deb to /<<CHROOT>>...
Copying /tmp/debusine-fetch-exec-upload-k5ptcnou/dselect_1.22.12~1.gbp82cafd_arm64.deb to /<<CHROOT>>...
Copying /tmp/debusine-fetch-exec-upload-k5ptcnou/libdpkg-dev_1.22.12~1.gbp82cafd_arm64.deb to /<<CHROOT>>...
Copying /tmp/debusine-fetch-exec-upload-k5ptcnou/dpkg-dev_1.22.12~1.gbp82cafd_all.deb to /<<CHROOT>>...
Copying /tmp/debusine-fetch-exec-upload-k5ptcnou/libdpkg-perl_1.22.12~1.gbp82cafd_all.deb to /<<CHROOT>>...
I: NOTICE: Log filtering will replace 'build/pyreadstat-vtARIk/resolver-ETkUuj' with '<<RESOLVERDIR>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:1 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ InRelease
Ign:1 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ InRelease
Get:2 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ Release [606 B]
Get:2 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ Release [606 B]
Get:3 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ Release.gpg
Ign:3 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ Release.gpg
Get:4 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ Packages [9246 B]
Get:5 http://deb.debian.org/debian sid InRelease [202 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 Packages [10.0 MB]
Get:7 http://deb.debian.org/debian sid/main amd64 Components [4979 kB]
Fetched 15.2 MB in 2s (9002 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
apt bsdextrautils bsdutils dpkg-dev libapt-pkg6.0t64 libaudit-common
libaudit1 libblkid1 libbrotli1 libcap-ng0 libdpkg-perl libglib2.0-0t64
libmount1 libpcre2-8-0 libseccomp2 libselinux1 libsemanage2 libsmartcols1
libuuid1 libxml2 login mount util-linux
23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 7670 kB/9654 kB of archives.
After this operation, 366 kB disk space will be freed.
Get:1 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ dpkg-dev 1.22.12~1.gbp82cafd [1337 kB]
Get:2 file:/build/pyreadstat-vtARIk/resolver-Eoma6k/apt_archive ./ libdpkg-perl 1.22.12~1.gbp82cafd [647 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 bsdutils amd64 1:2.40.2-11 [105 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 bsdextrautils amd64 2.40.2-11 [91.5 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 libblkid1 amd64 2.40.2-11 [168 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 libmount1 amd64 2.40.2-11 [199 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 libsmartcols1 amd64 2.40.2-11 [139 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 mount amd64 2.40.2-11 [155 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 libuuid1 amd64 2.40.2-11 [35.9 kB]
Get:10 http://deb.debian.org/debian sid/main amd64 util-linux amd64 2.40.2-11 [1213 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 libpcre2-8-0 amd64 10.44-2 [275 kB]
Get:12 http://deb.debian.org/debian sid/main amd64 libselinux1 amd64 3.7-3+b1 [77.0 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 libapt-pkg6.0t64 amd64 2.9.11 [1043 kB]
Get:14 http://deb.debian.org/debian sid/main amd64 libseccomp2 amd64 2.5.5-1+b3 [47.4 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 apt amd64 2.9.11 [1362 kB]
Get:16 http://deb.debian.org/debian sid/main amd64 libaudit-common all 1:4.0.2-2 [12.7 kB]
Get:17 http://deb.debian.org/debian sid/main amd64 libcap-ng0 amd64 0.8.5-3+b1 [17.5 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 libaudit1 amd64 1:4.0.2-2 [54.9 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 login amd64 1:4.16.0-2+really2.40.2-11 [81.5 kB]
Get:20 http://deb.debian.org/debian sid/main amd64 libbrotli1 amd64 1.1.0-2+b6 [302 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 libglib2.0-0t64 amd64 2.82.2-3 [1501 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 libsemanage2 amd64 3.7-2+b1 [91.2 kB]
Get:23 http://deb.debian.org/debian sid/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 7670 kB in 0s (45.7 MB/s)
(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 ... 16880 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.40.2-11_amd64.deb ...
Unpacking bsdutils (1:2.40.2-11) over (1:2.40.2-10) ...
Setting up bsdutils (1:2.40.2-11) ...
(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 ... 16880 files and directories currently installed.)
Preparing to unpack .../bsdextrautils_2.40.2-11_amd64.deb ...
Unpacking bsdextrautils (2.40.2-11) over (2.40.2-10) ...
Preparing to unpack .../libblkid1_2.40.2-11_amd64.deb ...
Unpacking libblkid1:amd64 (2.40.2-11) over (2.40.2-10) ...
Setting up libblkid1:amd64 (2.40.2-11) ...
(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 ... 16876 files and directories currently installed.)
Preparing to unpack .../libmount1_2.40.2-11_amd64.deb ...
Unpacking libmount1:amd64 (2.40.2-11) over (2.40.2-10) ...
Setting up libmount1:amd64 (2.40.2-11) ...
(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 ... 16876 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.40.2-11_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.40.2-11) over (2.40.2-10) ...
Setting up libsmartcols1:amd64 (2.40.2-11) ...
(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 ... 16876 files and directories currently installed.)
Preparing to unpack .../mount_2.40.2-11_amd64.deb ...
Unpacking mount (2.40.2-11) over (2.40.2-10) ...
Preparing to unpack .../libuuid1_2.40.2-11_amd64.deb ...
Unpacking libuuid1:amd64 (2.40.2-11) over (2.40.2-10) ...
Setting up libuuid1:amd64 (2.40.2-11) ...
(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 ... 16876 files and directories currently installed.)
Preparing to unpack .../util-linux_2.40.2-11_amd64.deb ...
Unpacking util-linux (2.40.2-11) over (2.40.2-10) ...
Setting up util-linux (2.40.2-11) ...
(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 ... 16873 files and directories currently installed.)
Preparing to unpack .../libpcre2-8-0_10.44-2_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.44-2) over (10.42-4+b2) ...
Setting up libpcre2-8-0:amd64 (10.44-2) ...
(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 ... 16872 files and directories currently installed.)
Preparing to unpack .../libselinux1_3.7-3+b1_amd64.deb ...
Unpacking libselinux1:amd64 (3.7-3+b1) over (3.7-3) ...
Setting up libselinux1:amd64 (3.7-3+b1) ...
(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 ... 16873 files and directories currently installed.)
Preparing to unpack .../libapt-pkg6.0t64_2.9.11_amd64.deb ...
Unpacking libapt-pkg6.0t64:amd64 (2.9.11) over (2.9.10) ...
Setting up libapt-pkg6.0t64:amd64 (2.9.11) ...
(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 ... 16873 files and directories currently installed.)
Preparing to unpack .../libseccomp2_2.5.5-1+b3_amd64.deb ...
Unpacking libseccomp2:amd64 (2.5.5-1+b3) over (2.5.5-1+b2) ...
Setting up libseccomp2:amd64 (2.5.5-1+b3) ...
(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 ... 16873 files and directories currently installed.)
Preparing to unpack .../archives/apt_2.9.11_amd64.deb ...
Unpacking apt (2.9.11) over (2.9.10) ...
Setting up apt (2.9.11) ...
(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 ... 16870 files and directories currently installed.)
Preparing to unpack .../libaudit-common_1%3a4.0.2-2_all.deb ...
Unpacking libaudit-common (1:4.0.2-2) over (1:4.0.1-3) ...
Setting up libaudit-common (1:4.0.2-2) ...
(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 ... 16870 files and directories currently installed.)
Preparing to unpack .../libcap-ng0_0.8.5-3+b1_amd64.deb ...
Unpacking libcap-ng0:amd64 (0.8.5-3+b1) over (0.8.5-3) ...
Setting up libcap-ng0:amd64 (0.8.5-3+b1) ...
(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 ... 16871 files and directories currently installed.)
Preparing to unpack .../libaudit1_1%3a4.0.2-2_amd64.deb ...
Unpacking libaudit1:amd64 (1:4.0.2-2) over (1:4.0.1-3) ...
Setting up libaudit1:amd64 (1:4.0.2-2) ...
(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 ... 16871 files and directories currently installed.)
Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-11_amd64.deb ...
Unpacking login (1:4.16.0-2+really2.40.2-11) over (1:4.16.0-2+really2.40.2-10) ...
Preparing to unpack .../1-dpkg-dev_1.22.12~1.gbp82cafd_all.deb ...
Unpacking dpkg-dev (1.22.12~1.gbp82cafd) over (1.22.11) ...
Preparing to unpack .../2-libdpkg-perl_1.22.12~1.gbp82cafd_all.deb ...
Unpacking libdpkg-perl (1.22.12~1.gbp82cafd) over (1.22.11) ...
Preparing to unpack .../3-libbrotli1_1.1.0-2+b6_amd64.deb ...
Unpacking libbrotli1:amd64 (1.1.0-2+b6) over (1.1.0-2+b5) ...
Preparing to unpack .../4-libglib2.0-0t64_2.82.2-3_amd64.deb ...
Unpacking libglib2.0-0t64:amd64 (2.82.2-3) over (2.82.2-2) ...
Preparing to unpack .../5-libsemanage2_3.7-2+b1_amd64.deb ...
Unpacking libsemanage2:amd64 (3.7-2+b1) over (3.7-2) ...
Preparing to unpack .../6-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ...
Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) over (2.12.7+dfsg+really2.9.14-0.1) ...
Setting up bsdextrautils (2.40.2-11) ...
Setting up libbrotli1:amd64 (1.1.0-2+b6) ...
Setting up libglib2.0-0t64:amd64 (2.82.2-3) ...
No schema files found: doing nothing.
Setting up libdpkg-perl (1.22.12~1.gbp82cafd) ...
Setting up mount (2.40.2-11) ...
Setting up libsemanage2:amd64 (3.7-2+b1) ...
Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ...
Setting up login (1:4.16.0-2+really2.40.2-11) ...
Setting up dpkg-dev (1.22.12~1.gbp82cafd) ...
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libc-bin (2.40-3) ...
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Local sources
-------------
/tmp/debusine-fetch-exec-upload-k5ptcnou/pyreadstat_1.2.7-1.dsc exists in /tmp/debusine-fetch-exec-upload-k5ptcnou; copying to chroot
I: NOTICE: Log filtering will replace 'build/pyreadstat-vtARIk/pyreadstat-1.2.7' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/pyreadstat-vtARIk' with '<<BUILDDIR>>'
+------------------------------------------------------------------------------+
| Install package build dependencies |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, python3-all-dev, python3-setuptools, cython3 (>= 3.0.2), python3-pandas, zlib1g-dev, build-essential, fakeroot
Filtered Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, python3-all-dev, python3-setuptools, cython3 (>= 3.0.2), python3-pandas, zlib1g-dev, build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [609 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [736 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [768 B]
Fetched 2113 B in 0s (209 kB/s)
Reading package lists...
Get:1 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ InRelease
Ign:1 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ InRelease
Get:2 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release [606 B]
Get:2 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release [606 B]
Get:3 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release.gpg
Ign:3 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release.gpg
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 build-essential cpp cpp-14
cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu cython3 debhelper dh-autoreconf
dh-python dh-strip-nondeterminism dwz fakeroot g++ g++-14
g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14
gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblas3 libc-dev-bin
libc6-dev libcc1-0 libcrypt-dev libdebhelper-perl libelf1t64 libexpat1
libexpat1-dev libfakeroot libfile-stripnondeterminism-perl libgcc-14-dev
libgfortran5 libhwasan0 libisl23 libitm1 libjs-jquery libjs-sphinxdoc
libjs-underscore liblapack3 liblsan0 libmpc3 libmpfr6 libncursesw6 libnsl2
libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.12-dev
libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libpython3.13
libpython3.13-dev libpython3.13-minimal libpython3.13-stdlib libquadmath0
libstdc++-14-dev libtirpc-common libtirpc3t64 libtool libtsan2 libubsan1
linux-libc-dev m4 media-types po-debconf python3 python3-all python3-all-dev
python3-autocommand python3-dateutil python3-dev python3-inflect
python3-jaraco.context python3-jaraco.functools python3-jaraco.text
python3-minimal python3-more-itertools python3-numpy python3-pandas
python3-pandas-lib python3-pkg-resources python3-setuptools
python3-typeguard python3-typing-extensions python3-tz python3-zipp
python3.12 python3.12-dev python3.12-minimal python3.13 python3.13-dev
python3.13-minimal rpcsvc-proto zlib1g-dev
Suggested packages:
autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales
cpp-14-doc cython-doc dh-make flit python3-build python3-installer
python3-wheel g++-multilib g++-14-multilib gcc-14-doc gcc-multilib
manpages-dev flex bison gdb gcc-doc gcc-14-multilib gdb-x86-64-linux-gnu
libc-devtools glibc-doc libstdc++-14-doc libtool-doc gfortran
| fortran95-compiler gcj-jdk m4-doc libmail-box-perl python3-doc python3-tk
python3-venv gfortran python-numpy-doc python3-pytest python-pandas-doc
python3-statsmodels python-setuptools-doc python3.12-venv python3.12-doc
binfmt-support python3.13-venv python3.13-doc
Recommended packages:
manpages manpages-dev libarchive-cpio-perl javascript-common libgpm2
libltdl-dev libmail-sendmail-perl python3-scipy python3-matplotlib
python3-bottleneck python3-numexpr python3-odf python3-openpyxl python3-bs4
python3-html5lib python3-lxml python3-tables python3-jinja2 python3-numba
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev build-essential cpp cpp-14
cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu cython3 debhelper dh-autoreconf
dh-python dh-strip-nondeterminism dwz fakeroot g++ g++-14
g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14
gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libblas3 libc-dev-bin
libc6-dev libcc1-0 libcrypt-dev libdebhelper-perl libelf1t64 libexpat1
libexpat1-dev libfakeroot libfile-stripnondeterminism-perl libgcc-14-dev
libgfortran5 libhwasan0 libisl23 libitm1 libjs-jquery libjs-sphinxdoc
libjs-underscore liblapack3 liblsan0 libmpc3 libmpfr6 libncursesw6 libnsl2
libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.12-dev
libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 libpython3.13
libpython3.13-dev libpython3.13-minimal libpython3.13-stdlib libquadmath0
libstdc++-14-dev libtirpc-common libtirpc3t64 libtool libtsan2 libubsan1
linux-libc-dev m4 media-types po-debconf python3 python3-all python3-all-dev
python3-autocommand python3-dateutil python3-dev python3-inflect
python3-jaraco.context python3-jaraco.functools python3-jaraco.text
python3-minimal python3-more-itertools python3-numpy python3-pandas
python3-pandas-lib python3-pkg-resources python3-setuptools
python3-typeguard python3-typing-extensions python3-tz python3-zipp
python3.12 python3.12-dev python3.12-minimal python3.13 python3.13-dev
python3.13-minimal rpcsvc-proto sbuild-build-depends-main-dummy zlib1g-dev
0 upgraded, 102 newly installed, 0 to remove and 0 not upgraded.
Need to get 122 MB of archives.
After this operation, 525 MB of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [940 B]
Get:2 http://deb.debian.org/debian sid/main amd64 libpython3.12-minimal amd64 3.12.7-3 [815 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libexpat1 amd64 2.6.4-1 [106 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 python3.12-minimal amd64 3.12.7-3 [2162 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 python3-minimal amd64 3.12.7-1 [26.8 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 media-types all 10.1.0 [26.9 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 libncursesw6 amd64 6.5-2+b1 [136 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 libtirpc3t64 amd64 1.3.4+ds-1.3+b1 [83.1 kB]
Get:10 http://deb.debian.org/debian sid/main amd64 libnsl2 amd64 1.3.0-3+b3 [40.6 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 libpython3.12-stdlib amd64 3.12.7-3 [1966 kB]
Get:12 http://deb.debian.org/debian sid/main amd64 python3.12 amd64 3.12.7-3 [671 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 libpython3-stdlib amd64 3.12.7-1 [9712 B]
Get:14 http://deb.debian.org/debian sid/main amd64 python3 amd64 3.12.7-1 [27.8 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 libpython3.13-minimal amd64 3.13.0-2 [856 kB]
Get:16 http://deb.debian.org/debian sid/main amd64 python3.13-minimal amd64 3.13.0-2 [2038 kB]
Get:17 http://deb.debian.org/debian sid/main amd64 m4 amd64 1.4.19-4 [287 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 autoconf all 2.72-3 [493 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 autotools-dev all 20220109.1 [51.6 kB]
Get:20 http://deb.debian.org/debian sid/main amd64 automake all 1:1.16.5-1.3 [823 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 autopoint all 0.22.5-2 [723 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 libc-dev-bin amd64 2.40-3 [51.8 kB]
Get:23 http://deb.debian.org/debian sid/main amd64 linux-libc-dev all 6.11.7-1 [2454 kB]
Get:24 http://deb.debian.org/debian sid/main amd64 libcrypt-dev amd64 1:4.4.36-5 [118 kB]
Get:25 http://deb.debian.org/debian sid/main amd64 rpcsvc-proto amd64 1.4.3-1 [63.3 kB]
Get:26 http://deb.debian.org/debian sid/main amd64 libc6-dev amd64 2.40-3 [1956 kB]
Get:27 http://deb.debian.org/debian sid/main amd64 libisl23 amd64 0.27-1 [659 kB]
Get:28 http://deb.debian.org/debian sid/main amd64 libmpfr6 amd64 4.2.1-1+b2 [724 kB]
Get:29 http://deb.debian.org/debian sid/main amd64 libmpc3 amd64 1.3.1-1+b3 [52.2 kB]
Get:30 http://deb.debian.org/debian sid/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-8 [11.1 MB]
Get:31 http://deb.debian.org/debian sid/main amd64 cpp-14 amd64 14.2.0-8 [1276 B]
Get:32 http://deb.debian.org/debian sid/main amd64 cpp-x86-64-linux-gnu amd64 4:14.2.0-1 [4840 B]
Get:33 http://deb.debian.org/debian sid/main amd64 cpp amd64 4:14.2.0-1 [1568 B]
Get:34 http://deb.debian.org/debian sid/main amd64 libcc1-0 amd64 14.2.0-8 [42.8 kB]
Get:35 http://deb.debian.org/debian sid/main amd64 libitm1 amd64 14.2.0-8 [25.9 kB]
Get:36 http://deb.debian.org/debian sid/main amd64 libasan8 amd64 14.2.0-8 [2729 kB]
Get:37 http://deb.debian.org/debian sid/main amd64 liblsan0 amd64 14.2.0-8 [1205 kB]
Get:38 http://deb.debian.org/debian sid/main amd64 libtsan2 amd64 14.2.0-8 [2461 kB]
Get:39 http://deb.debian.org/debian sid/main amd64 libubsan1 amd64 14.2.0-8 [1075 kB]
Get:40 http://deb.debian.org/debian sid/main amd64 libhwasan0 amd64 14.2.0-8 [1489 kB]
Get:41 http://deb.debian.org/debian sid/main amd64 libquadmath0 amd64 14.2.0-8 [145 kB]
Get:42 http://deb.debian.org/debian sid/main amd64 libgcc-14-dev amd64 14.2.0-8 [2674 kB]
Get:43 http://deb.debian.org/debian sid/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-8 [21.4 MB]
Get:44 http://deb.debian.org/debian sid/main amd64 gcc-14 amd64 14.2.0-8 [530 kB]
Get:45 http://deb.debian.org/debian sid/main amd64 gcc-x86-64-linux-gnu amd64 4:14.2.0-1 [1436 B]
Get:46 http://deb.debian.org/debian sid/main amd64 gcc amd64 4:14.2.0-1 [5136 B]
Get:47 http://deb.debian.org/debian sid/main amd64 libstdc++-14-dev amd64 14.2.0-8 [2369 kB]
Get:48 http://deb.debian.org/debian sid/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-8 [12.1 MB]
Get:49 http://deb.debian.org/debian sid/main amd64 g++-14 amd64 14.2.0-8 [20.2 kB]
Get:50 http://deb.debian.org/debian sid/main amd64 g++-x86-64-linux-gnu amd64 4:14.2.0-1 [1200 B]
Get:51 http://deb.debian.org/debian sid/main amd64 g++ amd64 4:14.2.0-1 [1344 B]
Get:52 http://deb.debian.org/debian sid/main amd64 build-essential amd64 12.12 [4624 B]
Get:53 http://deb.debian.org/debian sid/main amd64 cython3 amd64 3.0.11+dfsg-1+b1 [3157 kB]
Get:54 http://deb.debian.org/debian sid/main amd64 libdebhelper-perl all 13.20 [89.7 kB]
Get:55 http://deb.debian.org/debian sid/main amd64 libtool all 2.4.7-8 [517 kB]
Get:56 http://deb.debian.org/debian sid/main amd64 dh-autoreconf all 20 [17.1 kB]
Get:57 http://deb.debian.org/debian sid/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB]
Get:58 http://deb.debian.org/debian sid/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B]
Get:59 http://deb.debian.org/debian sid/main amd64 libelf1t64 amd64 0.192-4 [189 kB]
Get:60 http://deb.debian.org/debian sid/main amd64 dwz amd64 0.15-1+b1 [110 kB]
Get:61 http://deb.debian.org/debian sid/main amd64 po-debconf all 1.0.21+nmu1 [248 kB]
Get:62 http://deb.debian.org/debian sid/main amd64 debhelper all 13.20 [915 kB]
Get:63 http://deb.debian.org/debian sid/main amd64 python3-autocommand all 2.2.2-3 [13.6 kB]
Get:64 http://deb.debian.org/debian sid/main amd64 python3-more-itertools all 10.5.0-1 [63.8 kB]
Get:65 http://deb.debian.org/debian sid/main amd64 python3-typing-extensions all 4.12.2-2 [73.0 kB]
Get:66 http://deb.debian.org/debian sid/main amd64 python3-typeguard all 4.4.1-1 [37.0 kB]
Get:67 http://deb.debian.org/debian sid/main amd64 python3-inflect all 7.3.1-2 [32.4 kB]
Get:68 http://deb.debian.org/debian sid/main amd64 python3-jaraco.context all 6.0.0-1 [7984 B]
Get:69 http://deb.debian.org/debian sid/main amd64 python3-jaraco.functools all 4.1.0-1 [12.0 kB]
Get:70 http://deb.debian.org/debian sid/main amd64 python3-pkg-resources all 75.2.0-1 [213 kB]
Get:71 http://deb.debian.org/debian sid/main amd64 python3-jaraco.text all 4.0.0-1 [11.4 kB]
Get:72 http://deb.debian.org/debian sid/main amd64 python3-zipp all 3.21.0-1 [10.6 kB]
Get:73 http://deb.debian.org/debian sid/main amd64 python3-setuptools all 75.2.0-1 [731 kB]
Get:74 http://deb.debian.org/debian sid/main amd64 dh-python all 6.20241024 [109 kB]
Get:75 http://deb.debian.org/debian sid/main amd64 libfakeroot amd64 1.36-1 [29.1 kB]
Get:76 http://deb.debian.org/debian sid/main amd64 fakeroot amd64 1.36-1 [75.1 kB]
Get:77 http://deb.debian.org/debian sid/main amd64 libblas3 amd64 3.12.0-3+b1 [152 kB]
Get:78 http://deb.debian.org/debian sid/main amd64 libexpat1-dev amd64 2.6.4-1 [158 kB]
Get:79 http://deb.debian.org/debian sid/main amd64 libgfortran5 amd64 14.2.0-8 [836 kB]
Get:80 http://deb.debian.org/debian sid/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB]
Get:81 http://deb.debian.org/debian sid/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB]
Get:82 http://deb.debian.org/debian sid/main amd64 libjs-sphinxdoc all 7.4.7-4 [158 kB]
Get:83 http://deb.debian.org/debian sid/main amd64 liblapack3 amd64 3.12.0-3+b1 [2450 kB]
Get:84 http://deb.debian.org/debian sid/main amd64 libpython3.12t64 amd64 3.12.7-3 [2153 kB]
Get:85 http://deb.debian.org/debian sid/main amd64 zlib1g-dev amd64 1:1.3.dfsg+really1.3.1-1+b1 [920 kB]
Get:86 http://deb.debian.org/debian sid/main amd64 libpython3.12-dev amd64 3.12.7-3 [5124 kB]
Get:87 http://deb.debian.org/debian sid/main amd64 libpython3-dev amd64 3.12.7-1 [9976 B]
Get:88 http://deb.debian.org/debian sid/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [1992 kB]
Get:89 http://deb.debian.org/debian sid/main amd64 libpython3.13 amd64 3.13.0-2 [2137 kB]
Get:90 http://deb.debian.org/debian sid/main amd64 libpython3.13-dev amd64 3.13.0-2 [4994 kB]
Get:91 http://deb.debian.org/debian sid/main amd64 libpython3-all-dev amd64 3.12.7-1 [1072 B]
Get:92 http://deb.debian.org/debian sid/main amd64 python3.13 amd64 3.13.0-2 [730 kB]
Get:93 http://deb.debian.org/debian sid/main amd64 python3-all amd64 3.12.7-1 [1052 B]
Get:94 http://deb.debian.org/debian sid/main amd64 python3.12-dev amd64 3.12.7-3 [505 kB]
Get:95 http://deb.debian.org/debian sid/main amd64 python3-dev amd64 3.12.7-1 [26.1 kB]
Get:96 http://deb.debian.org/debian sid/main amd64 python3.13-dev amd64 3.13.0-2 [504 kB]
Get:97 http://deb.debian.org/debian sid/main amd64 python3-all-dev amd64 3.12.7-1 [1076 B]
Get:98 http://deb.debian.org/debian sid/main amd64 python3-dateutil all 2.9.0-3 [79.3 kB]
Get:99 http://deb.debian.org/debian sid/main amd64 python3-numpy amd64 1:1.26.4+ds-12 [4738 kB]
Get:100 http://deb.debian.org/debian sid/main amd64 python3-tz all 2024.1-2 [30.9 kB]
Get:101 http://deb.debian.org/debian sid/main amd64 python3-pandas-lib amd64 2.2.3+dfsg-5+b1 [7307 kB]
Get:102 http://deb.debian.org/debian sid/main amd64 python3-pandas all 2.2.3+dfsg-5 [3096 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 122 MB in 1s (107 MB/s)
Selecting previously unselected package libpython3.12-minimal:amd64.
(Reading database ... 16873 files and directories currently installed.)
Preparing to unpack .../libpython3.12-minimal_3.12.7-3_amd64.deb ...
Unpacking libpython3.12-minimal:amd64 (3.12.7-3) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.6.4-1_amd64.deb ...
Unpacking libexpat1:amd64 (2.6.4-1) ...
Selecting previously unselected package python3.12-minimal.
Preparing to unpack .../python3.12-minimal_3.12.7-3_amd64.deb ...
Unpacking python3.12-minimal (3.12.7-3) ...
Setting up libpython3.12-minimal:amd64 (3.12.7-3) ...
Setting up libexpat1:amd64 (2.6.4-1) ...
Setting up python3.12-minimal (3.12.7-3) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 17193 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.12.7-1_amd64.deb ...
Unpacking python3-minimal (3.12.7-1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_10.1.0_all.deb ...
Unpacking media-types (10.1.0) ...
Selecting previously unselected package libncursesw6:amd64.
Preparing to unpack .../2-libncursesw6_6.5-2+b1_amd64.deb ...
Unpacking libncursesw6:amd64 (6.5-2+b1) ...
Selecting previously unselected package libtirpc-common.
Preparing to unpack .../3-libtirpc-common_1.3.4+ds-1.3_all.deb ...
Unpacking libtirpc-common (1.3.4+ds-1.3) ...
Selecting previously unselected package libtirpc3t64:amd64.
Preparing to unpack .../4-libtirpc3t64_1.3.4+ds-1.3+b1_amd64.deb ...
Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3 to /lib/x86_64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64'
Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3.0.0 to /lib/x86_64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64'
Unpacking libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ...
Selecting previously unselected package libnsl2:amd64.
Preparing to unpack .../5-libnsl2_1.3.0-3+b3_amd64.deb ...
Unpacking libnsl2:amd64 (1.3.0-3+b3) ...
Selecting previously unselected package libpython3.12-stdlib:amd64.
Preparing to unpack .../6-libpython3.12-stdlib_3.12.7-3_amd64.deb ...
Unpacking libpython3.12-stdlib:amd64 (3.12.7-3) ...
Selecting previously unselected package python3.12.
Preparing to unpack .../7-python3.12_3.12.7-3_amd64.deb ...
Unpacking python3.12 (3.12.7-3) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../8-libpython3-stdlib_3.12.7-1_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.12.7-1) ...
Setting up python3-minimal (3.12.7-1) ...
Selecting previously unselected package python3.
(Reading database ... 17666 files and directories currently installed.)
Preparing to unpack .../00-python3_3.12.7-1_amd64.deb ...
Unpacking python3 (3.12.7-1) ...
Selecting previously unselected package libpython3.13-minimal:amd64.
Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_amd64.deb ...
Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ...
Selecting previously unselected package python3.13-minimal.
Preparing to unpack .../02-python3.13-minimal_3.13.0-2_amd64.deb ...
Unpacking python3.13-minimal (3.13.0-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../03-m4_1.4.19-4_amd64.deb ...
Unpacking m4 (1.4.19-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../04-autoconf_2.72-3_all.deb ...
Unpacking autoconf (2.72-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../05-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../06-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../07-autopoint_0.22.5-2_all.deb ...
Unpacking autopoint (0.22.5-2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../08-libc-dev-bin_2.40-3_amd64.deb ...
Unpacking libc-dev-bin (2.40-3) ...
Selecting previously unselected package linux-libc-dev.
Preparing to unpack .../09-linux-libc-dev_6.11.7-1_all.deb ...
Unpacking linux-libc-dev (6.11.7-1) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../10-libcrypt-dev_1%3a4.4.36-5_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.36-5) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../11-rpcsvc-proto_1.4.3-1_amd64.deb ...
Unpacking rpcsvc-proto (1.4.3-1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../12-libc6-dev_2.40-3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.40-3) ...
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../13-libisl23_0.27-1_amd64.deb ...
Unpacking libisl23:amd64 (0.27-1) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../14-libmpfr6_4.2.1-1+b2_amd64.deb ...
Unpacking libmpfr6:amd64 (4.2.1-1+b2) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../15-libmpc3_1.3.1-1+b3_amd64.deb ...
Unpacking libmpc3:amd64 (1.3.1-1+b3) ...
Selecting previously unselected package cpp-14-x86-64-linux-gnu.
Preparing to unpack .../16-cpp-14-x86-64-linux-gnu_14.2.0-8_amd64.deb ...
Unpacking cpp-14-x86-64-linux-gnu (14.2.0-8) ...
Selecting previously unselected package cpp-14.
Preparing to unpack .../17-cpp-14_14.2.0-8_amd64.deb ...
Unpacking cpp-14 (14.2.0-8) ...
Selecting previously unselected package cpp-x86-64-linux-gnu.
Preparing to unpack .../18-cpp-x86-64-linux-gnu_4%3a14.2.0-1_amd64.deb ...
Unpacking cpp-x86-64-linux-gnu (4:14.2.0-1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../19-cpp_4%3a14.2.0-1_amd64.deb ...
Unpacking cpp (4:14.2.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../20-libcc1-0_14.2.0-8_amd64.deb ...
Unpacking libcc1-0:amd64 (14.2.0-8) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../21-libitm1_14.2.0-8_amd64.deb ...
Unpacking libitm1:amd64 (14.2.0-8) ...
Selecting previously unselected package libasan8:amd64.
Preparing to unpack .../22-libasan8_14.2.0-8_amd64.deb ...
Unpacking libasan8:amd64 (14.2.0-8) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../23-liblsan0_14.2.0-8_amd64.deb ...
Unpacking liblsan0:amd64 (14.2.0-8) ...
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack .../24-libtsan2_14.2.0-8_amd64.deb ...
Unpacking libtsan2:amd64 (14.2.0-8) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../25-libubsan1_14.2.0-8_amd64.deb ...
Unpacking libubsan1:amd64 (14.2.0-8) ...
Selecting previously unselected package libhwasan0:amd64.
Preparing to unpack .../26-libhwasan0_14.2.0-8_amd64.deb ...
Unpacking libhwasan0:amd64 (14.2.0-8) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../27-libquadmath0_14.2.0-8_amd64.deb ...
Unpacking libquadmath0:amd64 (14.2.0-8) ...
Selecting previously unselected package libgcc-14-dev:amd64.
Preparing to unpack .../28-libgcc-14-dev_14.2.0-8_amd64.deb ...
Unpacking libgcc-14-dev:amd64 (14.2.0-8) ...
Selecting previously unselected package gcc-14-x86-64-linux-gnu.
Preparing to unpack .../29-gcc-14-x86-64-linux-gnu_14.2.0-8_amd64.deb ...
Unpacking gcc-14-x86-64-linux-gnu (14.2.0-8) ...
Selecting previously unselected package gcc-14.
Preparing to unpack .../30-gcc-14_14.2.0-8_amd64.deb ...
Unpacking gcc-14 (14.2.0-8) ...
Selecting previously unselected package gcc-x86-64-linux-gnu.
Preparing to unpack .../31-gcc-x86-64-linux-gnu_4%3a14.2.0-1_amd64.deb ...
Unpacking gcc-x86-64-linux-gnu (4:14.2.0-1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../32-gcc_4%3a14.2.0-1_amd64.deb ...
Unpacking gcc (4:14.2.0-1) ...
Selecting previously unselected package libstdc++-14-dev:amd64.
Preparing to unpack .../33-libstdc++-14-dev_14.2.0-8_amd64.deb ...
Unpacking libstdc++-14-dev:amd64 (14.2.0-8) ...
Selecting previously unselected package g++-14-x86-64-linux-gnu.
Preparing to unpack .../34-g++-14-x86-64-linux-gnu_14.2.0-8_amd64.deb ...
Unpacking g++-14-x86-64-linux-gnu (14.2.0-8) ...
Selecting previously unselected package g++-14.
Preparing to unpack .../35-g++-14_14.2.0-8_amd64.deb ...
Unpacking g++-14 (14.2.0-8) ...
Selecting previously unselected package g++-x86-64-linux-gnu.
Preparing to unpack .../36-g++-x86-64-linux-gnu_4%3a14.2.0-1_amd64.deb ...
Unpacking g++-x86-64-linux-gnu (4:14.2.0-1) ...
Selecting previously unselected package g++.
Preparing to unpack .../37-g++_4%3a14.2.0-1_amd64.deb ...
Unpacking g++ (4:14.2.0-1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../38-build-essential_12.12_amd64.deb ...
Unpacking build-essential (12.12) ...
Selecting previously unselected package cython3.
Preparing to unpack .../39-cython3_3.0.11+dfsg-1+b1_amd64.deb ...
Unpacking cython3 (3.0.11+dfsg-1+b1) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../40-libdebhelper-perl_13.20_all.deb ...
Unpacking libdebhelper-perl (13.20) ...
Selecting previously unselected package libtool.
Preparing to unpack .../41-libtool_2.4.7-8_all.deb ...
Unpacking libtool (2.4.7-8) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../42-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../43-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../44-dh-strip-nondeterminism_1.14.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.14.0-1) ...
Selecting previously unselected package libelf1t64:amd64.
Preparing to unpack .../45-libelf1t64_0.192-4_amd64.deb ...
Unpacking libelf1t64:amd64 (0.192-4) ...
Selecting previously unselected package dwz.
Preparing to unpack .../46-dwz_0.15-1+b1_amd64.deb ...
Unpacking dwz (0.15-1+b1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../47-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../48-debhelper_13.20_all.deb ...
Unpacking debhelper (13.20) ...
Selecting previously unselected package python3-autocommand.
Preparing to unpack .../49-python3-autocommand_2.2.2-3_all.deb ...
Unpacking python3-autocommand (2.2.2-3) ...
Selecting previously unselected package python3-more-itertools.
Preparing to unpack .../50-python3-more-itertools_10.5.0-1_all.deb ...
Unpacking python3-more-itertools (10.5.0-1) ...
Selecting previously unselected package python3-typing-extensions.
Preparing to unpack .../51-python3-typing-extensions_4.12.2-2_all.deb ...
Unpacking python3-typing-extensions (4.12.2-2) ...
Selecting previously unselected package python3-typeguard.
Preparing to unpack .../52-python3-typeguard_4.4.1-1_all.deb ...
Unpacking python3-typeguard (4.4.1-1) ...
Selecting previously unselected package python3-inflect.
Preparing to unpack .../53-python3-inflect_7.3.1-2_all.deb ...
Unpacking python3-inflect (7.3.1-2) ...
Selecting previously unselected package python3-jaraco.context.
Preparing to unpack .../54-python3-jaraco.context_6.0.0-1_all.deb ...
Unpacking python3-jaraco.context (6.0.0-1) ...
Selecting previously unselected package python3-jaraco.functools.
Preparing to unpack .../55-python3-jaraco.functools_4.1.0-1_all.deb ...
Unpacking python3-jaraco.functools (4.1.0-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../56-python3-pkg-resources_75.2.0-1_all.deb ...
Unpacking python3-pkg-resources (75.2.0-1) ...
Selecting previously unselected package python3-jaraco.text.
Preparing to unpack .../57-python3-jaraco.text_4.0.0-1_all.deb ...
Unpacking python3-jaraco.text (4.0.0-1) ...
Selecting previously unselected package python3-zipp.
Preparing to unpack .../58-python3-zipp_3.21.0-1_all.deb ...
Unpacking python3-zipp (3.21.0-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../59-python3-setuptools_75.2.0-1_all.deb ...
Unpacking python3-setuptools (75.2.0-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../60-dh-python_6.20241024_all.deb ...
Unpacking dh-python (6.20241024) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../61-libfakeroot_1.36-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.36-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../62-fakeroot_1.36-1_amd64.deb ...
Unpacking fakeroot (1.36-1) ...
Selecting previously unselected package libblas3:amd64.
Preparing to unpack .../63-libblas3_3.12.0-3+b1_amd64.deb ...
Unpacking libblas3:amd64 (3.12.0-3+b1) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../64-libexpat1-dev_2.6.4-1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.6.4-1) ...
Selecting previously unselected package libgfortran5:amd64.
Preparing to unpack .../65-libgfortran5_14.2.0-8_amd64.deb ...
Unpacking libgfortran5:amd64 (14.2.0-8) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../66-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../67-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../68-libjs-sphinxdoc_7.4.7-4_all.deb ...
Unpacking libjs-sphinxdoc (7.4.7-4) ...
Selecting previously unselected package liblapack3:amd64.
Preparing to unpack .../69-liblapack3_3.12.0-3+b1_amd64.deb ...
Unpacking liblapack3:amd64 (3.12.0-3+b1) ...
Selecting previously unselected package libpython3.12t64:amd64.
Preparing to unpack .../70-libpython3.12t64_3.12.7-3_amd64.deb ...
Unpacking libpython3.12t64:amd64 (3.12.7-3) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../71-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
Selecting previously unselected package libpython3.12-dev:amd64.
Preparing to unpack .../72-libpython3.12-dev_3.12.7-3_amd64.deb ...
Unpacking libpython3.12-dev:amd64 (3.12.7-3) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../73-libpython3-dev_3.12.7-1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.12.7-1) ...
Selecting previously unselected package libpython3.13-stdlib:amd64.
Preparing to unpack .../74-libpython3.13-stdlib_3.13.0-2_amd64.deb ...
Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ...
Selecting previously unselected package libpython3.13:amd64.
Preparing to unpack .../75-libpython3.13_3.13.0-2_amd64.deb ...
Unpacking libpython3.13:amd64 (3.13.0-2) ...
Selecting previously unselected package libpython3.13-dev:amd64.
Preparing to unpack .../76-libpython3.13-dev_3.13.0-2_amd64.deb ...
Unpacking libpython3.13-dev:amd64 (3.13.0-2) ...
Selecting previously unselected package libpython3-all-dev:amd64.
Preparing to unpack .../77-libpython3-all-dev_3.12.7-1_amd64.deb ...
Unpacking libpython3-all-dev:amd64 (3.12.7-1) ...
Selecting previously unselected package python3.13.
Preparing to unpack .../78-python3.13_3.13.0-2_amd64.deb ...
Unpacking python3.13 (3.13.0-2) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../79-python3-all_3.12.7-1_amd64.deb ...
Unpacking python3-all (3.12.7-1) ...
Selecting previously unselected package python3.12-dev.
Preparing to unpack .../80-python3.12-dev_3.12.7-3_amd64.deb ...
Unpacking python3.12-dev (3.12.7-3) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../81-python3-dev_3.12.7-1_amd64.deb ...
Unpacking python3-dev (3.12.7-1) ...
Selecting previously unselected package python3.13-dev.
Preparing to unpack .../82-python3.13-dev_3.13.0-2_amd64.deb ...
Unpacking python3.13-dev (3.13.0-2) ...
Selecting previously unselected package python3-all-dev.
Preparing to unpack .../83-python3-all-dev_3.12.7-1_amd64.deb ...
Unpacking python3-all-dev (3.12.7-1) ...
Selecting previously unselected package python3-dateutil.
Preparing to unpack .../84-python3-dateutil_2.9.0-3_all.deb ...
Unpacking python3-dateutil (2.9.0-3) ...
Selecting previously unselected package python3-numpy.
Preparing to unpack .../85-python3-numpy_1%3a1.26.4+ds-12_amd64.deb ...
Unpacking python3-numpy (1:1.26.4+ds-12) ...
Selecting previously unselected package python3-tz.
Preparing to unpack .../86-python3-tz_2024.1-2_all.deb ...
Unpacking python3-tz (2024.1-2) ...
Selecting previously unselected package python3-pandas-lib:amd64.
Preparing to unpack .../87-python3-pandas-lib_2.2.3+dfsg-5+b1_amd64.deb ...
Unpacking python3-pandas-lib:amd64 (2.2.3+dfsg-5+b1) ...
Selecting previously unselected package python3-pandas.
Preparing to unpack .../88-python3-pandas_2.2.3+dfsg-5_all.deb ...
Unpacking python3-pandas (2.2.3+dfsg-5) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack .../89-sbuild-build-depends-main-dummy_0.invalid.0_amd64.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up media-types (10.1.0) ...
Setting up libfile-stripnondeterminism-perl (1.14.0-1) ...
Setting up libtirpc-common (1.3.4+ds-1.3) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up libdebhelper-perl (13.20) ...
Setting up linux-libc-dev (6.11.7-1) ...
Setting up m4 (1.4.19-4) ...
Setting up libfakeroot:amd64 (1.36-1) ...
Setting up libelf1t64:amd64 (0.192-4) ...
Setting up fakeroot (1.36-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libpython3.13-minimal:amd64 (3.13.0-2) ...
Setting up autotools-dev (20220109.1) ...
Setting up libblas3:amd64 (3.12.0-3+b1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode
Setting up rpcsvc-proto (1.4.3-1) ...
Setting up libmpfr6:amd64 (4.2.1-1+b2) ...
Setting up libquadmath0:amd64 (14.2.0-8) ...
Setting up libmpc3:amd64 (1.3.1-1+b3) ...
Setting up autopoint (0.22.5-2) ...
Setting up libncursesw6:amd64 (6.5-2+b1) ...
Setting up libgfortran5:amd64 (14.2.0-8) ...
Setting up autoconf (2.72-3) ...
Setting up libubsan1:amd64 (14.2.0-8) ...
Setting up dh-strip-nondeterminism (1.14.0-1) ...
Setting up dwz (0.15-1+b1) ...
Setting up libhwasan0:amd64 (14.2.0-8) ...
Setting up libcrypt-dev:amd64 (1:4.4.36-5) ...
Setting up libasan8:amd64 (14.2.0-8) ...
Setting up python3.13-minimal (3.13.0-2) ...
Setting up libtsan2:amd64 (14.2.0-8) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up libisl23:amd64 (0.27-1) ...
Setting up libc-dev-bin (2.40-3) ...
Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ...
Setting up libcc1-0:amd64 (14.2.0-8) ...
Setting up liblsan0:amd64 (14.2.0-8) ...
Setting up libitm1:amd64 (14.2.0-8) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up libpython3.13:amd64 (3.13.0-2) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up liblapack3:amd64 (3.12.0-3+b1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode
Setting up libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ...
Setting up python3.13 (3.13.0-2) ...
Setting up cpp-14-x86-64-linux-gnu (14.2.0-8) ...
Setting up libjs-sphinxdoc (7.4.7-4) ...
Setting up cpp-14 (14.2.0-8) ...
Setting up libnsl2:amd64 (1.3.0-3+b3) ...
Setting up libc6-dev:amd64 (2.40-3) ...
Setting up libgcc-14-dev:amd64 (14.2.0-8) ...
Setting up libstdc++-14-dev:amd64 (14.2.0-8) ...
Setting up cpp-x86-64-linux-gnu (4:14.2.0-1) ...
Setting up libpython3.12-stdlib:amd64 (3.12.7-3) ...
Setting up python3.12 (3.12.7-3) ...
Setting up libpython3.12t64:amd64 (3.12.7-3) ...
Setting up libexpat1-dev:amd64 (2.6.4-1) ...
Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
Setting up cpp (4:14.2.0-1) ...
Setting up gcc-14-x86-64-linux-gnu (14.2.0-8) ...
Setting up libpython3-stdlib:amd64 (3.12.7-1) ...
Setting up gcc-x86-64-linux-gnu (4:14.2.0-1) ...
Setting up python3 (3.12.7-1) ...
Setting up libpython3.12-dev:amd64 (3.12.7-3) ...
Setting up python3-zipp (3.21.0-1) ...
Setting up python3-autocommand (2.2.2-3) ...
Setting up python3-tz (2024.1-2) ...
Setting up gcc-14 (14.2.0-8) ...
Setting up libpython3.13-dev:amd64 (3.13.0-2) ...
Setting up python3.12-dev (3.12.7-3) ...
Setting up cython3 (3.0.11+dfsg-1+b1) ...
Setting up python3-typing-extensions (4.12.2-2) ...
Setting up g++-14-x86-64-linux-gnu (14.2.0-8) ...
Setting up g++-x86-64-linux-gnu (4:14.2.0-1) ...
Setting up python3-dateutil (2.9.0-3) ...
Setting up g++-14 (14.2.0-8) ...
Setting up python3-more-itertools (10.5.0-1) ...
Setting up libpython3-dev:amd64 (3.12.7-1) ...
Setting up python3-jaraco.functools (4.1.0-1) ...
Setting up python3-jaraco.context (6.0.0-1) ...
Setting up libtool (2.4.7-8) ...
Setting up python3.13-dev (3.13.0-2) ...
Setting up python3-typeguard (4.4.1-1) ...
Setting up python3-all (3.12.7-1) ...
Setting up gcc (4:14.2.0-1) ...
Setting up dh-autoreconf (20) ...
Setting up python3-inflect (7.3.1-2) ...
Setting up libpython3-all-dev:amd64 (3.12.7-1) ...
Setting up python3-jaraco.text (4.0.0-1) ...
Setting up python3-dev (3.12.7-1) ...
Setting up g++ (4:14.2.0-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.12) ...
Setting up python3-pkg-resources (75.2.0-1) ...
Setting up python3-all-dev (3.12.7-1) ...
Setting up python3-setuptools (75.2.0-1) ...
Setting up debhelper (13.20) ...
Setting up python3-numpy (1:1.26.4+ds-12) ...
Setting up dh-python (6.20241024) ...
Setting up python3-pandas-lib:amd64 (2.2.3+dfsg-5+b1) ...
Setting up python3-pandas (2.2.3+dfsg-5) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for libc-bin (2.40-3) ...
+------------------------------------------------------------------------------+
| Check architectures |
+------------------------------------------------------------------------------+
W: Extra package /tmp/debusine-fetch-exec-upload-k5ptcnou/dpkg-dbgsym_1.22.12~1.gbp82cafd_arm64.deb of architecture arm64 cannot be installed in the chroot
W: Extra package /tmp/debusine-fetch-exec-upload-k5ptcnou/dpkg_1.22.12~1.gbp82cafd_arm64.deb of architecture arm64 cannot be installed in the chroot
W: Extra package /tmp/debusine-fetch-exec-upload-k5ptcnou/dselect-dbgsym_1.22.12~1.gbp82cafd_arm64.deb of architecture arm64 cannot be installed in the chroot
W: Extra package /tmp/debusine-fetch-exec-upload-k5ptcnou/dselect_1.22.12~1.gbp82cafd_arm64.deb of architecture arm64 cannot be installed in the chroot
W: Extra package /tmp/debusine-fetch-exec-upload-k5ptcnou/libdpkg-dev_1.22.12~1.gbp82cafd_arm64.deb of architecture arm64 cannot be installed in the chroot
Arch check ok (amd64 included in any)
+------------------------------------------------------------------------------+
| Build environment |
+------------------------------------------------------------------------------+
Kernel: Linux 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) amd64 (x86_64)
Toolchain package versions: binutils_2.43.1-5 dpkg-dev_1.22.12~1.gbp82cafd g++-14_14.2.0-8 gcc-14_14.2.0-8 libc6-dev_2.40-3 libstdc++-14-dev_14.2.0-8 libstdc++6_14.2.0-8 linux-libc-dev_6.11.7-1
Package versions: appstream_1.0.3-1+b1 apt_2.9.11 autoconf_2.72-3 automake_1:1.16.5-1.3 autopoint_0.22.5-2 autotools-dev_20220109.1 base-files_13.5 base-passwd_3.6.5 bash_5.2.32-1+b2 binutils_2.43.1-5 binutils-common_2.43.1-5 binutils-x86-64-linux-gnu_2.43.1-5 bsdextrautils_2.40.2-11 bsdutils_1:2.40.2-11 build-essential_12.12 bzip2_1.0.8-6 ca-certificates_20240203 coreutils_9.5-1+b1 cpp_4:14.2.0-1 cpp-14_14.2.0-8 cpp-14-x86-64-linux-gnu_14.2.0-8 cpp-x86-64-linux-gnu_4:14.2.0-1 cython3_3.0.11+dfsg-1+b1 dash_0.5.12-9 debconf_1.5.87 debhelper_13.20 debian-archive-keyring_2023.4 debianutils_5.20 dh-autoreconf_20 dh-python_6.20241024 dh-strip-nondeterminism_1.14.0-1 diffstat_1.66-1 diffutils_1:3.10-1 dpkg_1.22.11 dpkg-dev_1.22.12~1.gbp82cafd dwz_0.15-1+b1 e2fsprogs_1.47.1-1+b1 fakeroot_1.36-1 file_1:5.45-3+b1 findutils_4.10.0-3 g++_4:14.2.0-1 g++-14_14.2.0-8 g++-14-x86-64-linux-gnu_14.2.0-8 g++-x86-64-linux-gnu_4:14.2.0-1 gcc_4:14.2.0-1 gcc-14_14.2.0-8 gcc-14-base_14.2.0-8 gcc-14-x86-64-linux-gnu_14.2.0-8 gcc-x86-64-linux-gnu_4:14.2.0-1 gettext_0.22.5-2 gettext-base_0.22.5-2 gpg_2.2.45-2 gpgconf_2.2.45-2 gpgv_2.2.45-2 grep_3.11-4 groff-base_1.23.0-5 gzip_1.12-1.1 hostname_3.25 init-system-helpers_1.67 intltool-debian_0.35.0+20060710.6 iso-codes_4.17.0-1 libacl1_2.3.2-2+b1 libaliased-perl_0.34-3 libappstream5_1.0.3-1+b1 libapt-pkg-perl_0.1.40+b6 libapt-pkg6.0t64_2.9.11 libarchive-zip-perl_1.68-1 libasan8_14.2.0-8 libassuan9_3.0.1-2 libatomic1_14.2.0-8 libattr1_1:2.5.2-2 libaudit-common_1:4.0.2-2 libaudit1_1:4.0.2-2 libb-hooks-endofscope-perl_0.28-1 libb-hooks-op-check-perl_0.22-3+b2 libberkeleydb-perl_0.66-1 libbinutils_2.43.1-5 libblas3_3.12.0-3+b1 libblkid1_2.40.2-11 libbrotli1_1.1.0-2+b6 libbsd0_0.12.2-2 libbz2-1.0_1.0.8-6 libc-bin_2.40-3 libc-dev-bin_2.40-3 libc6_2.40-3 libc6-dev_2.40-3 libcap-ng0_0.8.5-3+b1 libcap2_1:2.66-5+b1 libcapture-tiny-perl_0.48-2 libcc1-0_14.2.0-8 libcgi-pm-perl_4.66-1 libclass-data-inheritable-perl_0.10-1 libclass-inspector-perl_1.36-3 libclass-method-modifiers-perl_2.15-1 libclass-xsaccessor-perl_1.19-4+b4 libclone-perl_0.47-1+b1 libcom-err2_1.47.1-1+b1 libconfig-tiny-perl_2.30-1 libconst-fast-perl_0.014-2 libcpanel-json-xs-perl_4.38-1+b1 libcrypt-dev_1:4.4.36-5 libcrypt1_1:4.4.36-5 libctf-nobfd0_2.43.1-5 libctf0_2.43.1-5 libcurl3t64-gnutls_8.11.0-1 libdata-dpath-perl_0.60-1 libdata-messagepack-perl_1.02-1+b4 libdata-optlist-perl_0.114-1 libdata-validate-domain-perl_0.15-1 libdata-validate-ip-perl_0.31-1 libdata-validate-uri-perl_0.07-3 libdb5.3t64_5.3.28+dfsg2-9 libdebconfclient0_0.273 libdebhelper-perl_13.20 libdevel-callchecker-perl_0.009-1+b1 libdevel-size-perl_0.84-1+b1 libdevel-stacktrace-perl_2.0500-1 libdpkg-perl_1.22.12~1.gbp82cafd libdynaloader-functions-perl_0.004-1 libelf1t64_0.192-4 libemail-address-xs-perl_1.05-1+b4 libencode-locale-perl_1.05-3 libexception-class-perl_1.45-1 libexpat1_2.6.4-1 libexpat1-dev_2.6.4-1 libext2fs2t64_1.47.1-1+b1 libfakeroot_1.36-1 libffi8_3.4.6-1 libfile-basedir-perl_0.09-2 libfile-find-rule-perl_0.34-3 libfile-listing-perl_6.16-1 libfile-sharedir-perl_1.118-3 libfile-stripnondeterminism-perl_1.14.0-1 libfont-ttf-perl_1.06-2 libgcc-14-dev_14.2.0-8 libgcc-s1_14.2.0-8 libgcrypt20_1.11.0-6 libgdbm-compat4t64_1.24-2 libgdbm6t64_1.24-2 libgfortran5_14.2.0-8 libglib2.0-0t64_2.82.2-3 libgmp10_2:6.3.0+dfsg-2+b2 libgnutls30t64_3.8.8-2 libgomp1_14.2.0-8 libgpg-error0_1.50-4 libgprofng0_2.43.1-5 libgssapi-krb5-2_1.21.3-3 libhogweed6t64_3.10-1+b1 libhtml-form-perl_6.12-1 libhtml-html5-entities-perl_0.004-3 libhtml-parser-perl_3.83-1+b1 libhtml-tagset-perl_3.24-1 libhtml-tokeparser-simple-perl_3.16-4 libhtml-tree-perl_5.07-3 libhttp-cookies-perl_6.11-1 libhttp-date-perl_6.06-1 libhttp-message-perl_7.00-2 libhttp-negotiate-perl_6.01-2 libhwasan0_14.2.0-8 libicu72_72.1-5+b1 libidn2-0_2.3.7-2+b1 libimport-into-perl_1.002005-2 libio-html-perl_1.004-3 libio-interactive-perl_1.025-1 libio-socket-ssl-perl_2.089-1 libio-string-perl_1.08-4 libipc-run3-perl_0.049-1 libipc-system-simple-perl_1.30-2 libisl23_0.27-1 libiterator-perl_0.03+ds1-2 libiterator-util-perl_0.02+ds1-2 libitm1_14.2.0-8 libjansson4_2.14-2+b3 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-sphinxdoc_7.4.7-4 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libjson-maybexs-perl_1.004008-1 libk5crypto3_1.21.3-3 libkeyutils1_1.6.3-4 libkrb5-3_1.21.3-3 libkrb5support0_1.21.3-3 liblapack3_3.12.0-3+b1 libldap-2.5-0_2.5.18+dfsg-3+b1 liblist-compare-perl_0.55-2 liblist-someutils-perl_0.59-1 liblist-utilsby-perl_0.12-2 liblsan0_14.2.0-8 liblwp-mediatypes-perl_6.04-2 liblwp-protocol-https-perl_6.14-1 liblz1_1.15~pre2-1 liblz4-1_1.9.4-3+b1 liblzma5_5.6.3-1+b1 liblzo2-2_2.10-3+b1 libmagic-mgc_1:5.45-3+b1 libmagic1t64_1:5.45-3+b1 libmarkdown2_2.2.7-2+b1 libmd0_1.1.0-2+b1 libmldbm-perl_2.05-4 libmodule-implementation-perl_0.09-2 libmodule-runtime-perl_0.016-2 libmoo-perl_2.005005-1 libmoox-aliases-perl_0.001006-2 libmount1_2.40.2-11 libmouse-perl_2.5.11-1+b1 libmpc3_1.3.1-1+b3 libmpfr6_4.2.1-1+b2 libnamespace-clean-perl_0.27-2 libncursesw6_6.5-2+b1 libnet-domain-tld-perl_1.75-4 libnet-http-perl_6.23-1 libnet-ipv6addr-perl_1.02-1 libnet-netmask-perl_2.0002-2 libnet-ssleay-perl_1.94-2 libnetaddr-ip-perl_4.079+dfsg-2+b4 libnettle8t64_3.10-1+b1 libnghttp2-14_1.64.0-1 libnghttp3-9_1.4.0-1+b1 libngtcp2-16_1.6.0-1 libngtcp2-crypto-gnutls8_1.6.0-1 libnsl2_1.3.0-3+b3 libnumber-compare-perl_0.03-3 libp11-kit0_0.25.5-2+b1 libpackage-stash-perl_0.40-1 libpam-modules_1.5.3-7+b1 libpam-modules-bin_1.5.3-7+b1 libpam-runtime_1.5.3-7 libpam0g_1.5.3-7+b1 libparams-classify-perl_0.015-2+b4 libparams-util-perl_1.102-3+b1 libpath-tiny-perl_0.146-1 libpcre2-8-0_10.44-2 libperl5.40_5.40.0-7 libperlio-gzip-perl_0.20-1+b4 libperlio-utf8-strict-perl_0.010-1+b3 libpipeline1_1.5.8-1 libproc-processtable-perl_0.636-1+b3 libpsl5t64_0.21.2-1.1+b1 libpython3-all-dev_3.12.7-1 libpython3-dev_3.12.7-1 libpython3-stdlib_3.12.7-1 libpython3.12-dev_3.12.7-3 libpython3.12-minimal_3.12.7-3 libpython3.12-stdlib_3.12.7-3 libpython3.12t64_3.12.7-3 libpython3.13_3.13.0-2 libpython3.13-dev_3.13.0-2 libpython3.13-minimal_3.13.0-2 libpython3.13-stdlib_3.13.0-2 libquadmath0_14.2.0-8 libreadline8t64_8.2-5 libregexp-wildcards-perl_1.05-3 librole-tiny-perl_2.002004-1 librtmp1_2.4+20151223.gitfa8646d.1-2+b5 libsasl2-2_2.1.28+dfsg1-8 libsasl2-modules-db_2.1.28+dfsg1-8 libseccomp2_2.5.5-1+b3 libselinux1_3.7-3+b1 libsemanage-common_3.7-2 libsemanage2_3.7-2+b1 libsepol2_3.7-1 libsereal-decoder-perl_5.004+ds-1+b3 libsereal-encoder-perl_5.004+ds-1+b3 libsframe1_2.43.1-5 libsmartcols1_2.40.2-11 libsort-versions-perl_1.62-3 libsqlite3-0_3.46.1-1 libss2_1.47.1-1+b1 libssh2-1t64_1.11.1-1 libssl3t64_3.3.2-2 libstdc++-14-dev_14.2.0-8 libstdc++6_14.2.0-8 libstemmer0d_2.2.0-4+b2 libstrictures-perl_2.000006-1 libsub-exporter-perl_0.990-1 libsub-exporter-progressive-perl_0.001013-3 libsub-identify-perl_0.14-3+b3 libsub-install-perl_0.929-1 libsub-name-perl_0.27-1+b3 libsub-quote-perl_2.006008-1 libsyntax-keyword-try-perl_0.30-1+b1 libsystemd0_257~rc1-4 libtasn1-6_4.19.0-3+b3 libterm-readkey-perl_2.38-2+b4 libtext-glob-perl_0.11-3 libtext-levenshteinxs-perl_0.03-5+b4 libtext-markdown-discount-perl_0.16-1+b3 libtext-xslate-perl_3.5.9-2+b1 libtime-duration-perl_1.21-2 libtime-moment-perl_0.44-2+b4 libtimedate-perl_2.3300-2 libtinfo6_6.5-2+b1 libtirpc-common_1.3.4+ds-1.3 libtirpc3t64_1.3.4+ds-1.3+b1 libtool_2.4.7-8 libtry-tiny-perl_0.32-1 libtsan2_14.2.0-8 libubsan1_14.2.0-8 libuchardet0_0.0.8-1+b2 libudev1_257~rc1-4 libunicode-utf8-perl_0.62-2+b3 libunistring5_1.2-1+b1 liburi-perl_5.30-1 libuuid1_2.40.2-11 libvariable-magic-perl_0.64-1+b1 libwww-mechanize-perl_2.19-1 libwww-perl_6.77-1 libwww-robotrules-perl_6.02-1 libxml-libxml-perl_2.0207+dfsg+really+2.0134-5+b1 libxml-namespacesupport-perl_1.12-2 libxml-sax-base-perl_1.09-3 libxml-sax-perl_1.02+dfsg-3 libxml2_2.12.7+dfsg+really2.9.14-0.2+b1 libxmlb2_0.3.21-1 libxs-parse-keyword-perl_0.46-1+b1 libxxhash0_0.8.2-2+b2 libyaml-0-2_0.2.5-1+b2 libyaml-libyaml-perl_0.902.0+ds-2+b1 libzstd1_1.5.6+dfsg-1+b1 lintian_2.120.0 linux-libc-dev_6.11.7-1 login_1:4.16.0-2+really2.40.2-11 login.defs_1:4.16.0-4 logsave_1.47.1-1+b1 lzop_1.04-2 m4_1.4.19-4 make_4.3-4.1 man-db_2.13.0-1 mawk_1.3.4.20240905-1 media-types_10.1.0 mount_2.40.2-11 ncurses-base_6.5-2 ncurses-bin_6.5-2+b1 netbase_6.4 openssl_3.3.2-2 openssl-provider-legacy_3.3.2-2 passwd_1:4.16.0-4 patch_2.7.6-7 patchutils_0.4.2-1 perl_5.40.0-7 perl-base_5.40.0-7 perl-modules-5.40_5.40.0-7 perl-openssl-defaults_7+b2 plzip_1.11-2 po-debconf_1.0.21+nmu1 python3_3.12.7-1 python3-all_3.12.7-1 python3-all-dev_3.12.7-1 python3-autocommand_2.2.2-3 python3-dateutil_2.9.0-3 python3-dev_3.12.7-1 python3-inflect_7.3.1-2 python3-jaraco.context_6.0.0-1 python3-jaraco.functools_4.1.0-1 python3-jaraco.text_4.0.0-1 python3-minimal_3.12.7-1 python3-more-itertools_10.5.0-1 python3-numpy_1:1.26.4+ds-12 python3-pandas_2.2.3+dfsg-5 python3-pandas-lib_2.2.3+dfsg-5+b1 python3-pkg-resources_75.2.0-1 python3-setuptools_75.2.0-1 python3-typeguard_4.4.1-1 python3-typing-extensions_4.12.2-2 python3-tz_2024.1-2 python3-zipp_3.21.0-1 python3.12_3.12.7-3 python3.12-dev_3.12.7-3 python3.12-minimal_3.12.7-3 python3.13_3.13.0-2 python3.13-dev_3.13.0-2 python3.13-minimal_3.13.0-2 readline-common_8.2-5 rpcsvc-proto_1.4.3-1 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-2 sensible-utils_0.0.24 shared-mime-info_2.4-5+b1 sysvinit-utils_3.11-1 t1utils_1.41-4 tar_1.35+dfsg-3 tzdata_2024b-3 ucf_3.0043+nmu1 unzip_6.0-28 util-linux_2.40.2-11 xz-utils_5.6.3-1+b1 zlib1g_1:1.3.dfsg+really1.3.1-1+b1 zlib1g-dev_1:1.3.dfsg+really1.3.1-1+b1
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 3.0 (quilt)
Source: pyreadstat
Binary: python3-pyreadstat
Architecture: any
Version: 1.2.7-1
Maintainer: Joost van Baal-Ilić <joostvb@debian.org>
Uploaders: Debian Python Team <team+python@tracker.debian.org>
Homepage: https://github.com/Roche/pyreadstat
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/python-team/packages/pyreadstat
Vcs-Git: https://salsa.debian.org/python-team/packages/pyreadstat.git
Build-Depends: debhelper-compat (= 13), dh-sequence-python3, python3-all, python3-all-dev, python3-setuptools, cython3 (>= 3.0.2), python3-pandas, zlib1g-dev
Package-List:
python3-pyreadstat deb python optional arch=any
Checksums-Sha1:
10e0d0f8dd0e31f9ee11ef13ddc065ad31b7c03e 552068 pyreadstat_1.2.7.orig.tar.gz
e6d8ea13a9d41c19a5936f66847e671ecb0b5ac1 3084 pyreadstat_1.2.7-1.debian.tar.xz
Checksums-Sha256:
bc2142be4773a9e7ff844068d0b48c413f9f46ba9511408bcd5dbec9b20aab6d 552068 pyreadstat_1.2.7.orig.tar.gz
e3bf0439c52b1bff696b265ce70b40ce66783304bae4daa8e90f4b40f69e1c12 3084 pyreadstat_1.2.7-1.debian.tar.xz
Files:
6d534a479b7c7cd79ea88667e6688b4d 552068 pyreadstat_1.2.7.orig.tar.gz
0b139aa0b0cf39398d444edc60ab5768 3084 pyreadstat_1.2.7-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmaal1AACgkQwpPntGGC
Ws5IYw/+P3QuWGIyTCUVmhBr7LHNliExXLWaTbi8qtsaJojN5O5XAsBeI+yZj3rN
q4FWhAlEEWaGjQQtfDJktZpLXkjMhI12D7VaNGWD99t6B0csaCVgHyYMGYaLDSMD
q02ifQFr1e3hFDVzOpgWhZGcSr1N6I4VyVN5Wof9qj6uci9aHYA6qGgx0DNucIYN
UxMJ/QxWGfPKM2IugRRmUPfyTzyvEzwtPrZ0VR4VZAsny1NO7jSuo2J4rmhW35EK
SkBOOG3TnX4uZLcmTgcJzRUCHqObZUopM07nI2YzYA6+gUf6/b/J5AMq48K4NRz+
HsX8flm+QO4z8LXgrGS91lIhwBuoYYSQ5DEYYXnl962g7r7VLEcIvUeLLzY1bkrO
9YrTaNAqb0VHzOhbjHsnTVljiNDeG1Mga8fNn02gqbTKKhlU8UTPmVTjhkCi8A/W
6MFI3tv0gaCIuEyfEM9S2MLStUaPNLwIMyffkvN46W+AcNrFMOtcwnOos5cFfHPH
OgMT6HEtbGRcoB1CRdrDz8mcOI9M0EIh3MrOZ0W20CanXmQyX6qHu3rKLzWuBh7K
GitP0LcBaqEXa5SZAyH/wZZVl+VSB/XRI7uMxI9TbE8VldXvicXxbnBjQnM2mwUa
nS2CZdm1biQGJQ9HYfUQ7/e7jEbIau03E0SzF3m0EeqFu/oHcZw=
=b4M4
-----END PGP SIGNATURE-----
gpgv: Signature made Fri Jul 19 16:41:52 2024 UTC
gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./pyreadstat_1.2.7-1.dsc: no acceptable signature found
dpkg-source: info: extracting pyreadstat in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking pyreadstat_1.2.7.orig.tar.gz
dpkg-source: info: unpacking pyreadstat_1.2.7-1.debian.tar.xz
Check disk space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_US.UTF-8
LC_ALL=C.UTF-8
LOGNAME=debusine-worker
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=debusine-worker
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package pyreadstat
dpkg-buildpackage: info: source version 1.2.7-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Boyuan Yang <byang@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-source: info: using options from pyreadstat-1.2.7/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/
debian/rules clean
dh clean --buildsystem=pybuild
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# pass
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
[1/3] Cythonizing pyreadstat/_readstat_parser.pyx
[2/3] Cythonizing pyreadstat/_readstat_writer.pyx
[3/3] Cythonizing pyreadstat/pyreadstat.pyx
I: pybuild base:311: python3.12 setup.py config
[1/3] Cythonizing pyreadstat/_readstat_parser.pyx
[2/3] Cythonizing pyreadstat/_readstat_writer.pyx
[3/3] Cythonizing pyreadstat/pyreadstat.pyx
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py build
[1/3] Cythonizing pyreadstat/_readstat_parser.pyx
[2/3] Cythonizing pyreadstat/_readstat_writer.pyx
[3/3] Cythonizing pyreadstat/pyreadstat.pyx
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value’:
pyreadstat/_readstat_parser.c:8755:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
8755 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata’:
pyreadstat/_readstat_parser.c:9659:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9659 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9668:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9668 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9815:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9815 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_variable’:
pyreadstat/_readstat_parser.c:9993:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9993 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10369:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10369 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10439:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10439 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label’:
pyreadstat/_readstat_parser.c:12551:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
12551 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status’:
pyreadstat/_readstat_parser.c:13291:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
13291 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser’:
pyreadstat/_readstat_parser.c:13864:5: warning: ‘__pyx_v_error’ may be used uninitialized [-Wmaybe-uninitialized]
13864 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_parser.c:13382:20: note: ‘__pyx_v_error’ was declared here
13382 | readstat_error_t __pyx_v_error;
| ^~~~~~~~~~~~~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’:
pyreadstat/_readstat_writer.c:10996:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10996 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_writer.c: At top level:
pyreadstat/_readstat_writer.c:10965:13: warning: ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’ defined but not used [-Wunused-function]
10965 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number’:
pyreadstat/_readstat_writer.c:3988:20: warning: ‘__pyx_v_tstamp’ may be used uninitialized [-Wmaybe-uninitialized]
3988 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c:3523:10: note: ‘__pyx_v_tstamp’ was declared here
3523 | double __pyx_v_tstamp;
| ^~~~~~~~~~~~~~
I: pybuild base:311: /usr/bin/python3 setup.py build
[1/3] Cythonizing pyreadstat/_readstat_parser.pyx
[2/3] Cythonizing pyreadstat/_readstat_writer.pyx
[3/3] Cythonizing pyreadstat/pyreadstat.pyx
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value’:
pyreadstat/_readstat_parser.c:8755:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
8755 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata’:
pyreadstat/_readstat_parser.c:9659:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9659 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9668:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9668 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9815:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9815 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_variable’:
pyreadstat/_readstat_parser.c:9993:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9993 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10369:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10369 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10439:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10439 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label’:
pyreadstat/_readstat_parser.c:12551:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
12551 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status’:
pyreadstat/_readstat_parser.c:13291:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
13291 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser’:
pyreadstat/_readstat_parser.c:13864:5: warning: ‘__pyx_v_error’ may be used uninitialized [-Wmaybe-uninitialized]
13864 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_parser.c:13382:20: note: ‘__pyx_v_error’ was declared here
13382 | readstat_error_t __pyx_v_error;
| ^~~~~~~~~~~~~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’:
pyreadstat/_readstat_writer.c:10996:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10996 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_writer.c: At top level:
pyreadstat/_readstat_writer.c:10965:13: warning: ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’ defined but not used [-Wunused-function]
10965 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number’:
pyreadstat/_readstat_writer.c:3988:20: warning: ‘__pyx_v_tstamp’ may be used uninitialized [-Wmaybe-uninitialized]
3988 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c:3523:10: note: ‘__pyx_v_tstamp’ was declared here
3523 | double __pyx_v_tstamp;
| ^~~~~~~~~~~~~~
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
NO TESTS RAN
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
NO TESTS RAN
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=pybuild
dh_prep -O--buildsystem=pybuild
dh_auto_install --destdir=debian/python3-pyreadstat/ -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-pyreadstat
[1/3] Cythonizing pyreadstat/_readstat_parser.pyx
[2/3] Cythonizing pyreadstat/_readstat_writer.pyx
[3/3] Cythonizing pyreadstat/pyreadstat.pyx
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value’:
pyreadstat/_readstat_parser.c:8755:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
8755 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata’:
pyreadstat/_readstat_parser.c:9659:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9659 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9668:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9668 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9815:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9815 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_variable’:
pyreadstat/_readstat_parser.c:9993:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9993 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10369:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10369 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10439:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10439 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label’:
pyreadstat/_readstat_parser.c:12551:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
12551 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status’:
pyreadstat/_readstat_parser.c:13291:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
13291 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser’:
pyreadstat/_readstat_parser.c:13864:5: warning: ‘__pyx_v_error’ may be used uninitialized [-Wmaybe-uninitialized]
13864 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_parser.c:13382:20: note: ‘__pyx_v_error’ was declared here
13382 | readstat_error_t __pyx_v_error;
| ^~~~~~~~~~~~~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’:
pyreadstat/_readstat_writer.c:10996:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10996 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_writer.c: At top level:
pyreadstat/_readstat_writer.c:10965:13: warning: ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’ defined but not used [-Wunused-function]
10965 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number’:
pyreadstat/_readstat_writer.c:3988:20: warning: ‘__pyx_v_tstamp’ may be used uninitialized [-Wmaybe-uninitialized]
3988 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c:3523:10: note: ‘__pyx_v_tstamp’ was declared here
3523 | double __pyx_v_tstamp;
| ^~~~~~~~~~~~~~
warning: no files found matching '*.h'
warning: no files found matching '*.pyx'
warning: no files found matching '*.pxd'
I: pybuild base:311: /usr/bin/python3 setup.py install --root /<<PKGBUILDDIR>>/debian/python3-pyreadstat
[1/3] Cythonizing pyreadstat/_readstat_parser.pyx
[2/3] Cythonizing pyreadstat/_readstat_writer.pyx
[3/3] Cythonizing pyreadstat/pyreadstat.pyx
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_convert_readstat_to_python_value’:
pyreadstat/_readstat_parser.c:8755:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
8755 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_metadata’:
pyreadstat/_readstat_parser.c:9659:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9659 | __pyx_v_flabel_orig = readstat_get_file_label(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9668:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9668 | __pyx_v_fencoding_orig = readstat_get_file_encoding(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c:9815:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9815 | __pyx_v_table = readstat_get_table_name(__pyx_v_metadata);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_variable’:
pyreadstat/_readstat_parser.c:9993:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
9993 | __pyx_v_var_name = readstat_variable_get_name(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10369:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10369 | __pyx_v_var_label = readstat_variable_get_label(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c:10439:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10439 | __pyx_v_var_format = readstat_variable_get_format(__pyx_v_variable);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_handle_value_label’:
pyreadstat/_readstat_parser.c:12551:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
12551 | __pyx_v_c_str_value = readstat_string_value(__pyx_v_value);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_check_exit_status’:
pyreadstat/_readstat_parser.c:13291:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
13291 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_parser.c: In function ‘__pyx_f_10pyreadstat_16_readstat_parser_run_readstat_parser’:
pyreadstat/_readstat_parser.c:13864:5: warning: ‘__pyx_v_error’ may be used uninitialized [-Wmaybe-uninitialized]
13864 | __pyx_f_10pyreadstat_16_readstat_parser_check_exit_status(__pyx_v_error); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_parser.c:13382:20: note: ‘__pyx_v_error’ was declared here
13382 | readstat_error_t __pyx_v_error;
| ^~~~~~~~~~~~~
./src/CKHashTable.c: In function ‘ck_hash_table_grow’:
./src/CKHashTable.c:298:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
298 | for (int i=0; i<old_capacity; i++) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_lo’:
./src/readstat_variable.c:82:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
82 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_get_missing_range_hi’:
./src/readstat_variable.c:91:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
91 | 2*i+1 < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_variable.c: In function ‘readstat_variable_add_missing_value_range’:
./src/readstat_variable.c:100:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
100 | if (2*i < sizeof(variable->missingness.missing_ranges)/sizeof(variable->missingness.missing_ranges[0])) {
| ^
./src/readstat_writer.c: In function ‘readstat_write_bytes_as_lines’:
./src/readstat_writer.c:209:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘ssize_t’ {aka ‘long int’} [-Wsign-compare]
209 | if (len - bytes_written < bytes_left_in_line) {
| ^
./src/sas/readstat_sas.c: In function ‘sas_read_header’:
./src/sas/readstat_sas.c:168:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
168 | if (io->read(&header_start, sizeof(sas_header_start_t), io->io_ctx) < sizeof(sas_header_start_t)) {
| ^
./src/sas/readstat_sas.c:195:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
195 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/sas/readstat_sas.c:217:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
217 | if (io->read(&creation_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:224:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
224 | if (io->read(&modification_time, sizeof(double), io->io_ctx) < sizeof(double)) {
| ^
./src/sas/readstat_sas.c:241:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
241 | if (io->read(&header_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:245:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
245 | if (io->read(&page_size, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:272:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
272 | if (io->read(&page_count, sizeof(uint64_t), io->io_ctx) < sizeof(uint64_t)) {
| ^
./src/sas/readstat_sas.c:279:65: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
279 | if (io->read(&page_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/sas/readstat_sas.c:298:69: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
298 | if (io->read(&header_end, sizeof(sas_header_end_t), io->io_ctx) < sizeof(sas_header_end_t)) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_value_labels’:
./src/sas/readstat_sas7bcat_read.c:63:36: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (&lbp1[3] - value_start > value_labels_len || sas_read2(&lbp1[2], ctx->bswap) < 0) {
| ^
./src/sas/readstat_sas7bcat_read.c:68:53: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (&lbp1[10+ctx->pad1+4] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:73:27: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (label_pos >= label_count_used) {
| ^~
./src/sas/readstat_sas7bcat_read.c:88:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | if (&lbp1[30] - value_start > value_labels_len ||
| ^
./src/sas/readstat_sas7bcat_read.c:89:41: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | &lbp2[10] - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c:116:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | if (&lbp2[10] + label_len - value_start > value_labels_len) {
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_parse_block’:
./src/sas/readstat_sas7bcat_read.c:152:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (data_size < payload_offset)
| ^
./src/sas/readstat_sas7bcat_read.c: In function ‘sas7bcat_read_block’:
./src/sas/readstat_sas7bcat_read.c:351:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | if (buffer_offset + chain_link_len > buffer_len) {
| ^
./src/sas/readstat_sas7bcat_write.c: In function ‘sas7bcat_begin_data’:
./src/sas/readstat_sas7bcat_write.c:175:63: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
175 | if (block_off + sizeof(block_header) + blocks[i]->len > hinfo->page_size)
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_ctx_free’:
./src/sas/readstat_sas7bdat_read.c:103:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
103 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_realloc_col_info’:
./src/sas/readstat_sas7bdat_read.c:191:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | if (ctx->col_info_count < count) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_handle_data_value’:
./src/sas/readstat_sas7bdat_read.c:418:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
418 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c:423:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
423 | for (k=0; k<col_info->width; k++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_single_row’:
./src/sas/readstat_sas7bdat_read.c:465:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
465 | for (j=0; j<ctx->column_count; j++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_rows’:
./src/sas/readstat_sas7bdat_read.c:491:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
491 | for (i=0; i<ctx->page_row_count && ctx->parsed_row_count < ctx->row_limit; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_subheader_rdc’:
./src/sas/readstat_sas7bdat_read.c:569:37: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | if (output - buffer < back_offset || copy_len > back_offset) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_submit_columns’:
./src/sas/readstat_sas7bdat_read.c:763:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
763 | for (i=0; i<ctx->column_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass1’:
./src/sas/readstat_sas7bdat_read.c:881:54: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
881 | if (!ctx->little_endian && signature == -1 && signature_len == 8) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_page_pass2’:
./src/sas/readstat_sas7bdat_read.c:942:58: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
942 | if (!ctx->little_endian && signature == -1 && ctx->u64) {
| ^~
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_meta_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1013:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1032:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1032 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1044:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_amd_pages_pass1’:
./src/sas/readstat_sas7bdat_read.c:1075:32: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
1075 | for (i=ctx->page_count-1; i>last_examined_page_pass1; i--) {
| ^
./src/sas/readstat_sas7bdat_read.c:1094:55: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1094 | if (io->read(ctx->page, head_len, io->io_ctx) < head_len) {
| ^
./src/sas/readstat_sas7bdat_read.c:1110:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1110 | if (io->read(ctx->page + head_len, tail_len, io->io_ctx) < tail_len) {
| ^
./src/sas/readstat_sas7bdat_read.c: In function ‘sas7bdat_parse_all_pages_pass2’:
./src/sas/readstat_sas7bdat_read.c:1139:16: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1139 | for (i=0; i<ctx->page_count; i++) {
| ^
./src/sas/readstat_sas7bdat_read.c:1143:61: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | if (io->read(ctx->page, ctx->page_size, io->io_ctx) < ctx->page_size) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_timestamp_record’:
./src/sas/readstat_xport_read.c:217:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
217 | for (i=0; i<sizeof(_xport_months)/sizeof(_xport_months[0]); i++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_variables’:
./src/sas/readstat_xport_read.c:458:24: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
458 | if (bytes_read < sizeof(xport_namestr_t)) {
| ^
./src/sas/readstat_xport_read.c: In function ‘xport_read_data’:
./src/sas/readstat_xport_read.c:640:31: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
640 | } else if (bytes_read < ctx->row_length) {
| ^
./src/sas/readstat_xport_read.c:648:24: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
648 | for (pos=0; pos<ctx->row_length; pos++) {
| ^
./src/sas/readstat_xport_read.c: In function ‘readstat_parse_xport’:
./src/sas/readstat_xport_read.c:710:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
710 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por.c: In function ‘por_utf8_encode’:
./src/spss/readstat_por.c:106:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (i=0; i<input_len; i++) {
| ^
./src/spss/readstat_por.c:118:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:124:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | if (offset + 2 > output_len)
| ^
./src/spss/readstat_por.c:127:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | if (offset + 3 > output_len)
| ^
./src/spss/readstat_por.c: In function ‘por_utf8_decode’:
./src/spss/readstat_por.c:151:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
151 | if (offset + 1 > output_len)
| ^
./src/spss/readstat_por.c:164:47: warning: comparison of integer expressions of different signedness: ‘wchar_t’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (conversions == 0 || codepoint >= lookup_len || lookup[codepoint] == 0) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_double_with_peek’:
./src/spss/readstat_por_read.c:115:13: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
115 | while (i<sizeof(buffer) && ctx->byte2unicode[buffer[i-1]] != '/') {
| ^
./src/spss/readstat_por_read.c: In function ‘maybe_read_string’:
./src/spss/readstat_por_read.c:227:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
227 | if (bytes_encoded == -1) {
| ^~
./src/spss/readstat_por_read.c: In function ‘read_variable_record’:
./src/spss/readstat_por_read.c:336:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
336 | for (i=0; i<sizeof(formats)/sizeof(spss_format_t *); i++) {
| ^
./src/spss/readstat_por_read.c: In function ‘readstat_parse_por’:
./src/spss/readstat_por_read.c:779:71: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
779 | if ((ctx->file_size = io->seek(0, READSTAT_SEEK_END, io->io_ctx)) == -1) {
| ^~
./src/spss/readstat_por_write.c: In function ‘por_write_ctx_init’:
./src/spss/readstat_por_write.c:174:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
174 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c:181:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
181 | for (i=0; i<sizeof(por_unicode_lookup)/sizeof(por_unicode_lookup[0]); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_emit_header’:
./src/spss/readstat_por_write.c:215:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
215 | for (i=0; i<sizeof(lookup); i++) {
| ^
./src/spss/readstat_por_write.c: In function ‘por_write_row’:
./src/spss/readstat_por_write.c:756:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
756 | for (offset=0; offset<row_len; offset++) {
| ^
./src/spss/readstat_sav.c: In function ‘sav_ctx_init’:
./src/spss/readstat_sav.c:46:66: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
46 | ctx->record_count = ctx->bswap ? byteswap4(header->ncases) : header->ncases;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav.c:47:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
47 | ctx->fweight_index = ctx->bswap ? byteswap4(header->weight_index) : header->weight_index;
| ^~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_variable_record’:
./src/spss/readstat_sav_read.c:172:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
172 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:178:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
178 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:190:84: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
190 | int n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_label’:
./src/spss/readstat_sav_read.c:206:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
206 | if (io->read(&label_len, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_double_values’:
./src/spss/readstat_sav_read.c:255:13: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
255 | < info->n_missing_values * sizeof(double)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_missing_string_values’:
./src/spss/readstat_sav_read.c:285:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
285 | if (io->read(missing_value, sizeof(missing_value), io->io_ctx) < sizeof(missing_value)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_variable_record’:
./src/spss/readstat_sav_read.c:320:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
320 | if (ctx->var_index == ctx->varinfo_capacity) {
| ^~
./src/spss/readstat_sav_read.c:326:72: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
326 | if (io->read(&variable, sizeof(sav_variable_record_t), io->io_ctx) < sizeof(sav_variable_record_t)) {
| ^
./src/spss/readstat_sav_read.c:330:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
330 | variable.print = ctx->bswap ? byteswap4(variable.print) : variable.print;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:331:63: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
331 | variable.write = ctx->bswap ? byteswap4(variable.write) : variable.write;
| ^~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:333:60: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
333 | int32_t type = ctx->bswap ? byteswap4(variable.type) : variable.type;
| ^~~~~~~~~~~~~
./src/spss/readstat_sav_read.c:384:86: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
384 | info->n_missing_values = ctx->bswap ? byteswap4(variable.n_missing_values) : variable.n_missing_values;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_sav_read.c: In function ‘sav_skip_value_label_record’:
./src/spss/readstat_sav_read.c:409:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
409 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:416:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
416 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:434:59: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
434 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:445:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
445 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_value_label_record’:
./src/spss/readstat_sav_read.c:491:62: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
491 | if (io->read(&label_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:504:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
504 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:519:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | if (io->read(label_buf, padded_label_len, io->io_ctx) < padded_label_len) {
| ^
./src/spss/readstat_sav_read.c:535:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
535 | if (io->read(&rec_type, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c:546:60: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
546 | if (io->read(&var_count, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:557:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
557 | if (io->read(vars, var_count * sizeof(uint32_t), io->io_ctx) < var_count * sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:561:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
561 | for (i=0; i<var_count; i++) {
| ^
./src/spss/readstat_sav_read.c:575:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
575 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c:604:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
604 | for (i=0; i<label_count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_skip_document_record’:
./src/spss/readstat_sav_read.c:619:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
619 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_document_record’:
./src/spss/readstat_sav_read.c:641:58: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
641 | if (io->read(&n_lines, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:651:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | for (i=0; i<n_lines; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_read_dictionary_termination_record’:
./src/spss/readstat_sav_read.c:676:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
676 | if (io->read(&filler, sizeof(int32_t), io->io_ctx) < sizeof(int32_t)) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_process_row’:
./src/spss/readstat_sav_read.c:697:24: warning: comparison of integer expressions of different signedness: ‘readstat_off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
697 | while (data_offset < buffer_len && col < ctx->var_index && var_index < ctx->var_index) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_machine_integer_info_record’:
./src/spss/readstat_sav_read.c:932:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
932 | for (i=0; i<sizeof(_charset_table)/sizeof(_charset_table[0]); i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_store_variable_display_parameter_record’:
./src/spss/readstat_sav_read.c:995:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
995 | for (i=0; i<count; i++) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_value_labels_record’:
./src/spss/readstat_sav_read.c:1085:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1085 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_long_string_missing_values_record’:
./src/spss/readstat_sav_read.c:1225:20: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1225 | for (i=0; i<ctx->var_index;) {
| ^
./src/spss/readstat_sav_read.c:1243:28: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘char’ [-Wsign-compare]
1243 | for (j=0; j<n_missing_values; j++) {
| ^
./src/spss/readstat_sav_read.c:1261:15: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
1261 | if (i == ctx->var_index) {
| ^~
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass1’:
./src/spss/readstat_sav_read.c:1285:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1285 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1314:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1314 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1331:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1331 | if (io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘sav_parse_records_pass2’:
./src/spss/readstat_sav_read.c:1374:63: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1374 | if (io->read(&rec_type, sizeof(uint32_t), io->io_ctx) < sizeof(uint32_t)) {
| ^
./src/spss/readstat_sav_read.c:1402:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1402 | if (io->read(extra_info, sizeof(extra_info), io->io_ctx) < sizeof(extra_info)) {
| ^
./src/spss/readstat_sav_read.c:1420:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1420 | if (data_len == 0 || io->read(data_buf, data_len, io->io_ctx) < data_len) {
| ^
./src/spss/readstat_sav_read.c: In function ‘readstat_parse_sav’:
./src/spss/readstat_sav_read.c:1582:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1582 | if (file_size == -1) {
| ^~
./src/spss/readstat_sav_read.c:1592:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1592 | if (io->read(&header, sizeof(sav_file_header_record_t), io->io_ctx) < sizeof(sav_file_header_record_t)) {
| ^
./src/spss/readstat_spss.c: In function ‘spss_format’:
./src/spss/readstat_spss.c:53:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
53 | || format->type >= sizeof(spss_type_strings)/sizeof(spss_type_strings[0])
| ^~
./src/spss/readstat_zsav_compress.c: In function ‘zsav_compress_row’:
./src/spss/readstat_zsav_compress.c:79:30: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare]
79 | while (row_len - row_off > ctx->uncompressed_block_size - block->uncompressed_size) {
| ^
./src/spss/readstat_zsav_read.c: In function ‘zsav_read_compressed_data’:
./src/spss/readstat_zsav_read.c:57:64: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
57 | if (io->read(&zheader, sizeof(struct zheader), io->io_ctx) < sizeof(struct zheader)) {
| ^
./src/spss/readstat_zsav_read.c:78:66: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
78 | if (io->read(&ztrailer, sizeof(struct ztrailer), io->io_ctx) < sizeof(struct ztrailer)) {
| ^
./src/spss/readstat_zsav_read.c:83:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
83 | ztrailer.bias = ctx->bswap ? byteswap8(ztrailer.bias) : ztrailer.bias;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:84:61: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
84 | ztrailer.zero = ctx->bswap ? byteswap8(ztrailer.zero) : ztrailer.zero;
| ^~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:85:73: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
85 | ztrailer.block_size = ctx->bswap ? byteswap4(ztrailer.block_size) : ztrailer.block_size;
| ^~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:86:69: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
86 | ztrailer.n_blocks = ctx->bswap ? byteswap4(ztrailer.n_blocks) : ztrailer.n_blocks;
| ^~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:98:90: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
98 | if (io->read(ztrailer_entries, n_blocks * sizeof(struct ztrailer_entry), io->io_ctx) <
| ^
./src/spss/readstat_zsav_read.c:107:85: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
107 | entry->uncompressed_ofs = ctx->bswap ? byteswap8(entry->uncompressed_ofs) : entry->uncompressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:108:81: warning: operand of ‘?:’ changes signedness from ‘int64_t’ {aka ‘long int’} to ‘uint64_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
108 | entry->compressed_ofs = ctx->bswap ? byteswap8(entry->compressed_ofs) : entry->compressed_ofs;
| ^~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:109:87: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
109 | entry->uncompressed_size = ctx->bswap ? byteswap4(entry->uncompressed_size) : entry->uncompressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:110:83: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
110 | entry->compressed_size = ctx->bswap ? byteswap4(entry->compressed_size) : entry->compressed_size;
| ^~~~~~~~~~~~~~~~~~~~~~
./src/spss/readstat_zsav_read.c:143:54: warning: comparison of integer expressions of different signedness: ‘uLongf’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare]
143 | if (status != Z_OK || uncompressed_block_len != entry->uncompressed_size) {
| ^~
./src/stata/readstat_dta.c: In function ‘dta_ctx_free’:
./src/stata/readstat_dta.c:246:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | for (i=0; i<ctx->strls_count; i++) {
| ^
./src/stata/readstat_dta_read.c: In function ‘dta_read_chunk’:
./src/stata/readstat_dta_read.c:95:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | if (io->read(dst_buffer, dst_len, io->io_ctx) != dst_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_expansion_fields’:
./src/stata/readstat_dta_read.c:267:51: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
267 | if (io->read(buffer, len, io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_read_tag’:
./src/stata/readstat_dta_read.c:305:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
305 | if (ctx->io->read(buffer, len, ctx->io->io_ctx) != len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_117_read_strl’:
./src/stata/readstat_dta_read.c:371:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
371 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_118_read_strl’:
./src/stata/readstat_dta_read.c:390:54: warning: operand of ‘?:’ changes signedness from ‘int32_t’ {aka ‘int’} to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare]
390 | strl->len = ctx->bswap ? byteswap4(header.len) : header.len;
| ^~~~~~~~~~
./src/stata/readstat_dta_read.c: In function ‘dta_read_strls’:
./src/stata/readstat_dta_read.c:460:73: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
460 | if (io->read(&strl_ptr->data[0], strl_ptr->len, io->io_ctx) != strl_ptr->len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_rows’:
./src/stata/readstat_dta_read.c:675:56: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | if (io->read(buf, ctx->record_len, io->io_ctx) != ctx->record_len) {
| ^~
./src/stata/readstat_dta_read.c: In function ‘dta_handle_value_labels’:
./src/stata/readstat_dta_read.c:1009:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1009 | if (io->read(&table_header_len, sizeof(int16_t), io->io_ctx) < sizeof(int16_t))
| ^
./src/stata/readstat_dta_read.c:1024:74: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
1024 | if (io->read(&table_header_len, sizeof(int32_t), io->io_ctx) < sizeof(int32_t))
| ^
./src/stata/readstat_dta_read.c:1033:79: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1033 | if (io->read(labname, ctx->value_label_table_labname_len, io->io_ctx) < ctx->value_label_table_labname_len)
| ^
./src/stata/readstat_dta_read.c:1044:53: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
1044 | if (io->read(table_buffer, len, io->io_ctx) < len) {
| ^
./src/stata/readstat_dta_read.c: In function ‘readstat_parse_dta’:
./src/stata/readstat_dta_read.c:1154:19: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1154 | if (file_size == -1) {
| ^~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’:
pyreadstat/_readstat_writer.c:10996:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10996 | __pyx_v_err_readstat = readstat_error_message(__pyx_v_retcode);
| ^
pyreadstat/_readstat_writer.c: At top level:
pyreadstat/_readstat_writer.c:10965:13: warning: ‘__pyx_f_10pyreadstat_16_readstat_writer__check_exit_status’ defined but not used [-Wunused-function]
10965 | static void __pyx_f_10pyreadstat_16_readstat_writer__check_exit_status(readstat_error_t __pyx_v_retcode) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c: In function ‘__pyx_f_10pyreadstat_16_readstat_writer_convert_datetimelike_to_number’:
pyreadstat/_readstat_writer.c:3988:20: warning: ‘__pyx_v_tstamp’ may be used uninitialized [-Wmaybe-uninitialized]
3988 | __pyx_v_tstamp = (__pyx_v_tstamp + __pyx_v_offset_secs);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pyreadstat/_readstat_writer.c:3523:10: note: ‘__pyx_v_tstamp’ was declared here
3523 | double __pyx_v_tstamp;
| ^~~~~~~~~~~~~~
warning: no files found matching '*.h'
warning: no files found matching '*.pyx'
warning: no files found matching '*.pxd'
dh_installdocs -O--buildsystem=pybuild
dh_installchangelogs -O--buildsystem=pybuild
dh_python3 -O--buildsystem=pybuild
dh_installsystemduser -O--buildsystem=pybuild
dh_perl -O--buildsystem=pybuild
dh_link -O--buildsystem=pybuild
dh_strip_nondeterminism -O--buildsystem=pybuild
dh_compress -O--buildsystem=pybuild
dh_fixperms -O--buildsystem=pybuild
dh_missing -O--buildsystem=pybuild
dh_dwz -a -O--buildsystem=pybuild
dh_strip -a -O--buildsystem=pybuild
dh_makeshlibs -a -O--buildsystem=pybuild
dh_shlibdeps -a -O--buildsystem=pybuild
dh_installdeb -O--buildsystem=pybuild
dh_gencontrol -O--buildsystem=pybuild
dpkg-gencontrol: warning: Recommends field of package python3-pyreadstat: substitution variable ${python3:Recommends} used, but is not defined
dpkg-gencontrol: warning: Suggests field of package python3-pyreadstat: substitution variable ${python3:Suggests} used, but is not defined
dpkg-gencontrol: warning: Recommends field of package python3-pyreadstat: substitution variable ${python3:Recommends} used, but is not defined
dpkg-gencontrol: warning: Suggests field of package python3-pyreadstat: substitution variable ${python3:Suggests} used, but is not defined
dh_md5sums -O--buildsystem=pybuild
dh_builddeb -O--buildsystem=pybuild
dpkg-deb: building package 'python3-pyreadstat' in '../python3-pyreadstat_1.2.7-1_amd64.deb'.
dpkg-deb: building package 'python3-pyreadstat-dbgsym' in '../python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb'.
dpkg-genbuildinfo --build=binary -O../pyreadstat_1.2.7-1_amd64.buildinfo
dpkg-genchanges --build=binary -O../pyreadstat_1.2.7-1_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-source: info: using options from pyreadstat-1.2.7/debian/source/options: --extend-diff-ignore=^[^/]+.egg-info/
dpkg-buildpackage: info: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2024-11-15T12:41:22Z
Finished
--------
I: Built successfully
+------------------------------------------------------------------------------+
| Changes |
+------------------------------------------------------------------------------+
pyreadstat_1.2.7-1_amd64.changes:
---------------------------------
Format: 1.8
Date: Fri, 19 Jul 2024 12:37:13 -0400
Source: pyreadstat
Binary: python3-pyreadstat python3-pyreadstat-dbgsym
Architecture: amd64
Version: 1.2.7-1
Distribution: sid
Urgency: medium
Maintainer: Joost van Baal-Ilić <joostvb@debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Description:
python3-pyreadstat - read/write data sets from SAS, Stata, and SPSS from/to Python pan
Changes:
pyreadstat (1.2.7-1) unstable; urgency=medium
.
* Team upload.
* New upstream release.
+ Fix compatibility with pandas 2.2.1+.
Checksums-Sha1:
555a555292e7d7b21b24df712260098677e617f8 7011 pyreadstat_1.2.7-1_amd64.buildinfo
5d48b09ebfbcf65aa4640d1db514dbd60450af79 3976412 python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb
981d719419e1e3d554a1ed94596fb2e5fd1db8a8 461608 python3-pyreadstat_1.2.7-1_amd64.deb
Checksums-Sha256:
d32c8a0b263e89fb2e0894c74464d55aec6d9cd0e5aa40b7eab97b15d9521242 7011 pyreadstat_1.2.7-1_amd64.buildinfo
6252ed36c693f191cdf107ccf52131bb30758a95dd805123b963abb1eb994c45 3976412 python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb
653d3703ca03a265a19645dd4537f028d8e00eac615ce6eb2c5d9aaa7cf48afa 461608 python3-pyreadstat_1.2.7-1_amd64.deb
Files:
fc1eee4c8178211f660eb0ebc24359ce 7011 python optional pyreadstat_1.2.7-1_amd64.buildinfo
90a2f45b818d477416dbdc91eeb8d1fe 3976412 debug optional python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb
988a516aea693c043c6686e7d0651b48 461608 python optional python3-pyreadstat_1.2.7-1_amd64.deb
+------------------------------------------------------------------------------+
| Buildinfo |
+------------------------------------------------------------------------------+
Format: 1.0
Source: pyreadstat
Binary: python3-pyreadstat python3-pyreadstat-dbgsym
Architecture: amd64
Version: 1.2.7-1
Checksums-Md5:
90a2f45b818d477416dbdc91eeb8d1fe 3976412 python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb
988a516aea693c043c6686e7d0651b48 461608 python3-pyreadstat_1.2.7-1_amd64.deb
Checksums-Sha1:
5d48b09ebfbcf65aa4640d1db514dbd60450af79 3976412 python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb
981d719419e1e3d554a1ed94596fb2e5fd1db8a8 461608 python3-pyreadstat_1.2.7-1_amd64.deb
Checksums-Sha256:
6252ed36c693f191cdf107ccf52131bb30758a95dd805123b963abb1eb994c45 3976412 python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb
653d3703ca03a265a19645dd4537f028d8e00eac615ce6eb2c5d9aaa7cf48afa 461608 python3-pyreadstat_1.2.7-1_amd64.deb
Build-Origin: Debian
Build-Architecture: amd64
Build-Date: Fri, 15 Nov 2024 12:41:22 +0000
Build-Path: /<<PKGBUILDDIR>>
Build-Tainted-By:
merged-usr-via-aliased-dirs
Installed-Build-Depends:
autoconf (= 2.72-3),
automake (= 1:1.16.5-1.3),
autopoint (= 0.22.5-2),
autotools-dev (= 20220109.1),
base-files (= 13.5),
base-passwd (= 3.6.5),
bash (= 5.2.32-1+b2),
binutils (= 2.43.1-5),
binutils-common (= 2.43.1-5),
binutils-x86-64-linux-gnu (= 2.43.1-5),
bsdextrautils (= 2.40.2-11),
bsdutils (= 1:2.40.2-11),
build-essential (= 12.12),
bzip2 (= 1.0.8-6),
coreutils (= 9.5-1+b1),
cpp (= 4:14.2.0-1),
cpp-14 (= 14.2.0-8),
cpp-14-x86-64-linux-gnu (= 14.2.0-8),
cpp-x86-64-linux-gnu (= 4:14.2.0-1),
cython3 (= 3.0.11+dfsg-1+b1),
dash (= 0.5.12-9),
debconf (= 1.5.87),
debhelper (= 13.20),
debianutils (= 5.20),
dh-autoreconf (= 20),
dh-python (= 6.20241024),
dh-strip-nondeterminism (= 1.14.0-1),
diffutils (= 1:3.10-1),
dpkg (= 1.22.11),
dpkg-dev (= 1.22.12~1.gbp82cafd),
dwz (= 0.15-1+b1),
file (= 1:5.45-3+b1),
findutils (= 4.10.0-3),
g++ (= 4:14.2.0-1),
g++-14 (= 14.2.0-8),
g++-14-x86-64-linux-gnu (= 14.2.0-8),
g++-x86-64-linux-gnu (= 4:14.2.0-1),
gcc (= 4:14.2.0-1),
gcc-14 (= 14.2.0-8),
gcc-14-base (= 14.2.0-8),
gcc-14-x86-64-linux-gnu (= 14.2.0-8),
gcc-x86-64-linux-gnu (= 4:14.2.0-1),
gettext (= 0.22.5-2),
gettext-base (= 0.22.5-2),
grep (= 3.11-4),
groff-base (= 1.23.0-5),
gzip (= 1.12-1.1),
hostname (= 3.25),
init-system-helpers (= 1.67),
intltool-debian (= 0.35.0+20060710.6),
libacl1 (= 2.3.2-2+b1),
libarchive-zip-perl (= 1.68-1),
libasan8 (= 14.2.0-8),
libatomic1 (= 14.2.0-8),
libattr1 (= 1:2.5.2-2),
libaudit-common (= 1:4.0.2-2),
libaudit1 (= 1:4.0.2-2),
libbinutils (= 2.43.1-5),
libblas3 (= 3.12.0-3+b1),
libblkid1 (= 2.40.2-11),
libbz2-1.0 (= 1.0.8-6),
libc-bin (= 2.40-3),
libc-dev-bin (= 2.40-3),
libc6 (= 2.40-3),
libc6-dev (= 2.40-3),
libcap-ng0 (= 0.8.5-3+b1),
libcap2 (= 1:2.66-5+b1),
libcc1-0 (= 14.2.0-8),
libcom-err2 (= 1.47.1-1+b1),
libcrypt-dev (= 1:4.4.36-5),
libcrypt1 (= 1:4.4.36-5),
libctf-nobfd0 (= 2.43.1-5),
libctf0 (= 2.43.1-5),
libdb5.3t64 (= 5.3.28+dfsg2-9),
libdebconfclient0 (= 0.273),
libdebhelper-perl (= 13.20),
libdpkg-perl (= 1.22.12~1.gbp82cafd),
libelf1t64 (= 0.192-4),
libexpat1 (= 2.6.4-1),
libexpat1-dev (= 2.6.4-1),
libffi8 (= 3.4.6-1),
libfile-stripnondeterminism-perl (= 1.14.0-1),
libgcc-14-dev (= 14.2.0-8),
libgcc-s1 (= 14.2.0-8),
libgdbm-compat4t64 (= 1.24-2),
libgdbm6t64 (= 1.24-2),
libgfortran5 (= 14.2.0-8),
libgmp10 (= 2:6.3.0+dfsg-2+b2),
libgomp1 (= 14.2.0-8),
libgprofng0 (= 2.43.1-5),
libgssapi-krb5-2 (= 1.21.3-3),
libhwasan0 (= 14.2.0-8),
libicu72 (= 72.1-5+b1),
libisl23 (= 0.27-1),
libitm1 (= 14.2.0-8),
libjansson4 (= 2.14-2+b3),
libjs-jquery (= 3.6.1+dfsg+~3.5.14-1),
libjs-sphinxdoc (= 7.4.7-4),
libjs-underscore (= 1.13.4~dfsg+~1.11.4-3),
libk5crypto3 (= 1.21.3-3),
libkeyutils1 (= 1.6.3-4),
libkrb5-3 (= 1.21.3-3),
libkrb5support0 (= 1.21.3-3),
liblapack3 (= 3.12.0-3+b1),
liblsan0 (= 14.2.0-8),
liblzma5 (= 5.6.3-1+b1),
libmagic-mgc (= 1:5.45-3+b1),
libmagic1t64 (= 1:5.45-3+b1),
libmd0 (= 1.1.0-2+b1),
libmount1 (= 2.40.2-11),
libmpc3 (= 1.3.1-1+b3),
libmpfr6 (= 4.2.1-1+b2),
libncursesw6 (= 6.5-2+b1),
libnsl2 (= 1.3.0-3+b3),
libpam-modules (= 1.5.3-7+b1),
libpam-modules-bin (= 1.5.3-7+b1),
libpam-runtime (= 1.5.3-7),
libpam0g (= 1.5.3-7+b1),
libpcre2-8-0 (= 10.44-2),
libperl5.40 (= 5.40.0-7),
libpipeline1 (= 1.5.8-1),
libpython3-all-dev (= 3.12.7-1),
libpython3-dev (= 3.12.7-1),
libpython3-stdlib (= 3.12.7-1),
libpython3.12-dev (= 3.12.7-3),
libpython3.12-minimal (= 3.12.7-3),
libpython3.12-stdlib (= 3.12.7-3),
libpython3.12t64 (= 3.12.7-3),
libpython3.13 (= 3.13.0-2),
libpython3.13-dev (= 3.13.0-2),
libpython3.13-minimal (= 3.13.0-2),
libpython3.13-stdlib (= 3.13.0-2),
libquadmath0 (= 14.2.0-8),
libreadline8t64 (= 8.2-5),
libseccomp2 (= 2.5.5-1+b3),
libselinux1 (= 3.7-3+b1),
libsframe1 (= 2.43.1-5),
libsmartcols1 (= 2.40.2-11),
libsqlite3-0 (= 3.46.1-1),
libssl3t64 (= 3.3.2-2),
libstdc++-14-dev (= 14.2.0-8),
libstdc++6 (= 14.2.0-8),
libsystemd0 (= 257~rc1-4),
libtinfo6 (= 6.5-2+b1),
libtirpc-common (= 1.3.4+ds-1.3),
libtirpc3t64 (= 1.3.4+ds-1.3+b1),
libtool (= 2.4.7-8),
libtsan2 (= 14.2.0-8),
libubsan1 (= 14.2.0-8),
libuchardet0 (= 0.0.8-1+b2),
libudev1 (= 257~rc1-4),
libunistring5 (= 1.2-1+b1),
libuuid1 (= 2.40.2-11),
libxml2 (= 2.12.7+dfsg+really2.9.14-0.2+b1),
libzstd1 (= 1.5.6+dfsg-1+b1),
linux-libc-dev (= 6.11.7-1),
m4 (= 1.4.19-4),
make (= 4.3-4.1),
man-db (= 2.13.0-1),
mawk (= 1.3.4.20240905-1),
media-types (= 10.1.0),
ncurses-base (= 6.5-2),
ncurses-bin (= 6.5-2+b1),
netbase (= 6.4),
openssl-provider-legacy (= 3.3.2-2),
patch (= 2.7.6-7),
perl (= 5.40.0-7),
perl-base (= 5.40.0-7),
perl-modules-5.40 (= 5.40.0-7),
po-debconf (= 1.0.21+nmu1),
python3 (= 3.12.7-1),
python3-all (= 3.12.7-1),
python3-all-dev (= 3.12.7-1),
python3-autocommand (= 2.2.2-3),
python3-dateutil (= 2.9.0-3),
python3-dev (= 3.12.7-1),
python3-inflect (= 7.3.1-2),
python3-jaraco.context (= 6.0.0-1),
python3-jaraco.functools (= 4.1.0-1),
python3-jaraco.text (= 4.0.0-1),
python3-minimal (= 3.12.7-1),
python3-more-itertools (= 10.5.0-1),
python3-numpy (= 1:1.26.4+ds-12),
python3-pandas (= 2.2.3+dfsg-5),
python3-pandas-lib (= 2.2.3+dfsg-5+b1),
python3-pkg-resources (= 75.2.0-1),
python3-setuptools (= 75.2.0-1),
python3-typeguard (= 4.4.1-1),
python3-typing-extensions (= 4.12.2-2),
python3-tz (= 2024.1-2),
python3-zipp (= 3.21.0-1),
python3.12 (= 3.12.7-3),
python3.12-dev (= 3.12.7-3),
python3.12-minimal (= 3.12.7-3),
python3.13 (= 3.13.0-2),
python3.13-dev (= 3.13.0-2),
python3.13-minimal (= 3.13.0-2),
readline-common (= 8.2-5),
rpcsvc-proto (= 1.4.3-1),
sed (= 4.9-2),
sensible-utils (= 0.0.24),
sysvinit-utils (= 3.11-1),
tar (= 1.35+dfsg-3),
tzdata (= 2024b-3),
util-linux (= 2.40.2-11),
xz-utils (= 5.6.3-1+b1),
zlib1g (= 1:1.3.dfsg+really1.3.1-1+b1),
zlib1g-dev (= 1:1.3.dfsg+really1.3.1-1+b1)
Environment:
DEB_BUILD_OPTIONS="parallel=4"
LANG="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_CTYPE="C.UTF-8"
SOURCE_DATE_EPOCH="1721407033"
+------------------------------------------------------------------------------+
| Package contents |
+------------------------------------------------------------------------------+
python3-pyreadstat-dbgsym_1.2.7-1_amd64.deb
-------------------------------------------
new Debian package, version 2.0.
size 3976412 bytes: control archive=852 bytes.
581 bytes, 12 lines control
731 bytes, 7 lines md5sums
Package: python3-pyreadstat-dbgsym
Source: pyreadstat
Version: 1.2.7-1
Auto-Built-Package: debug-symbols
Architecture: amd64
Maintainer: Joost van Baal-Ilić <joostvb@debian.org>
Installed-Size: 4329
Depends: python3-pyreadstat (= 1.2.7-1)
Section: debug
Priority: optional
Description: debug symbols for python3-pyreadstat
Build-Ids: 2d8e3114b6aa37b4152e42009cb74f58e8652871 34f4fbcd505e6eeb3ab31f03f466bb9d190fb8ac 37bb179fda34eb0ebda86293682a0c2ca0ed519a 97f633fdb62c5bf39711d32957d7cb3ac0b0409f d72c6fe726588c632acb08bfd448758d015d48be fc76dc45f990981b0522400074c8e3bd51023cd9
drwxr-xr-x root/root 0 2024-07-19 16:37 ./
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.build-id/2d/
-rw-r--r-- root/root 700776 2024-07-19 16:37 ./usr/lib/debug/.build-id/2d/8e3114b6aa37b4152e42009cb74f58e8652871.debug
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.build-id/34/
-rw-r--r-- root/root 680168 2024-07-19 16:37 ./usr/lib/debug/.build-id/34/f4fbcd505e6eeb3ab31f03f466bb9d190fb8ac.debug
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.build-id/37/
-rw-r--r-- root/root 683280 2024-07-19 16:37 ./usr/lib/debug/.build-id/37/bb179fda34eb0ebda86293682a0c2ca0ed519a.debug
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.build-id/97/
-rw-r--r-- root/root 699784 2024-07-19 16:37 ./usr/lib/debug/.build-id/97/f633fdb62c5bf39711d32957d7cb3ac0b0409f.debug
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.build-id/d7/
-rw-r--r-- root/root 778776 2024-07-19 16:37 ./usr/lib/debug/.build-id/d7/2c6fe726588c632acb08bfd448758d015d48be.debug
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.build-id/fc/
-rw-r--r-- root/root 789128 2024-07-19 16:37 ./usr/lib/debug/.build-id/fc/76dc45f990981b0522400074c8e3bd51023cd9.debug
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.dwz/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/debug/.dwz/x86_64-linux-gnu/
-rw-r--r-- root/root 78992 2024-07-19 16:37 ./usr/lib/debug/.dwz/x86_64-linux-gnu/python3-pyreadstat.debug
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/share/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/share/doc/
lrwxrwxrwx root/root 0 2024-07-19 16:37 ./usr/share/doc/python3-pyreadstat-dbgsym -> python3-pyreadstat
python3-pyreadstat_1.2.7-1_amd64.deb
------------------------------------
new Debian package, version 2.0.
size 461608 bytes: control archive=1544 bytes.
721 bytes, 15 lines control
1655 bytes, 16 lines md5sums
283 bytes, 12 lines * postinst #!/bin/sh
396 bytes, 12 lines * prerm #!/bin/sh
Package: python3-pyreadstat
Source: pyreadstat
Version: 1.2.7-1
Architecture: amd64
Maintainer: Joost van Baal-Ilić <joostvb@debian.org>
Installed-Size: 2739
Depends: python3 (<< 3.14), python3 (>= 3.12~), python3-pandas, python3:any, libc6 (>= 2.38), zlib1g (>= 1:1.2.0)
Section: python
Priority: optional
Homepage: https://github.com/Roche/pyreadstat
Description: read/write data sets from SAS, Stata, and SPSS from/to Python pandas.DataFrame
A Python package to read and write popular stats packages files (like SAS
(sas7bdat, sas7bcat, xport/xpt), SPSS (sav, zsav, por) and Stata (dta)) from
and to Python pandas.DataFrame data structures. This module is a wrapper
around the Readstat C library by Evan Miller.
drwxr-xr-x root/root 0 2024-07-19 16:37 ./
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/python3/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/python3/dist-packages/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat-1.2.7.egg-info/
-rw-r--r-- root/root 1048 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat-1.2.7.egg-info/PKG-INFO
-rw-r--r-- root/root 1 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat-1.2.7.egg-info/dependency_links.txt
-rw-r--r-- root/root 0 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat-1.2.7.egg-info/requires.txt
-rw-r--r-- root/root 11 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat-1.2.7.egg-info/top_level.txt
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat/
-rw-r--r-- root/root 1232 2024-03-13 17:27 ./usr/lib/python3/dist-packages/pyreadstat/__init__.py
-rw-r--r-- root/root 410288 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat/_readstat_parser.cpython-312-x86_64-linux-gnu.so
-rw-r--r-- root/root 410256 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat/_readstat_parser.cpython-313-x86_64-linux-gnu.so
-rw-r--r-- root/root 494208 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat/_readstat_writer.cpython-312-x86_64-linux-gnu.so
-rw-r--r-- root/root 490080 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat/_readstat_writer.cpython-313-x86_64-linux-gnu.so
-rw-r--r-- root/root 5172 2024-03-13 17:27 ./usr/lib/python3/dist-packages/pyreadstat/pyfunctions.py
-rw-r--r-- root/root 476912 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat/pyreadstat.cpython-312-x86_64-linux-gnu.so
-rw-r--r-- root/root 476912 2024-07-19 16:37 ./usr/lib/python3/dist-packages/pyreadstat/pyreadstat.cpython-313-x86_64-linux-gnu.so
-rw-r--r-- root/root 972 2024-03-13 17:27 ./usr/lib/python3/dist-packages/pyreadstat/worker.py
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/share/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/share/doc/
drwxr-xr-x root/root 0 2024-07-19 16:37 ./usr/share/doc/python3-pyreadstat/
-rw-r--r-- root/root 13061 2024-03-14 10:12 ./usr/share/doc/python3-pyreadstat/README.md.gz
-rw-r--r-- root/root 945 2024-07-19 16:37 ./usr/share/doc/python3-pyreadstat/changelog.Debian.gz
-rw-r--r-- root/root 2479 2024-07-19 16:36 ./usr/share/doc/python3-pyreadstat/copyright
lintian
-------
Setup apt archive
-----------------
Merged Build-Depends: lintian
Filtered Build-Depends: lintian
dpkg-deb: building package 'sbuild-build-depends-lintian-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-lintian-dummy.deb'.
Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease
Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [615 B]
Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg
Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [1318 B]
Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [1380 B]
Fetched 3313 B in 0s (331 kB/s)
Reading package lists...
Get:1 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ InRelease
Ign:1 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ InRelease
Get:2 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release [606 B]
Get:2 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release [606 B]
Get:3 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release.gpg
Ign:3 file:/<<BUILDDIR>>/resolver-Eoma6k/apt_archive ./ Release.gpg
Reading package lists...
Reading package lists...
Install lintian build dependencies (apt-based resolver)
-------------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
sbuild-build-depends-lintian-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 856 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-lintian-dummy 0.invalid.0 [856 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 856 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-lintian-dummy.
(Reading database ... 28611 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-lintian-dummy_0.invalid.0_amd64.deb ...
Unpacking sbuild-build-depends-lintian-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-lintian-dummy (0.invalid.0) ...
Running lintian...
W: pyreadstat changes: distribution-and-changes-mismatch sid unstable
I: Lintian run was successful.
+------------------------------------------------------------------------------+
| Post Build |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: amd64
Build Type: binary
Build-Space: 47444
Build-Time: 143
Distribution: sid
Host Architecture: amd64
Install-Time: 36
Job: /tmp/debusine-fetch-exec-upload-k5ptcnou/pyreadstat_1.2.7-1.dsc
Lintian: warn
Machine Architecture: amd64
Package: pyreadstat
Package-Time: 204
Source-Version: 1.2.7-1
Space: 47444
Status: successful
Version: 1.2.7-1
--------------------------------------------------------------------------------
Finished at 2024-11-15T12:41:22Z
Build needed 00:03:24, 47444k disk space