Warning: Permanently added '35.153.213.156' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/8766521-epel-10-x86_64 --chroot epel-10-x86_64 Version: 1.2 PID: 9133 Logging PID: 9134 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 8766521, 'buildroot_pkgs': [], 'chroot': 'epel-10-x86_64', 'enable_net': True, 'fedora_review': False, 'git_hash': 'ab22da89abaeaf0053a6964b104aef28a85af49f', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/tomkep/epel-extras/alpine', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'alpine', 'package_version': '2.26-15', 'project_dirname': 'epel-extras', 'project_name': 'epel-extras', 'project_owner': 'tomkep', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/tomkep/epel-extras/epel-10-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'tomkep/epel-extras--tomkep', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': None, 'submitter': 'tomkep', 'tags': [], 'task_id': '8766521-epel-10-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/tomkep/epel-extras/alpine /var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/tomkep/epel-extras/alpine', '/var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine'... Running: git checkout ab22da89abaeaf0053a6964b104aef28a85af49f -- cmd: ['git', 'checkout', 'ab22da89abaeaf0053a6964b104aef28a85af49f', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine rc: 0 stdout: stderr: Note: switching to 'ab22da89abaeaf0053a6964b104aef28a85af49f'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at ab22da8 automatic import of alpine Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading alpine-2.26_patched.tar.xz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o alpine-2.26_patched.tar.xz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/tomkep/epel-extras/alpine/alpine-2.26_patched.tar.xz/md5/fec4cca4519f8f8686aed0562e84666f/alpine-2.26_patched.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 7607k 100 7607k 0 0 322M 0 --:--:-- --:--:-- --:--:-- 337M INFO: Reading stdout from command: md5sum alpine-2.26_patched.tar.xz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine/alpine.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1741899238.902675 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.1 starting (python version = 3.13.0, NVR = mock-6.1-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine/alpine.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1741899238.902675 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine/alpine.spec) Config(centos-stream+epel-10-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.1 INFO: Mock Version: 6.1 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/centos-stream+epel-10-x86_64-bootstrap-1741899238.902675/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: quay.io/centos/centos:stream10 INFO: Pulling image: quay.io/centos/centos:stream10 INFO: Tagging container image as mock-bootstrap-286095de-61f1-40cc-b071-880be4ee724d INFO: Checking that 95daf5dcdd07a38bef26a97814bb0059f60505dc7bacc54eadfe68e8aeb67192 image matches host's architecture INFO: Copy content of container 95daf5dcdd07a38bef26a97814bb0059f60505dc7bacc54eadfe68e8aeb67192 to /var/lib/mock/centos-stream+epel-10-x86_64-bootstrap-1741899238.902675/root INFO: mounting 95daf5dcdd07a38bef26a97814bb0059f60505dc7bacc54eadfe68e8aeb67192 with podman image mount INFO: image 95daf5dcdd07a38bef26a97814bb0059f60505dc7bacc54eadfe68e8aeb67192 as /var/lib/containers/storage/overlay/c01406c62197f6ca045037399996e33ffc35d4ae4ca1af4f4535c36dbae6edae/merged INFO: umounting image 95daf5dcdd07a38bef26a97814bb0059f60505dc7bacc54eadfe68e8aeb67192 (/var/lib/containers/storage/overlay/c01406c62197f6ca045037399996e33ffc35d4ae4ca1af4f4535c36dbae6edae/merged) with podman image umount INFO: Removing image mock-bootstrap-286095de-61f1-40cc-b071-880be4ee724d INFO: Package manager dnf4 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf4 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1.1-12.el10.x86_64 rpm-sequoia-1.6.0-6.el10.x86_64 python3-dnf-4.20.0-11.el10.noarch python3-dnf-plugins-core-4.7.0-8.el10.noarch yum-4.20.0-11.el10.noarch Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 39 kB/s | 1.6 kB 00:00 CentOS Stream 10 - BaseOS 11 MB/s | 6.6 MB 00:00 CentOS Stream 10 - AppStream 6.2 MB/s | 3.1 MB 00:00 CentOS Stream 10 - CRB 1.5 MB/s | 715 kB 00:00 CentOS Stream 10 - Extras packages 15 kB/s | 3.8 kB 00:00 Extra Packages for Enterprise Linux 10 - x86_64 42 MB/s | 3.7 MB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: bash x86_64 5.2.26-6.el10 baseos 1.8 M bzip2 x86_64 1.0.8-25.el10 baseos 54 k centos-stream-release noarch 10.0-8.el10 baseos 29 k coreutils x86_64 9.5-6.el10 baseos 1.1 M cpio x86_64 2.15-3.el10 baseos 292 k diffutils x86_64 3.10-8.el10 baseos 409 k epel-rpm-macros noarch 10-3.el10_0 epel 7.5 k findutils x86_64 1:4.10.0-5.el10 baseos 551 k gawk x86_64 5.3.0-6.el10 baseos 1.1 M glibc-minimal-langpack x86_64 2.39-37.el10 baseos 81 k grep x86_64 3.11-10.el10 baseos 301 k gzip x86_64 1.13-3.el10 baseos 170 k info x86_64 7.1-6.el10 baseos 183 k patch x86_64 2.7.6-26.el10 appstream 132 k redhat-rpm-config noarch 288-1.el10 appstream 79 k rpm-build x86_64 4.19.1.1-12.el10 appstream 77 k sed x86_64 4.9-3.el10 baseos 318 k shadow-utils x86_64 2:4.15.0-5.el10 baseos 1.3 M tar x86_64 2:1.35-7.el10 baseos 863 k unzip x86_64 6.0-66.el10 baseos 189 k util-linux x86_64 2.40.2-10.el10 baseos 1.2 M which x86_64 2.21-43.el10 baseos 42 k xz x86_64 1:5.6.2-3.el10 baseos 482 k Installing dependencies: alternatives x86_64 1.30-2.el10 baseos 42 k ansible-srpm-macros noarch 1-16.1.el10_0 epel 20 k audit-libs x86_64 4.0.3-1.el10 baseos 128 k authselect x86_64 1.5.0-8.el10 baseos 144 k authselect-libs x86_64 1.5.0-8.el10 baseos 223 k basesystem noarch 11-22.el10 baseos 4.3 k binutils x86_64 2.41-52.el10 baseos 6.2 M binutils-gold x86_64 2.41-52.el10 baseos 737 k bzip2-libs x86_64 1.0.8-25.el10 baseos 42 k ca-certificates noarch 2024.2.69_v8.0.303-102.3.el10 baseos 1.1 M centos-gpg-keys noarch 10.0-8.el10 baseos 14 k centos-stream-repos noarch 10.0-8.el10 baseos 12 k coreutils-common x86_64 9.5-6.el10 baseos 2.1 M cracklib x86_64 2.9.11-8.el10 baseos 96 k cracklib-dicts x86_64 2.9.11-8.el10 baseos 3.6 M crypto-policies noarch 20250214-1.gitfd9b9b9.el10 baseos 98 k curl x86_64 8.9.1-5.el10 baseos 312 k cyrus-sasl-lib x86_64 2.1.28-27.el10 baseos 106 k debugedit x86_64 5.1-4.el10 appstream 76 k dwz x86_64 0.15-7.el10 appstream 139 k ed x86_64 1.20-5.el10 baseos 83 k efi-srpm-macros noarch 6-6.el10 appstream 24 k elfutils x86_64 0.192-5.el10 baseos 509 k elfutils-debuginfod-client x86_64 0.192-5.el10 baseos 45 k elfutils-default-yama-scope noarch 0.192-5.el10 baseos 13 k elfutils-libelf x86_64 0.192-5.el10 baseos 205 k elfutils-libs x86_64 0.192-5.el10 baseos 253 k file x86_64 5.45-7.el10 baseos 50 k file-libs x86_64 5.45-7.el10 baseos 763 k filesystem x86_64 3.18-16.el10 baseos 4.7 M fonts-srpm-macros noarch 1:2.0.5-18.el10 appstream 27 k forge-srpm-macros noarch 0.4.0-6.el10 appstream 21 k gdb-minimal x86_64 14.2-4.el10 appstream 3.9 M gdbm x86_64 1:1.23-11.el10 baseos 151 k gdbm-libs x86_64 1:1.23-11.el10 baseos 57 k ghc-srpm-macros noarch 1.9.1-1.el10_0 epel 8.9 k glibc x86_64 2.39-37.el10 baseos 2.1 M glibc-common x86_64 2.39-37.el10 baseos 376 k glibc-gconv-extra x86_64 2.39-37.el10 baseos 1.7 M gmp x86_64 1:6.2.1-10.el10 baseos 317 k go-srpm-macros noarch 3.6.0-4.el10 appstream 28 k jansson x86_64 2.14-3.el10 baseos 46 k json-c x86_64 0.18-3.el10 baseos 45 k kernel-srpm-macros noarch 1.0-25.el10 appstream 11 k keyutils-libs x86_64 1.6.3-5.el10 baseos 33 k krb5-libs x86_64 1.21.3-7.el10 baseos 767 k libacl x86_64 2.3.2-4.el10 baseos 25 k libarchive x86_64 3.7.7-1.el10 baseos 416 k libattr x86_64 2.5.2-5.el10 baseos 19 k libblkid x86_64 2.40.2-10.el10 baseos 127 k libbrotli x86_64 1.1.0-6.el10 baseos 346 k libcap x86_64 2.69-7.el10 baseos 91 k libcap-ng x86_64 0.8.4-6.el10 baseos 33 k libcom_err x86_64 1.47.1-3.el10 baseos 27 k libcurl x86_64 8.9.1-5.el10 baseos 360 k libeconf x86_64 0.6.2-4.el10 baseos 33 k libevent x86_64 2.1.12-16.el10 baseos 261 k libfdisk x86_64 2.40.2-10.el10 baseos 161 k libffi x86_64 3.4.4-9.el10 baseos 41 k libgcc x86_64 14.2.1-7.el10 baseos 135 k libgomp x86_64 14.2.1-7.el10 baseos 352 k libidn2 x86_64 2.3.7-3.el10 baseos 118 k libmount x86_64 2.40.2-10.el10 baseos 157 k libnghttp2 x86_64 1.64.0-2.el10 baseos 78 k libpkgconf x86_64 2.1.0-3.el10 baseos 39 k libpsl x86_64 0.21.5-6.el10 baseos 65 k libpwquality x86_64 1.4.5-12.el10 baseos 123 k libselinux x86_64 3.8-1.el10 baseos 98 k libsemanage x86_64 3.8.1-1.el10 baseos 122 k libsepol x86_64 3.8-1.el10 baseos 348 k libsmartcols x86_64 2.40.2-10.el10 baseos 85 k libssh x86_64 0.11.1-1.el10 baseos 234 k libssh-config noarch 0.11.1-1.el10 baseos 9.7 k libstdc++ x86_64 14.2.1-7.el10 baseos 847 k libtasn1 x86_64 4.20.0-1.el10 baseos 75 k libunistring x86_64 1.1-10.el10 baseos 548 k libutempter x86_64 1.2.1-15.el10 baseos 27 k libuuid x86_64 2.40.2-10.el10 baseos 30 k libverto x86_64 0.3.2-10.el10 baseos 22 k libxcrypt x86_64 4.4.36-10.el10 baseos 120 k libxml2 x86_64 2.12.5-5.el10 baseos 692 k libzstd x86_64 1.5.5-9.el10 baseos 292 k lua-libs x86_64 5.4.6-7.el10 baseos 132 k lua-srpm-macros noarch 1-15.el10 appstream 9.8 k lz4-libs x86_64 1.9.4-8.el10 baseos 68 k mpfr x86_64 4.2.1-5.el10 baseos 346 k ncurses-base noarch 6.4-14.20240127.el10 baseos 100 k ncurses-libs x86_64 6.4-14.20240127.el10 baseos 338 k ocaml-srpm-macros noarch 10-4.el10 appstream 10 k openblas-srpm-macros noarch 2-19.el10 appstream 8.7 k openldap x86_64 2.6.8-3.el10 baseos 240 k openssl-libs x86_64 1:3.2.2-16.el10 baseos 2.3 M p11-kit x86_64 0.25.5-7.el10 baseos 497 k p11-kit-trust x86_64 0.25.5-7.el10 baseos 134 k package-notes-srpm-macros noarch 0.5-13.el10 appstream 10 k pam x86_64 1.6.1-7.el10 baseos 585 k pam-libs x86_64 1.6.1-7.el10 baseos 58 k pcre2 x86_64 10.44-1.el10.3 baseos 248 k pcre2-syntax noarch 10.44-1.el10.3 baseos 151 k perl-srpm-macros noarch 1-57.el10 appstream 9.5 k pkgconf x86_64 2.1.0-3.el10 baseos 45 k pkgconf-m4 noarch 2.1.0-3.el10 baseos 15 k pkgconf-pkg-config x86_64 2.1.0-3.el10 baseos 11 k popt x86_64 1.19-8.el10 baseos 66 k publicsuffix-list-dafsa noarch 20240107-5.el10 baseos 59 k pyproject-srpm-macros noarch 1.16.2-1.el10 appstream 15 k python-srpm-macros noarch 3.12-9.1.el10 appstream 24 k qt6-srpm-macros noarch 6.8.1-4.el10 appstream 11 k readline x86_64 8.2-11.el10 baseos 214 k rpm x86_64 4.19.1.1-12.el10 baseos 565 k rpm-build-libs x86_64 4.19.1.1-12.el10 baseos 95 k rpm-libs x86_64 4.19.1.1-12.el10 baseos 310 k rpm-sequoia x86_64 1.6.0-6.el10 baseos 874 k rust-toolset-srpm-macros noarch 1.84.1-1.el10 appstream 13 k setup noarch 2.14.5-4.el10 baseos 154 k sqlite-libs x86_64 3.46.1-3.el10 baseos 747 k systemd-libs x86_64 257-9.el10 baseos 818 k util-linux-core x86_64 2.40.2-10.el10 baseos 548 k xz-libs x86_64 1:5.6.2-3.el10 baseos 113 k zip x86_64 3.0-44.el10 baseos 270 k zlib-ng-compat x86_64 2.2.3-1.el10 baseos 76 k zstd x86_64 1.5.5-9.el10 baseos 464 k Transaction Summary ================================================================================ Install 145 Packages Total download size: 59 M Installed size: 185 M Downloading Packages: (1/145): audit-libs-4.0.3-1.el10.x86_64.rpm 9.4 MB/s | 128 kB 00:00 (2/145): alternatives-1.30-2.el10.x86_64.rpm 2.9 MB/s | 42 kB 00:00 (3/145): authselect-1.5.0-8.el10.x86_64.rpm 9.0 MB/s | 144 kB 00:00 (4/145): basesystem-11-22.el10.noarch.rpm 1.9 MB/s | 4.3 kB 00:00 (5/145): authselect-libs-1.5.0-8.el10.x86_64.rp 37 MB/s | 223 kB 00:00 (6/145): bash-5.2.26-6.el10.x86_64.rpm 152 MB/s | 1.8 MB 00:00 (7/145): binutils-gold-2.41-52.el10.x86_64.rpm 66 MB/s | 737 kB 00:00 (8/145): bzip2-1.0.8-25.el10.x86_64.rpm 8.0 MB/s | 54 kB 00:00 (9/145): bzip2-libs-1.0.8-25.el10.x86_64.rpm 9.5 MB/s | 42 kB 00:00 (10/145): centos-gpg-keys-10.0-8.el10.noarch.rp 4.1 MB/s | 14 kB 00:00 (11/145): ca-certificates-2024.2.69_v8.0.303-10 103 MB/s | 1.1 MB 00:00 (12/145): binutils-2.41-52.el10.x86_64.rpm 179 MB/s | 6.2 MB 00:00 (13/145): centos-stream-repos-10.0-8.el10.noarc 2.0 MB/s | 12 kB 00:00 (14/145): centos-stream-release-10.0-8.el10.noa 2.2 MB/s | 29 kB 00:00 (15/145): cpio-2.15-3.el10.x86_64.rpm 76 MB/s | 292 kB 00:00 (16/145): coreutils-9.5-6.el10.x86_64.rpm 152 MB/s | 1.1 MB 00:00 (17/145): cracklib-2.9.11-8.el10.x86_64.rpm 21 MB/s | 96 kB 00:00 (18/145): coreutils-common-9.5-6.el10.x86_64.rp 172 MB/s | 2.1 MB 00:00 (19/145): crypto-policies-20250214-1.gitfd9b9b9 21 MB/s | 98 kB 00:00 (20/145): cyrus-sasl-lib-2.1.28-27.el10.x86_64. 29 MB/s | 106 kB 00:00 (21/145): curl-8.9.1-5.el10.x86_64.rpm 39 MB/s | 312 kB 00:00 (22/145): diffutils-3.10-8.el10.x86_64.rpm 64 MB/s | 409 kB 00:00 (23/145): cracklib-dicts-2.9.11-8.el10.x86_64.r 184 MB/s | 3.6 MB 00:00 (24/145): ed-1.20-5.el10.x86_64.rpm 11 MB/s | 83 kB 00:00 (25/145): elfutils-0.192-5.el10.x86_64.rpm 98 MB/s | 509 kB 00:00 (26/145): elfutils-debuginfod-client-0.192-5.el 13 MB/s | 45 kB 00:00 (27/145): elfutils-default-yama-scope-0.192-5.e 3.8 MB/s | 13 kB 00:00 (28/145): elfutils-libelf-0.192-5.el10.x86_64.r 55 MB/s | 205 kB 00:00 (29/145): file-5.45-7.el10.x86_64.rpm 19 MB/s | 50 kB 00:00 (30/145): elfutils-libs-0.192-5.el10.x86_64.rpm 70 MB/s | 253 kB 00:00 (31/145): file-libs-5.45-7.el10.x86_64.rpm 131 MB/s | 763 kB 00:00 (32/145): findutils-4.10.0-5.el10.x86_64.rpm 92 MB/s | 551 kB 00:00 (33/145): gawk-5.3.0-6.el10.x86_64.rpm 140 MB/s | 1.1 MB 00:00 (34/145): gdbm-1.23-11.el10.x86_64.rpm 21 MB/s | 151 kB 00:00 (35/145): gdbm-libs-1.23-11.el10.x86_64.rpm 7.4 MB/s | 57 kB 00:00 (36/145): filesystem-3.18-16.el10.x86_64.rpm 180 MB/s | 4.7 MB 00:00 (37/145): glibc-common-2.39-37.el10.x86_64.rpm 48 MB/s | 376 kB 00:00 (38/145): glibc-2.39-37.el10.x86_64.rpm 127 MB/s | 2.1 MB 00:00 (39/145): glibc-minimal-langpack-2.39-37.el10.x 19 MB/s | 81 kB 00:00 (40/145): glibc-gconv-extra-2.39-37.el10.x86_64 214 MB/s | 1.7 MB 00:00 (41/145): gmp-6.2.1-10.el10.x86_64.rpm 68 MB/s | 317 kB 00:00 (42/145): grep-3.11-10.el10.x86_64.rpm 72 MB/s | 301 kB 00:00 (43/145): gzip-1.13-3.el10.x86_64.rpm 50 MB/s | 170 kB 00:00 (44/145): info-7.1-6.el10.x86_64.rpm 56 MB/s | 183 kB 00:00 (45/145): jansson-2.14-3.el10.x86_64.rpm 12 MB/s | 46 kB 00:00 (46/145): json-c-0.18-3.el10.x86_64.rpm 11 MB/s | 45 kB 00:00 (47/145): keyutils-libs-1.6.3-5.el10.x86_64.rpm 5.3 MB/s | 33 kB 00:00 (48/145): krb5-libs-1.21.3-7.el10.x86_64.rpm 141 MB/s | 767 kB 00:00 (49/145): libacl-2.3.2-4.el10.x86_64.rpm 4.8 MB/s | 25 kB 00:00 (50/145): libattr-2.5.2-5.el10.x86_64.rpm 8.3 MB/s | 19 kB 00:00 (51/145): libarchive-3.7.7-1.el10.x86_64.rpm 106 MB/s | 416 kB 00:00 (52/145): libblkid-2.40.2-10.el10.x86_64.rpm 44 MB/s | 127 kB 00:00 (53/145): libbrotli-1.1.0-6.el10.x86_64.rpm 100 MB/s | 346 kB 00:00 (54/145): libcap-2.69-7.el10.x86_64.rpm 33 MB/s | 91 kB 00:00 (55/145): libcap-ng-0.8.4-6.el10.x86_64.rpm 15 MB/s | 33 kB 00:00 (56/145): libcom_err-1.47.1-3.el10.x86_64.rpm 10 MB/s | 27 kB 00:00 (57/145): libeconf-0.6.2-4.el10.x86_64.rpm 17 MB/s | 33 kB 00:00 (58/145): libcurl-8.9.1-5.el10.x86_64.rpm 94 MB/s | 360 kB 00:00 (59/145): libevent-2.1.12-16.el10.x86_64.rpm 57 MB/s | 261 kB 00:00 (60/145): libfdisk-2.40.2-10.el10.x86_64.rpm 37 MB/s | 161 kB 00:00 (61/145): libffi-3.4.4-9.el10.x86_64.rpm 9.2 MB/s | 41 kB 00:00 (62/145): libgcc-14.2.1-7.el10.x86_64.rpm 43 MB/s | 135 kB 00:00 (63/145): libgomp-14.2.1-7.el10.x86_64.rpm 98 MB/s | 352 kB 00:00 (64/145): libmount-2.40.2-10.el10.x86_64.rpm 52 MB/s | 157 kB 00:00 (65/145): libidn2-2.3.7-3.el10.x86_64.rpm 25 MB/s | 118 kB 00:00 (66/145): libnghttp2-1.64.0-2.el10.x86_64.rpm 21 MB/s | 78 kB 00:00 (67/145): libpkgconf-2.1.0-3.el10.x86_64.rpm 17 MB/s | 39 kB 00:00 (68/145): libpsl-0.21.5-6.el10.x86_64.rpm 29 MB/s | 65 kB 00:00 (69/145): libpwquality-1.4.5-12.el10.x86_64.rpm 46 MB/s | 123 kB 00:00 (70/145): libselinux-3.8-1.el10.x86_64.rpm 38 MB/s | 98 kB 00:00 (71/145): libsemanage-3.8.1-1.el10.x86_64.rpm 44 MB/s | 122 kB 00:00 (72/145): libsmartcols-2.40.2-10.el10.x86_64.rp 33 MB/s | 85 kB 00:00 (73/145): libsepol-3.8-1.el10.x86_64.rpm 82 MB/s | 348 kB 00:00 (74/145): libssh-0.11.1-1.el10.x86_64.rpm 60 MB/s | 234 kB 00:00 (75/145): libssh-config-0.11.1-1.el10.noarch.rp 5.5 MB/s | 9.7 kB 00:00 (76/145): libtasn1-4.20.0-1.el10.x86_64.rpm 22 MB/s | 75 kB 00:00 (77/145): libstdc++-14.2.1-7.el10.x86_64.rpm 149 MB/s | 847 kB 00:00 (78/145): libunistring-1.1-10.el10.x86_64.rpm 80 MB/s | 548 kB 00:00 (79/145): libutempter-1.2.1-15.el10.x86_64.rpm 5.4 MB/s | 27 kB 00:00 (80/145): libuuid-2.40.2-10.el10.x86_64.rpm 6.7 MB/s | 30 kB 00:00 (81/145): libverto-0.3.2-10.el10.x86_64.rpm 6.5 MB/s | 22 kB 00:00 (82/145): libxcrypt-4.4.36-10.el10.x86_64.rpm 30 MB/s | 120 kB 00:00 (83/145): libzstd-1.5.5-9.el10.x86_64.rpm 76 MB/s | 292 kB 00:00 (84/145): libxml2-2.12.5-5.el10.x86_64.rpm 110 MB/s | 692 kB 00:00 (85/145): lua-libs-5.4.6-7.el10.x86_64.rpm 36 MB/s | 132 kB 00:00 (86/145): lz4-libs-1.9.4-8.el10.x86_64.rpm 27 MB/s | 68 kB 00:00 (87/145): mpfr-4.2.1-5.el10.x86_64.rpm 102 MB/s | 346 kB 00:00 (88/145): ncurses-base-6.4-14.20240127.el10.noa 30 MB/s | 100 kB 00:00 (89/145): ncurses-libs-6.4-14.20240127.el10.x86 71 MB/s | 338 kB 00:00 (90/145): openldap-2.6.8-3.el10.x86_64.rpm 53 MB/s | 240 kB 00:00 (91/145): p11-kit-0.25.5-7.el10.x86_64.rpm 89 MB/s | 497 kB 00:00 (92/145): p11-kit-trust-0.25.5-7.el10.x86_64.rp 21 MB/s | 134 kB 00:00 (93/145): openssl-libs-3.2.2-16.el10.x86_64.rpm 176 MB/s | 2.3 MB 00:00 (94/145): pam-libs-1.6.1-7.el10.x86_64.rpm 17 MB/s | 58 kB 00:00 (95/145): pam-1.6.1-7.el10.x86_64.rpm 76 MB/s | 585 kB 00:00 (96/145): pcre2-10.44-1.el10.3.x86_64.rpm 75 MB/s | 248 kB 00:00 (97/145): pcre2-syntax-10.44-1.el10.3.noarch.rp 47 MB/s | 151 kB 00:00 (98/145): pkgconf-2.1.0-3.el10.x86_64.rpm 17 MB/s | 45 kB 00:00 (99/145): pkgconf-pkg-config-2.1.0-3.el10.x86_6 6.0 MB/s | 11 kB 00:00 (100/145): pkgconf-m4-2.1.0-3.el10.noarch.rpm 5.4 MB/s | 15 kB 00:00 (101/145): popt-1.19-8.el10.x86_64.rpm 26 MB/s | 66 kB 00:00 (102/145): publicsuffix-list-dafsa-20240107-5.e 20 MB/s | 59 kB 00:00 (103/145): readline-8.2-11.el10.x86_64.rpm 64 MB/s | 214 kB 00:00 (104/145): rpm-4.19.1.1-12.el10.x86_64.rpm 104 MB/s | 565 kB 00:00 (105/145): rpm-build-libs-4.19.1.1-12.el10.x86_ 25 MB/s | 95 kB 00:00 (106/145): rpm-libs-4.19.1.1-12.el10.x86_64.rpm 79 MB/s | 310 kB 00:00 (107/145): sed-4.9-3.el10.x86_64.rpm 88 MB/s | 318 kB 00:00 (108/145): rpm-sequoia-1.6.0-6.el10.x86_64.rpm 157 MB/s | 874 kB 00:00 (109/145): setup-2.14.5-4.el10.noarch.rpm 31 MB/s | 154 kB 00:00 (110/145): shadow-utils-4.15.0-5.el10.x86_64.rp 142 MB/s | 1.3 MB 00:00 (111/145): sqlite-libs-3.46.1-3.el10.x86_64.rpm 75 MB/s | 747 kB 00:00 (112/145): systemd-libs-257-9.el10.x86_64.rpm 75 MB/s | 818 kB 00:00 (113/145): unzip-6.0-66.el10.x86_64.rpm 50 MB/s | 189 kB 00:00 (114/145): tar-1.35-7.el10.x86_64.rpm 122 MB/s | 863 kB 00:00 (115/145): util-linux-core-2.40.2-10.el10.x86_6 90 MB/s | 548 kB 00:00 (116/145): util-linux-2.40.2-10.el10.x86_64.rpm 121 MB/s | 1.2 MB 00:00 (117/145): which-2.21-43.el10.x86_64.rpm 6.3 MB/s | 42 kB 00:00 (118/145): xz-5.6.2-3.el10.x86_64.rpm 117 MB/s | 482 kB 00:00 (119/145): xz-libs-5.6.2-3.el10.x86_64.rpm 28 MB/s | 113 kB 00:00 (120/145): zip-3.0-44.el10.x86_64.rpm 51 MB/s | 270 kB 00:00 (121/145): zlib-ng-compat-2.2.3-1.el10.x86_64.r 17 MB/s | 76 kB 00:00 (122/145): zstd-1.5.5-9.el10.x86_64.rpm 101 MB/s | 464 kB 00:00 (123/145): debugedit-5.1-4.el10.x86_64.rpm 13 MB/s | 76 kB 00:00 (124/145): dwz-0.15-7.el10.x86_64.rpm 21 MB/s | 139 kB 00:00 (125/145): efi-srpm-macros-6-6.el10.noarch.rpm 4.9 MB/s | 24 kB 00:00 (126/145): fonts-srpm-macros-2.0.5-18.el10.noar 8.4 MB/s | 27 kB 00:00 (127/145): forge-srpm-macros-0.4.0-6.el10.noarc 9.8 MB/s | 21 kB 00:00 (128/145): go-srpm-macros-3.6.0-4.el10.noarch.r 11 MB/s | 28 kB 00:00 (129/145): kernel-srpm-macros-1.0-25.el10.noarc 2.4 MB/s | 11 kB 00:00 (130/145): lua-srpm-macros-1-15.el10.noarch.rpm 2.1 MB/s | 9.8 kB 00:00 (131/145): ocaml-srpm-macros-10-4.el10.noarch.r 1.8 MB/s | 10 kB 00:00 (132/145): openblas-srpm-macros-2-19.el10.noarc 2.1 MB/s | 8.7 kB 00:00 (133/145): gdb-minimal-14.2-4.el10.x86_64.rpm 202 MB/s | 3.9 MB 00:00 (134/145): package-notes-srpm-macros-0.5-13.el1 1.4 MB/s | 10 kB 00:00 (135/145): patch-2.7.6-26.el10.x86_64.rpm 17 MB/s | 132 kB 00:00 (136/145): perl-srpm-macros-1-57.el10.noarch.rp 3.9 MB/s | 9.5 kB 00:00 (137/145): pyproject-srpm-macros-1.16.2-1.el10. 5.9 MB/s | 15 kB 00:00 (138/145): python-srpm-macros-3.12-9.1.el10.noa 10 MB/s | 24 kB 00:00 (139/145): qt6-srpm-macros-6.8.1-4.el10.noarch. 4.7 MB/s | 11 kB 00:00 (140/145): redhat-rpm-config-288-1.el10.noarch. 27 MB/s | 79 kB 00:00 (141/145): rpm-build-4.19.1.1-12.el10.x86_64.rp 24 MB/s | 77 kB 00:00 (142/145): rust-toolset-srpm-macros-1.84.1-1.el 6.4 MB/s | 13 kB 00:00 (143/145): ansible-srpm-macros-1-16.1.el10_0.no 3.1 MB/s | 20 kB 00:00 (144/145): epel-rpm-macros-10-3.el10_0.noarch.r 1.2 MB/s | 7.5 kB 00:00 (145/145): ghc-srpm-macros-1.9.1-1.el10_0.noarc 1.1 MB/s | 8.9 kB 00:00 -------------------------------------------------------------------------------- Total 140 MB/s | 59 MB 00:00 CentOS Stream 10 - BaseOS 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Official Signing Key) " Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 Key imported successfully Extra Packages for Enterprise Linux 10 - x86_64 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0xE37ED158: Userid : "Fedora (epel10) " Fingerprint: 7D8D 15CB FC4E 6268 8591 FB26 33D9 8517 E37E D158 From : /usr/share/distribution-gpg-keys/epel/RPM-GPG-KEY-EPEL-10 Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-16.el10.x86_64 1/1 Preparing : 1/1 Installing : libgcc-14.2.1-7.el10.x86_64 1/145 Running scriptlet: libgcc-14.2.1-7.el10.x86_64 1/145 Installing : ghc-srpm-macros-1.9.1-1.el10_0.noarch 2/145 Installing : ansible-srpm-macros-1-16.1.el10_0.noarch 3/145 Installing : rust-toolset-srpm-macros-1.84.1-1.el10.noarch 4/145 Installing : qt6-srpm-macros-6.8.1-4.el10.noarch 5/145 Installing : perl-srpm-macros-1-57.el10.noarch 6/145 Installing : package-notes-srpm-macros-0.5-13.el10.noarch 7/145 Installing : openblas-srpm-macros-2-19.el10.noarch 8/145 Installing : ocaml-srpm-macros-10-4.el10.noarch 9/145 Installing : kernel-srpm-macros-1.0-25.el10.noarch 10/145 Installing : publicsuffix-list-dafsa-20240107-5.el10.noarch 11/145 Installing : pkgconf-m4-2.1.0-3.el10.noarch 12/145 Installing : pcre2-syntax-10.44-1.el10.3.noarch 13/145 Installing : ncurses-base-6.4-14.20240127.el10.noarch 14/145 Installing : libssh-config-0.11.1-1.el10.noarch 15/145 Installing : coreutils-common-9.5-6.el10.x86_64 16/145 Installing : centos-gpg-keys-10.0-8.el10.noarch 17/145 Installing : centos-stream-repos-10.0-8.el10.noarch 18/145 Installing : centos-stream-release-10.0-8.el10.noarch 19/145 Installing : setup-2.14.5-4.el10.noarch 20/145 Running scriptlet: setup-2.14.5-4.el10.noarch 20/145 Installing : filesystem-3.18-16.el10.x86_64 21/145 Installing : basesystem-11-22.el10.noarch 22/145 Installing : glibc-gconv-extra-2.39-37.el10.x86_64 23/145 Running scriptlet: glibc-gconv-extra-2.39-37.el10.x86_64 23/145 Installing : glibc-minimal-langpack-2.39-37.el10.x86_64 24/145 Installing : glibc-common-2.39-37.el10.x86_64 25/145 Running scriptlet: glibc-2.39-37.el10.x86_64 26/145 Installing : glibc-2.39-37.el10.x86_64 26/145 Running scriptlet: glibc-2.39-37.el10.x86_64 26/145 Installing : ncurses-libs-6.4-14.20240127.el10.x86_64 27/145 Installing : bash-5.2.26-6.el10.x86_64 28/145 Running scriptlet: bash-5.2.26-6.el10.x86_64 28/145 Installing : zlib-ng-compat-2.2.3-1.el10.x86_64 29/145 Installing : bzip2-libs-1.0.8-25.el10.x86_64 30/145 Installing : xz-libs-1:5.6.2-3.el10.x86_64 31/145 Installing : readline-8.2-11.el10.x86_64 32/145 Installing : libstdc++-14.2.1-7.el10.x86_64 33/145 Installing : libuuid-2.40.2-10.el10.x86_64 34/145 Installing : popt-1.19-8.el10.x86_64 35/145 Installing : libblkid-2.40.2-10.el10.x86_64 36/145 Installing : gmp-1:6.2.1-10.el10.x86_64 37/145 Installing : libattr-2.5.2-5.el10.x86_64 38/145 Installing : libacl-2.3.2-4.el10.x86_64 39/145 Installing : libxcrypt-4.4.36-10.el10.x86_64 40/145 Installing : libzstd-1.5.5-9.el10.x86_64 41/145 Installing : elfutils-libelf-0.192-5.el10.x86_64 42/145 Running scriptlet: crypto-policies-20250214-1.gitfd9b9b9.el10.noarc 43/145 Installing : crypto-policies-20250214-1.gitfd9b9b9.el10.noarc 43/145 Running scriptlet: crypto-policies-20250214-1.gitfd9b9b9.el10.noarc 43/145 Installing : gdbm-libs-1:1.23-11.el10.x86_64 44/145 Installing : libeconf-0.6.2-4.el10.x86_64 45/145 Installing : dwz-0.15-7.el10.x86_64 46/145 Installing : mpfr-4.2.1-5.el10.x86_64 47/145 Installing : gawk-5.3.0-6.el10.x86_64 48/145 Installing : unzip-6.0-66.el10.x86_64 49/145 Installing : file-libs-5.45-7.el10.x86_64 50/145 Installing : file-5.45-7.el10.x86_64 51/145 Installing : alternatives-1.30-2.el10.x86_64 52/145 Installing : jansson-2.14-3.el10.x86_64 53/145 Installing : libcap-ng-0.8.4-6.el10.x86_64 54/145 Installing : audit-libs-4.0.3-1.el10.x86_64 55/145 Installing : pam-libs-1.6.1-7.el10.x86_64 56/145 Installing : libcap-2.69-7.el10.x86_64 57/145 Installing : systemd-libs-257-9.el10.x86_64 58/145 Installing : libsepol-3.8-1.el10.x86_64 59/145 Installing : libsmartcols-2.40.2-10.el10.x86_64 60/145 Installing : libtasn1-4.20.0-1.el10.x86_64 61/145 Installing : libunistring-1.1-10.el10.x86_64 62/145 Installing : libidn2-2.3.7-3.el10.x86_64 63/145 Installing : lua-libs-5.4.6-7.el10.x86_64 64/145 Installing : lz4-libs-1.9.4-8.el10.x86_64 65/145 Installing : pcre2-10.44-1.el10.3.x86_64 66/145 Installing : libselinux-3.8-1.el10.x86_64 67/145 Installing : sed-4.9-3.el10.x86_64 68/145 Installing : findutils-1:4.10.0-5.el10.x86_64 69/145 Installing : grep-3.11-10.el10.x86_64 70/145 Installing : xz-1:5.6.2-3.el10.x86_64 71/145 Installing : libmount-2.40.2-10.el10.x86_64 72/145 Installing : util-linux-core-2.40.2-10.el10.x86_64 73/145 Installing : libsemanage-3.8.1-1.el10.x86_64 74/145 Installing : shadow-utils-2:4.15.0-5.el10.x86_64 75/145 Running scriptlet: libutempter-1.2.1-15.el10.x86_64 76/145 Installing : libutempter-1.2.1-15.el10.x86_64 76/145 Installing : tar-2:1.35-7.el10.x86_64 77/145 Installing : zstd-1.5.5-9.el10.x86_64 78/145 Installing : libpsl-0.21.5-6.el10.x86_64 79/145 Installing : zip-3.0-44.el10.x86_64 80/145 Installing : cyrus-sasl-lib-2.1.28-27.el10.x86_64 81/145 Installing : gdbm-1:1.23-11.el10.x86_64 82/145 Installing : libfdisk-2.40.2-10.el10.x86_64 83/145 Installing : libxml2-2.12.5-5.el10.x86_64 84/145 Installing : bzip2-1.0.8-25.el10.x86_64 85/145 Installing : sqlite-libs-3.46.1-3.el10.x86_64 86/145 Installing : ed-1.20-5.el10.x86_64 87/145 Installing : patch-2.7.6-26.el10.x86_64 88/145 Installing : elfutils-default-yama-scope-0.192-5.el10.noarch 89/145 Running scriptlet: elfutils-default-yama-scope-0.192-5.el10.noarch 89/145 Installing : cpio-2.15-3.el10.x86_64 90/145 Installing : diffutils-3.10-8.el10.x86_64 91/145 Installing : json-c-0.18-3.el10.x86_64 92/145 Installing : keyutils-libs-1.6.3-5.el10.x86_64 93/145 Installing : libbrotli-1.1.0-6.el10.x86_64 94/145 Installing : libcom_err-1.47.1-3.el10.x86_64 95/145 Installing : libffi-3.4.4-9.el10.x86_64 96/145 Installing : p11-kit-0.25.5-7.el10.x86_64 97/145 Installing : p11-kit-trust-0.25.5-7.el10.x86_64 98/145 Running scriptlet: p11-kit-trust-0.25.5-7.el10.x86_64 98/145 Installing : openssl-libs-1:3.2.2-16.el10.x86_64 99/145 Installing : coreutils-9.5-6.el10.x86_64 100/145 Running scriptlet: ca-certificates-2024.2.69_v8.0.303-102.3.el10.no 101/145 Installing : ca-certificates-2024.2.69_v8.0.303-102.3.el10.no 101/145 Running scriptlet: ca-certificates-2024.2.69_v8.0.303-102.3.el10.no 101/145 Installing : authselect-libs-1.5.0-8.el10.x86_64 102/145 Installing : gzip-1.13-3.el10.x86_64 103/145 Installing : cracklib-2.9.11-8.el10.x86_64 104/145 Installing : libarchive-3.7.7-1.el10.x86_64 105/145 Installing : cracklib-dicts-2.9.11-8.el10.x86_64 106/145 Installing : libpwquality-1.4.5-12.el10.x86_64 107/145 Installing : pam-1.6.1-7.el10.x86_64 108/145 Installing : libevent-2.1.12-16.el10.x86_64 109/145 Installing : openldap-2.6.8-3.el10.x86_64 110/145 Installing : rpm-sequoia-1.6.0-6.el10.x86_64 111/145 Installing : rpm-libs-4.19.1.1-12.el10.x86_64 112/145 Installing : libgomp-14.2.1-7.el10.x86_64 113/145 Installing : libnghttp2-1.64.0-2.el10.x86_64 114/145 Installing : libpkgconf-2.1.0-3.el10.x86_64 115/145 Installing : pkgconf-2.1.0-3.el10.x86_64 116/145 Installing : pkgconf-pkg-config-2.1.0-3.el10.x86_64 117/145 Installing : libverto-0.3.2-10.el10.x86_64 118/145 Installing : krb5-libs-1.21.3-7.el10.x86_64 119/145 Installing : libssh-0.11.1-1.el10.x86_64 120/145 Installing : libcurl-8.9.1-5.el10.x86_64 121/145 Installing : elfutils-libs-0.192-5.el10.x86_64 122/145 Installing : elfutils-debuginfod-client-0.192-5.el10.x86_64 123/145 Installing : binutils-gold-2.41-52.el10.x86_64 124/145 Running scriptlet: binutils-gold-2.41-52.el10.x86_64 124/145 Installing : binutils-2.41-52.el10.x86_64 125/145 Running scriptlet: binutils-2.41-52.el10.x86_64 125/145 Installing : elfutils-0.192-5.el10.x86_64 126/145 Installing : gdb-minimal-14.2-4.el10.x86_64 127/145 Installing : debugedit-5.1-4.el10.x86_64 128/145 Installing : rpm-build-libs-4.19.1.1-12.el10.x86_64 129/145 Installing : curl-8.9.1-5.el10.x86_64 130/145 Running scriptlet: rpm-4.19.1.1-12.el10.x86_64 131/145 Installing : rpm-4.19.1.1-12.el10.x86_64 131/145 Installing : efi-srpm-macros-6-6.el10.noarch 132/145 Installing : lua-srpm-macros-1-15.el10.noarch 133/145 Installing : fonts-srpm-macros-1:2.0.5-18.el10.noarch 134/145 Installing : forge-srpm-macros-0.4.0-6.el10.noarch 135/145 Installing : go-srpm-macros-3.6.0-4.el10.noarch 136/145 Installing : python-srpm-macros-3.12-9.1.el10.noarch 137/145 Installing : redhat-rpm-config-288-1.el10.noarch 138/145 Installing : rpm-build-4.19.1.1-12.el10.x86_64 139/145 Installing : pyproject-srpm-macros-1.16.2-1.el10.noarch 140/145 Installing : util-linux-2.40.2-10.el10.x86_64 141/145 Running scriptlet: util-linux-2.40.2-10.el10.x86_64 141/145 Installing : authselect-1.5.0-8.el10.x86_64 142/145 Installing : which-2.21-43.el10.x86_64 143/145 Installing : info-7.1-6.el10.x86_64 144/145 Installing : epel-rpm-macros-10-3.el10_0.noarch 145/145 Running scriptlet: filesystem-3.18-16.el10.x86_64 145/145 Running scriptlet: ca-certificates-2024.2.69_v8.0.303-102.3.el10.no 145/145 Running scriptlet: authselect-libs-1.5.0-8.el10.x86_64 145/145 Running scriptlet: rpm-4.19.1.1-12.el10.x86_64 145/145 Running scriptlet: epel-rpm-macros-10-3.el10_0.noarch 145/145 Installed: alternatives-1.30-2.el10.x86_64 ansible-srpm-macros-1-16.1.el10_0.noarch audit-libs-4.0.3-1.el10.x86_64 authselect-1.5.0-8.el10.x86_64 authselect-libs-1.5.0-8.el10.x86_64 basesystem-11-22.el10.noarch bash-5.2.26-6.el10.x86_64 binutils-2.41-52.el10.x86_64 binutils-gold-2.41-52.el10.x86_64 bzip2-1.0.8-25.el10.x86_64 bzip2-libs-1.0.8-25.el10.x86_64 ca-certificates-2024.2.69_v8.0.303-102.3.el10.noarch centos-gpg-keys-10.0-8.el10.noarch centos-stream-release-10.0-8.el10.noarch centos-stream-repos-10.0-8.el10.noarch coreutils-9.5-6.el10.x86_64 coreutils-common-9.5-6.el10.x86_64 cpio-2.15-3.el10.x86_64 cracklib-2.9.11-8.el10.x86_64 cracklib-dicts-2.9.11-8.el10.x86_64 crypto-policies-20250214-1.gitfd9b9b9.el10.noarch curl-8.9.1-5.el10.x86_64 cyrus-sasl-lib-2.1.28-27.el10.x86_64 debugedit-5.1-4.el10.x86_64 diffutils-3.10-8.el10.x86_64 dwz-0.15-7.el10.x86_64 ed-1.20-5.el10.x86_64 efi-srpm-macros-6-6.el10.noarch elfutils-0.192-5.el10.x86_64 elfutils-debuginfod-client-0.192-5.el10.x86_64 elfutils-default-yama-scope-0.192-5.el10.noarch elfutils-libelf-0.192-5.el10.x86_64 elfutils-libs-0.192-5.el10.x86_64 epel-rpm-macros-10-3.el10_0.noarch file-5.45-7.el10.x86_64 file-libs-5.45-7.el10.x86_64 filesystem-3.18-16.el10.x86_64 findutils-1:4.10.0-5.el10.x86_64 fonts-srpm-macros-1:2.0.5-18.el10.noarch forge-srpm-macros-0.4.0-6.el10.noarch gawk-5.3.0-6.el10.x86_64 gdb-minimal-14.2-4.el10.x86_64 gdbm-1:1.23-11.el10.x86_64 gdbm-libs-1:1.23-11.el10.x86_64 ghc-srpm-macros-1.9.1-1.el10_0.noarch glibc-2.39-37.el10.x86_64 glibc-common-2.39-37.el10.x86_64 glibc-gconv-extra-2.39-37.el10.x86_64 glibc-minimal-langpack-2.39-37.el10.x86_64 gmp-1:6.2.1-10.el10.x86_64 go-srpm-macros-3.6.0-4.el10.noarch grep-3.11-10.el10.x86_64 gzip-1.13-3.el10.x86_64 info-7.1-6.el10.x86_64 jansson-2.14-3.el10.x86_64 json-c-0.18-3.el10.x86_64 kernel-srpm-macros-1.0-25.el10.noarch keyutils-libs-1.6.3-5.el10.x86_64 krb5-libs-1.21.3-7.el10.x86_64 libacl-2.3.2-4.el10.x86_64 libarchive-3.7.7-1.el10.x86_64 libattr-2.5.2-5.el10.x86_64 libblkid-2.40.2-10.el10.x86_64 libbrotli-1.1.0-6.el10.x86_64 libcap-2.69-7.el10.x86_64 libcap-ng-0.8.4-6.el10.x86_64 libcom_err-1.47.1-3.el10.x86_64 libcurl-8.9.1-5.el10.x86_64 libeconf-0.6.2-4.el10.x86_64 libevent-2.1.12-16.el10.x86_64 libfdisk-2.40.2-10.el10.x86_64 libffi-3.4.4-9.el10.x86_64 libgcc-14.2.1-7.el10.x86_64 libgomp-14.2.1-7.el10.x86_64 libidn2-2.3.7-3.el10.x86_64 libmount-2.40.2-10.el10.x86_64 libnghttp2-1.64.0-2.el10.x86_64 libpkgconf-2.1.0-3.el10.x86_64 libpsl-0.21.5-6.el10.x86_64 libpwquality-1.4.5-12.el10.x86_64 libselinux-3.8-1.el10.x86_64 libsemanage-3.8.1-1.el10.x86_64 libsepol-3.8-1.el10.x86_64 libsmartcols-2.40.2-10.el10.x86_64 libssh-0.11.1-1.el10.x86_64 libssh-config-0.11.1-1.el10.noarch libstdc++-14.2.1-7.el10.x86_64 libtasn1-4.20.0-1.el10.x86_64 libunistring-1.1-10.el10.x86_64 libutempter-1.2.1-15.el10.x86_64 libuuid-2.40.2-10.el10.x86_64 libverto-0.3.2-10.el10.x86_64 libxcrypt-4.4.36-10.el10.x86_64 libxml2-2.12.5-5.el10.x86_64 libzstd-1.5.5-9.el10.x86_64 lua-libs-5.4.6-7.el10.x86_64 lua-srpm-macros-1-15.el10.noarch lz4-libs-1.9.4-8.el10.x86_64 mpfr-4.2.1-5.el10.x86_64 ncurses-base-6.4-14.20240127.el10.noarch ncurses-libs-6.4-14.20240127.el10.x86_64 ocaml-srpm-macros-10-4.el10.noarch openblas-srpm-macros-2-19.el10.noarch openldap-2.6.8-3.el10.x86_64 openssl-libs-1:3.2.2-16.el10.x86_64 p11-kit-0.25.5-7.el10.x86_64 p11-kit-trust-0.25.5-7.el10.x86_64 package-notes-srpm-macros-0.5-13.el10.noarch pam-1.6.1-7.el10.x86_64 pam-libs-1.6.1-7.el10.x86_64 patch-2.7.6-26.el10.x86_64 pcre2-10.44-1.el10.3.x86_64 pcre2-syntax-10.44-1.el10.3.noarch perl-srpm-macros-1-57.el10.noarch pkgconf-2.1.0-3.el10.x86_64 pkgconf-m4-2.1.0-3.el10.noarch pkgconf-pkg-config-2.1.0-3.el10.x86_64 popt-1.19-8.el10.x86_64 publicsuffix-list-dafsa-20240107-5.el10.noarch pyproject-srpm-macros-1.16.2-1.el10.noarch python-srpm-macros-3.12-9.1.el10.noarch qt6-srpm-macros-6.8.1-4.el10.noarch readline-8.2-11.el10.x86_64 redhat-rpm-config-288-1.el10.noarch rpm-4.19.1.1-12.el10.x86_64 rpm-build-4.19.1.1-12.el10.x86_64 rpm-build-libs-4.19.1.1-12.el10.x86_64 rpm-libs-4.19.1.1-12.el10.x86_64 rpm-sequoia-1.6.0-6.el10.x86_64 rust-toolset-srpm-macros-1.84.1-1.el10.noarch sed-4.9-3.el10.x86_64 setup-2.14.5-4.el10.noarch shadow-utils-2:4.15.0-5.el10.x86_64 sqlite-libs-3.46.1-3.el10.x86_64 systemd-libs-257-9.el10.x86_64 tar-2:1.35-7.el10.x86_64 unzip-6.0-66.el10.x86_64 util-linux-2.40.2-10.el10.x86_64 util-linux-core-2.40.2-10.el10.x86_64 which-2.21-43.el10.x86_64 xz-1:5.6.2-3.el10.x86_64 xz-libs-1:5.6.2-3.el10.x86_64 zip-3.0-44.el10.x86_64 zlib-ng-compat-2.2.3-1.el10.x86_64 zstd-1.5.5-9.el10.x86_64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.30-2.el10.x86_64 ansible-srpm-macros-1-16.1.el10_0.noarch audit-libs-4.0.3-1.el10.x86_64 authselect-1.5.0-8.el10.x86_64 authselect-libs-1.5.0-8.el10.x86_64 basesystem-11-22.el10.noarch bash-5.2.26-6.el10.x86_64 binutils-2.41-52.el10.x86_64 binutils-gold-2.41-52.el10.x86_64 bzip2-1.0.8-25.el10.x86_64 bzip2-libs-1.0.8-25.el10.x86_64 ca-certificates-2024.2.69_v8.0.303-102.3.el10.noarch centos-gpg-keys-10.0-8.el10.noarch centos-stream-release-10.0-8.el10.noarch centos-stream-repos-10.0-8.el10.noarch coreutils-9.5-6.el10.x86_64 coreutils-common-9.5-6.el10.x86_64 cpio-2.15-3.el10.x86_64 cracklib-2.9.11-8.el10.x86_64 cracklib-dicts-2.9.11-8.el10.x86_64 crypto-policies-20250214-1.gitfd9b9b9.el10.noarch curl-8.9.1-5.el10.x86_64 cyrus-sasl-lib-2.1.28-27.el10.x86_64 debugedit-5.1-4.el10.x86_64 diffutils-3.10-8.el10.x86_64 dwz-0.15-7.el10.x86_64 ed-1.20-5.el10.x86_64 efi-srpm-macros-6-6.el10.noarch elfutils-0.192-5.el10.x86_64 elfutils-debuginfod-client-0.192-5.el10.x86_64 elfutils-default-yama-scope-0.192-5.el10.noarch elfutils-libelf-0.192-5.el10.x86_64 elfutils-libs-0.192-5.el10.x86_64 epel-rpm-macros-10-3.el10_0.noarch file-5.45-7.el10.x86_64 file-libs-5.45-7.el10.x86_64 filesystem-3.18-16.el10.x86_64 findutils-4.10.0-5.el10.x86_64 fonts-srpm-macros-2.0.5-18.el10.noarch forge-srpm-macros-0.4.0-6.el10.noarch gawk-5.3.0-6.el10.x86_64 gdb-minimal-14.2-4.el10.x86_64 gdbm-1.23-11.el10.x86_64 gdbm-libs-1.23-11.el10.x86_64 ghc-srpm-macros-1.9.1-1.el10_0.noarch glibc-2.39-37.el10.x86_64 glibc-common-2.39-37.el10.x86_64 glibc-gconv-extra-2.39-37.el10.x86_64 glibc-minimal-langpack-2.39-37.el10.x86_64 gmp-6.2.1-10.el10.x86_64 go-srpm-macros-3.6.0-4.el10.noarch gpg-pubkey-8483c65d-5ccc5b19 gpg-pubkey-e37ed158-65785fa9 grep-3.11-10.el10.x86_64 gzip-1.13-3.el10.x86_64 info-7.1-6.el10.x86_64 jansson-2.14-3.el10.x86_64 json-c-0.18-3.el10.x86_64 kernel-srpm-macros-1.0-25.el10.noarch keyutils-libs-1.6.3-5.el10.x86_64 krb5-libs-1.21.3-7.el10.x86_64 libacl-2.3.2-4.el10.x86_64 libarchive-3.7.7-1.el10.x86_64 libattr-2.5.2-5.el10.x86_64 libblkid-2.40.2-10.el10.x86_64 libbrotli-1.1.0-6.el10.x86_64 libcap-2.69-7.el10.x86_64 libcap-ng-0.8.4-6.el10.x86_64 libcom_err-1.47.1-3.el10.x86_64 libcurl-8.9.1-5.el10.x86_64 libeconf-0.6.2-4.el10.x86_64 libevent-2.1.12-16.el10.x86_64 libfdisk-2.40.2-10.el10.x86_64 libffi-3.4.4-9.el10.x86_64 libgcc-14.2.1-7.el10.x86_64 libgomp-14.2.1-7.el10.x86_64 libidn2-2.3.7-3.el10.x86_64 libmount-2.40.2-10.el10.x86_64 libnghttp2-1.64.0-2.el10.x86_64 libpkgconf-2.1.0-3.el10.x86_64 libpsl-0.21.5-6.el10.x86_64 libpwquality-1.4.5-12.el10.x86_64 libselinux-3.8-1.el10.x86_64 libsemanage-3.8.1-1.el10.x86_64 libsepol-3.8-1.el10.x86_64 libsmartcols-2.40.2-10.el10.x86_64 libssh-0.11.1-1.el10.x86_64 libssh-config-0.11.1-1.el10.noarch libstdc++-14.2.1-7.el10.x86_64 libtasn1-4.20.0-1.el10.x86_64 libunistring-1.1-10.el10.x86_64 libutempter-1.2.1-15.el10.x86_64 libuuid-2.40.2-10.el10.x86_64 libverto-0.3.2-10.el10.x86_64 libxcrypt-4.4.36-10.el10.x86_64 libxml2-2.12.5-5.el10.x86_64 libzstd-1.5.5-9.el10.x86_64 lua-libs-5.4.6-7.el10.x86_64 lua-srpm-macros-1-15.el10.noarch lz4-libs-1.9.4-8.el10.x86_64 mpfr-4.2.1-5.el10.x86_64 ncurses-base-6.4-14.20240127.el10.noarch ncurses-libs-6.4-14.20240127.el10.x86_64 ocaml-srpm-macros-10-4.el10.noarch openblas-srpm-macros-2-19.el10.noarch openldap-2.6.8-3.el10.x86_64 openssl-libs-3.2.2-16.el10.x86_64 p11-kit-0.25.5-7.el10.x86_64 p11-kit-trust-0.25.5-7.el10.x86_64 package-notes-srpm-macros-0.5-13.el10.noarch pam-1.6.1-7.el10.x86_64 pam-libs-1.6.1-7.el10.x86_64 patch-2.7.6-26.el10.x86_64 pcre2-10.44-1.el10.3.x86_64 pcre2-syntax-10.44-1.el10.3.noarch perl-srpm-macros-1-57.el10.noarch pkgconf-2.1.0-3.el10.x86_64 pkgconf-m4-2.1.0-3.el10.noarch pkgconf-pkg-config-2.1.0-3.el10.x86_64 popt-1.19-8.el10.x86_64 publicsuffix-list-dafsa-20240107-5.el10.noarch pyproject-srpm-macros-1.16.2-1.el10.noarch python-srpm-macros-3.12-9.1.el10.noarch qt6-srpm-macros-6.8.1-4.el10.noarch readline-8.2-11.el10.x86_64 redhat-rpm-config-288-1.el10.noarch rpm-4.19.1.1-12.el10.x86_64 rpm-build-4.19.1.1-12.el10.x86_64 rpm-build-libs-4.19.1.1-12.el10.x86_64 rpm-libs-4.19.1.1-12.el10.x86_64 rpm-sequoia-1.6.0-6.el10.x86_64 rust-toolset-srpm-macros-1.84.1-1.el10.noarch sed-4.9-3.el10.x86_64 setup-2.14.5-4.el10.noarch shadow-utils-4.15.0-5.el10.x86_64 sqlite-libs-3.46.1-3.el10.x86_64 systemd-libs-257-9.el10.x86_64 tar-1.35-7.el10.x86_64 unzip-6.0-66.el10.x86_64 util-linux-2.40.2-10.el10.x86_64 util-linux-core-2.40.2-10.el10.x86_64 which-2.21-43.el10.x86_64 xz-5.6.2-3.el10.x86_64 xz-libs-5.6.2-3.el10.x86_64 zip-3.0-44.el10.x86_64 zlib-ng-compat-2.2.3-1.el10.x86_64 zstd-1.5.5-9.el10.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/alpine-2.26-15.el10.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root/var/log/dnf.log /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root/var/log/dnf.librepo.log /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root/var/log/dnf.rpm.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-dbzv389a/alpine/alpine.spec) Config(child) 0 minutes 20 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/alpine-2.26-15.el10.src.rpm) Config(centos-stream+epel-10-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/centos-stream+epel-10-x86_64-bootstrap-1741899238.902675/root. INFO: reusing tmpfs at /var/lib/mock/centos-stream+epel-10-x86_64-bootstrap-1741899238.902675/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1.1-12.el10.x86_64 rpm-sequoia-1.6.0-6.el10.x86_64 python3-dnf-4.20.0-11.el10.noarch python3-dnf-plugins-core-4.7.0-8.el10.noarch yum-4.20.0-11.el10.noarch Finish: chroot init Start: build phase for alpine-2.26-15.el10.src.rpm Start: build setup for alpine-2.26-15.el10.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/alpine-2.26-15.el10.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 87 kB/s | 1.5 kB 00:00 CentOS Stream 10 - BaseOS 141 kB/s | 6.4 kB 00:00 CentOS Stream 10 - AppStream 188 kB/s | 6.5 kB 00:00 CentOS Stream 10 - CRB 182 kB/s | 6.3 kB 00:00 CentOS Stream 10 - Extras packages 146 kB/s | 6.9 kB 00:00 Extra Packages for Enterprise Linux 10 - x86_64 644 kB/s | 36 kB 00:00 Package shadow-utils-2:4.15.0-5.el10.x86_64 is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gcc x86_64 14.2.1-7.el10 appstream 37 M gettext x86_64 0.22.5-6.el10 baseos 1.1 M hunspell x86_64 1.7.2-9.el10 appstream 488 k krb5-devel x86_64 1.21.3-7.el10 appstream 145 k make x86_64 1:4.4.1-9.el10 baseos 587 k ncurses-devel x86_64 6.4-14.20240127.el10 appstream 753 k openldap-devel x86_64 2.6.8-3.el10 appstream 747 k openssl-devel x86_64 1:3.2.2-16.el10 appstream 3.9 M pam-devel x86_64 1.6.1-7.el10 appstream 107 k Installing dependencies: annobin-docs noarch 12.92-1.el10 appstream 92 k annobin-plugin-gcc x86_64 12.92-1.el10 appstream 983 k cpp x86_64 14.2.1-7.el10 appstream 12 M cyrus-sasl x86_64 2.1.28-27.el10 baseos 73 k cyrus-sasl-devel x86_64 2.1.28-27.el10 appstream 113 k gcc-plugin-annobin x86_64 14.2.1-7.el10 appstream 60 k gettext-envsubst x86_64 0.22.5-6.el10 baseos 38 k gettext-libs x86_64 0.22.5-6.el10 baseos 669 k gettext-runtime x86_64 0.22.5-6.el10 baseos 122 k glibc-devel x86_64 2.39-37.el10 appstream 637 k hunspell-en-US noarch 0.20201207-11.el10 appstream 182 k hunspell-filesystem x86_64 1.7.2-9.el10 appstream 8.9 k kernel-headers x86_64 6.12.0-59.el10 appstream 1.9 M keyutils-libs-devel x86_64 1.6.3-5.el10 appstream 61 k libcom_err-devel x86_64 1.47.1-3.el10 appstream 17 k libkadm5 x86_64 1.21.3-7.el10 baseos 77 k libmpc x86_64 1.3.1-7.el10 appstream 71 k libselinux-devel x86_64 3.8-1.el10 appstream 162 k libsepol-devel x86_64 3.8-1.el10 appstream 48 k libverto-devel x86_64 0.3.2-10.el10 appstream 15 k libxcrypt-devel x86_64 4.4.36-10.el10 appstream 30 k ncurses-c++-libs x86_64 6.4-14.20240127.el10 appstream 39 k pcre2-devel x86_64 10.44-1.el10.3 appstream 532 k pcre2-utf16 x86_64 10.44-1.el10.3 appstream 227 k pcre2-utf32 x86_64 10.44-1.el10.3 appstream 215 k Transaction Summary ================================================================================ Install 34 Packages Total download size: 63 M Installed size: 182 M Downloading Packages: (1/34): gettext-envsubst-0.22.5-6.el10.x86_64.r 3.4 MB/s | 38 kB 00:00 (2/34): cyrus-sasl-2.1.28-27.el10.x86_64.rpm 4.3 MB/s | 73 kB 00:00 (3/34): gettext-libs-0.22.5-6.el10.x86_64.rpm 54 MB/s | 669 kB 00:00 (4/34): gettext-runtime-0.22.5-6.el10.x86_64.rp 16 MB/s | 122 kB 00:00 (5/34): gettext-0.22.5-6.el10.x86_64.rpm 42 MB/s | 1.1 MB 00:00 (6/34): libkadm5-1.21.3-7.el10.x86_64.rpm 23 MB/s | 77 kB 00:00 (7/34): make-4.4.1-9.el10.x86_64.rpm 104 MB/s | 587 kB 00:00 (8/34): annobin-docs-12.92-1.el10.noarch.rpm 21 MB/s | 92 kB 00:00 (9/34): annobin-plugin-gcc-12.92-1.el10.x86_64. 113 MB/s | 983 kB 00:00 (10/34): cyrus-sasl-devel-2.1.28-27.el10.x86_64 17 MB/s | 113 kB 00:00 (11/34): gcc-plugin-annobin-14.2.1-7.el10.x86_6 8.6 MB/s | 60 kB 00:00 (12/34): glibc-devel-2.39-37.el10.x86_64.rpm 68 MB/s | 637 kB 00:00 (13/34): hunspell-1.7.2-9.el10.x86_64.rpm 38 MB/s | 488 kB 00:00 (14/34): hunspell-en-US-0.20201207-11.el10.noar 19 MB/s | 182 kB 00:00 (15/34): cpp-14.2.1-7.el10.x86_64.rpm 189 MB/s | 12 MB 00:00 (16/34): hunspell-filesystem-1.7.2-9.el10.x86_6 452 kB/s | 8.9 kB 00:00 (17/34): keyutils-libs-devel-1.6.3-5.el10.x86_6 4.5 MB/s | 61 kB 00:00 (18/34): kernel-headers-6.12.0-59.el10.x86_64.r 94 MB/s | 1.9 MB 00:00 (19/34): krb5-devel-1.21.3-7.el10.x86_64.rpm 12 MB/s | 145 kB 00:00 (20/34): libcom_err-devel-1.47.1-3.el10.x86_64. 1.6 MB/s | 17 kB 00:00 (21/34): libmpc-1.3.1-7.el10.x86_64.rpm 7.1 MB/s | 71 kB 00:00 (22/34): libselinux-devel-3.8-1.el10.x86_64.rpm 17 MB/s | 162 kB 00:00 (23/34): libsepol-devel-3.8-1.el10.x86_64.rpm 6.9 MB/s | 48 kB 00:00 (24/34): libverto-devel-0.3.2-10.el10.x86_64.rp 2.7 MB/s | 15 kB 00:00 (25/34): gcc-14.2.1-7.el10.x86_64.rpm 262 MB/s | 37 MB 00:00 (26/34): libxcrypt-devel-4.4.36-10.el10.x86_64. 791 kB/s | 30 kB 00:00 (27/34): ncurses-c++-libs-6.4-14.20240127.el10. 1.0 MB/s | 39 kB 00:00 (28/34): ncurses-devel-6.4-14.20240127.el10.x86 128 MB/s | 753 kB 00:00 (29/34): pam-devel-1.6.1-7.el10.x86_64.rpm 24 MB/s | 107 kB 00:00 (30/34): openldap-devel-2.6.8-3.el10.x86_64.rpm 52 MB/s | 747 kB 00:00 (31/34): pcre2-utf16-10.44-1.el10.3.x86_64.rpm 42 MB/s | 227 kB 00:00 (32/34): pcre2-devel-10.44-1.el10.3.x86_64.rpm 46 MB/s | 532 kB 00:00 (33/34): pcre2-utf32-10.44-1.el10.3.x86_64.rpm 52 MB/s | 215 kB 00:00 (34/34): openssl-devel-3.2.2-16.el10.x86_64.rpm 83 MB/s | 3.9 MB 00:00 -------------------------------------------------------------------------------- Total 198 MB/s | 63 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libmpc-1.3.1-7.el10.x86_64 1/34 Installing : hunspell-filesystem-1.7.2-9.el10.x86_64 2/34 Installing : gettext-libs-0.22.5-6.el10.x86_64 3/34 Installing : hunspell-en-US-0.20201207-11.el10.noarch 4/34 Installing : hunspell-1.7.2-9.el10.x86_64 5/34 Installing : cpp-14.2.1-7.el10.x86_64 6/34 Installing : pcre2-utf32-10.44-1.el10.3.x86_64 7/34 Installing : pcre2-utf16-10.44-1.el10.3.x86_64 8/34 Installing : pcre2-devel-10.44-1.el10.3.x86_64 9/34 Installing : ncurses-c++-libs-6.4-14.20240127.el10.x86_64 10/34 Installing : libverto-devel-0.3.2-10.el10.x86_64 11/34 Installing : libsepol-devel-3.8-1.el10.x86_64 12/34 Installing : libselinux-devel-3.8-1.el10.x86_64 13/34 Installing : libcom_err-devel-1.47.1-3.el10.x86_64 14/34 Installing : keyutils-libs-devel-1.6.3-5.el10.x86_64 15/34 Installing : kernel-headers-6.12.0-59.el10.x86_64 16/34 Installing : libxcrypt-devel-4.4.36-10.el10.x86_64 17/34 Installing : glibc-devel-2.39-37.el10.x86_64 18/34 Installing : annobin-docs-12.92-1.el10.noarch 19/34 Installing : make-1:4.4.1-9.el10.x86_64 20/34 Installing : gcc-14.2.1-7.el10.x86_64 21/34 Running scriptlet: gcc-14.2.1-7.el10.x86_64 21/34 Installing : libkadm5-1.21.3-7.el10.x86_64 22/34 Installing : gettext-envsubst-0.22.5-6.el10.x86_64 23/34 Installing : gettext-runtime-0.22.5-6.el10.x86_64 24/34 Running scriptlet: cyrus-sasl-2.1.28-27.el10.x86_64 25/34 Installing : cyrus-sasl-2.1.28-27.el10.x86_64 25/34 Running scriptlet: cyrus-sasl-2.1.28-27.el10.x86_64 25/34 Installing : cyrus-sasl-devel-2.1.28-27.el10.x86_64 26/34 Installing : openldap-devel-2.6.8-3.el10.x86_64 27/34 Installing : gettext-0.22.5-6.el10.x86_64 28/34 Installing : krb5-devel-1.21.3-7.el10.x86_64 29/34 Installing : annobin-plugin-gcc-12.92-1.el10.x86_64 30/34 Running scriptlet: annobin-plugin-gcc-12.92-1.el10.x86_64 30/34 Installing : gcc-plugin-annobin-14.2.1-7.el10.x86_64 31/34 Running scriptlet: gcc-plugin-annobin-14.2.1-7.el10.x86_64 31/34 Installing : ncurses-devel-6.4-14.20240127.el10.x86_64 32/34 Installing : pam-devel-1.6.1-7.el10.x86_64 33/34 Installing : openssl-devel-1:3.2.2-16.el10.x86_64 34/34 Running scriptlet: openssl-devel-1:3.2.2-16.el10.x86_64 34/34 Installed: annobin-docs-12.92-1.el10.noarch annobin-plugin-gcc-12.92-1.el10.x86_64 cpp-14.2.1-7.el10.x86_64 cyrus-sasl-2.1.28-27.el10.x86_64 cyrus-sasl-devel-2.1.28-27.el10.x86_64 gcc-14.2.1-7.el10.x86_64 gcc-plugin-annobin-14.2.1-7.el10.x86_64 gettext-0.22.5-6.el10.x86_64 gettext-envsubst-0.22.5-6.el10.x86_64 gettext-libs-0.22.5-6.el10.x86_64 gettext-runtime-0.22.5-6.el10.x86_64 glibc-devel-2.39-37.el10.x86_64 hunspell-1.7.2-9.el10.x86_64 hunspell-en-US-0.20201207-11.el10.noarch hunspell-filesystem-1.7.2-9.el10.x86_64 kernel-headers-6.12.0-59.el10.x86_64 keyutils-libs-devel-1.6.3-5.el10.x86_64 krb5-devel-1.21.3-7.el10.x86_64 libcom_err-devel-1.47.1-3.el10.x86_64 libkadm5-1.21.3-7.el10.x86_64 libmpc-1.3.1-7.el10.x86_64 libselinux-devel-3.8-1.el10.x86_64 libsepol-devel-3.8-1.el10.x86_64 libverto-devel-0.3.2-10.el10.x86_64 libxcrypt-devel-4.4.36-10.el10.x86_64 make-1:4.4.1-9.el10.x86_64 ncurses-c++-libs-6.4-14.20240127.el10.x86_64 ncurses-devel-6.4-14.20240127.el10.x86_64 openldap-devel-2.6.8-3.el10.x86_64 openssl-devel-1:3.2.2-16.el10.x86_64 pam-devel-1.6.1-7.el10.x86_64 pcre2-devel-10.44-1.el10.3.x86_64 pcre2-utf16-10.44-1.el10.3.x86_64 pcre2-utf32-10.44-1.el10.3.x86_64 Complete! Finish: build setup for alpine-2.26-15.el10.src.rpm Start: rpmbuild alpine-2.26-15.el10.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZvnUG8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alpine-2.26 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/alpine-2.26_patched.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd alpine-2.26 + rm -rf /builddir/build/BUILD/alpine-2.26-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/alpine-2.26-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (alpine-2.24-useragent.patch):' Patch #1 (alpine-2.24-useragent.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file doc/tech-notes/config.html patching file doc/tech-notes/tech-notes.txt Hunk #1 succeeded at 6631 (offset 2 lines). patching file pith/pine.hlp Hunk #1 succeeded at 37660 (offset 2837 lines). Patch #2 (alpine-2.23-gcc10.patch): + echo 'Patch #2 (alpine-2.23-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file pith/smime.c Hunk #1 succeeded at 42 (offset -3 lines). Patch #3 (alpine-configure-c99.patch): + echo 'Patch #3 (alpine-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.ac + install -m644 -p /builddir/build/SOURCES/README.fedora . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qdoEkT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd alpine-2.26 + touch imap/ip6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./web/src/cgi.tcl-1.10/configure + diff -u ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + mv ./web/src/cgi.tcl-1.10/configure.backup ./web/src/cgi.tcl-1.10/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-03-13 20:54:26.380362082 +0000 +++ ./configure 2025-03-13 20:54:26.422362045 +0000 @@ -2120,7 +2120,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-03-13 20:54:26.422362045 +0000 +++ ./configure 2025-03-13 20:54:26.437362031 +0000 @@ -8270,7 +8270,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -23732,7 +23732,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x ']' ++ grep -q runstatedir=DIR ./configure ++ date --utc --date=@1721174400 + ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug=no --without-tcl --with-c-client-target=lfd '--with-date-stamp=Wed Jul 17 00:00:00 UTC 2024' --with-smtp-msa=/usr/sbin/sendmail --with-npa=/usr/bin/inews --with-passfile=.alpine.passfile --with-simple-spellcheck=hunspell --with-interactive-spellcheck=hunspell --with-system-pinerc=/etc/pine.conf --with-system-fixed-pinerc=/etc/pine.conf.fixed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu configure: Configuring for alpine 2.26 (x86_64-redhat-linux-gnu) checking for x86_64-redhat-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking how to run the C preprocessor... gcc -E checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8276: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ar... /usr/bin/ar checking for rm... /usr/bin/rm checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking option: dmalloc enabled... no ./configure: line 16168: hostname: command not found checking option: debugging is enabled... no checking option: optimization is enabled... yes checking option: mouse support enabled... yes checking option: quotas enabled... no checking option: From changing enabled... yes checking option: background post enabled... yes checking option: keyboard lock enabled... yes checking option: from encoding enabled... no checking for passwd... /usr/bin/passwd checking for hunspell... /usr/bin/hunspell checking for hunspell... /usr/bin/hunspell configure: Excluding TCL Support, and thus Web Alpine Support configure: --with-passfile definition overrides OS-Specific password caching checking for setupterm in -ltinfo... yes checking for library containing dlopen... none required checking if OpenSSL is LibreSSL... no checking Openssl library version >= 1.0.0c... yes checking Openssl library version >= 1.1.0... yes checking for library containing OpenSSL_version_num... -lcrypto checking for library containing OPENSSL_init_ssl... -lssl checking for ber_alloc in -llber... yes checking for library containing ldap_initialize... -lldap configure: * * * Including LDAP Support checking for library containing crypt... -lcrypt checking for library containing gss_init_sec_context... -lgssapi_krb5 checking gssapi/gssapi_generic.h usability... yes checking gssapi/gssapi_generic.h presence... yes checking for gssapi/gssapi_generic.h... yes checking for library containing buildSmbNtlmAuthRequest... no configure: NOT including NTLM Support: ntlm library not found checking for library containing regcomp... none required checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for pthread support... checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no yes checking for library containing nanosleep... none required checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for size_t... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for union wait... no checking for stdint.h... (cached) yes checking for stdint.h... (cached) yes checking argument pointer type of qsort compare function and base... void checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strcoll... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... yes checking for memcpy... yes checking for strtol... yes checking for strtoul... yes checking for select... yes checking for poll... yes checking for qsort... yes checking for getuid... yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... yes checking for tmpfile... yes checking for uname... yes checking for rename... yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... yes checking for wait4... yes checking for waitpid... yes checking for wait... yes checking for srandom... yes checking for popen... yes checking for pclose... yes checking for fsync... yes checking for truncate... yes checking for listen... yes checking for wcwidth... yes checking for mbstowcs... yes checking for wcrtomb... yes checking for wctomb... yes checking for putenv... yes checking for setenv... yes checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing bind... none required checking for sigaction... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... yes checking for library containing syslog... none required configure: * * * S/MIME support enabled configure: * * * Including Kerberos5 functionality configure: * * * TCL libraries could not be found. configure: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating pith/osdep/Makefile config.status: creating pith/charconv/Makefile config.status: creating pith/Makefile config.status: creating pico/osdep/Makefile config.status: creating pico/Makefile config.status: creating alpine/osdep/Makefile config.status: creating alpine/Makefile config.status: creating web/src/Makefile config.status: creating web/src/pubcookie/Makefile config.status: creating web/src/alpined.d/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + export RPM_BUILD_NCPUS=1 + RPM_BUILD_NCPUS=1 + /usr/bin/make -O -j1 V=1 VERBOSE=1 'EXTRACFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5" EXTRAAUTHENTICATORS="gss " EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private " BUNDLED="no" make[1]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private ' BUNDLED='no' BUILDTYPE=lnpno IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' make[3]: 'ip6' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' Building c-client for lnpno... echo `cat SPECIALS` SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private > c-client/SPECIALS cd c-client;make lnpno EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L'\ EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss '\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ GSSDIR=/usr/kerberos SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private BUNDLED='no' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo gcc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS echo -lcrypt -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o sha.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox maildir courier imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log bea oa2 make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' echo -I/usr/kerberos/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/kerberos/lib/libk5crypto.a) && echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c sh -c '(test nopwd != none) && echo "int pith_ssl_encryption_version(char *);" >> linkage.h || true' ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || grep -F statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_std.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/pki/tls/certs\" -DSSL_KEY_DIRECTORY=\"/etc/pki/tls/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from env_unix.c:259, from osdep.c:47: pmatch.c: In function ‘pmatch_full’: pmatch.c:41:43: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 41 | if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; | ^ | | | unsigned char * In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:1, from env_unix.c:263: kerb_mit.c: In function ‘kerberos_login’: kerb_mit.c:103:38: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 103 | authserver_login (lcase (user),kuser,argc,argv)) | ^~~~ | | | char * In file included from osdep.c:41: misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ kerb_mit.c:103:31: warning: pointer targets in passing argument 1 of ‘authserver_login’ differ in signedness [-Wpointer-sign] 103 | authserver_login (lcase (user),kuser,argc,argv)) | ^~~~~~~~~~~~ | | | unsigned char * In file included from env_unix.h:58, from osdep.h:68: env.h:40:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 40 | long authserver_login (char *user,char *authuser,int argc,char *argv[]); | ~~~~~~^~~~ In file included from auths.c:4: auth_md5.c: In function ‘auth_md5_pwd’: auth_md5.c:202:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 202 | if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0) | ^ auth_md5.c:205:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 205 | for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); | ^ auth_md5.c:207:24: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 207 | lusr = *s ? lcase (cpystr (user)) : NIL; | ^~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ auth_md5.c:208:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 208 | for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; | ^ auth_md5.c:209:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 209 | s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) | ^ auth_md5.c:211:45: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ auth_md5.c:211:35: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 211 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ auth_md5.c:213:22: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth_md5.c:213:45: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 213 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ auth_md5.c:214:46: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth_md5.c:214:48: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] 214 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ auth_md5.c:217:37: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 217 | if (!ret && lret) ret = cpystr (lret); | ^~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from auths.c:8: auth_oa2.c: In function ‘auth_oauth2_client’: auth_oa2.c:47:9: warning: unused variable ‘u’ [-Wunused-variable] 47 | char *u; | ^ env_unix.c: In function ‘pwuser’: env_unix.c:679:33: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness [-Wpointer-sign] 679 | struct passwd *pw = getpwnam (user); | ^~~~ | | | unsigned char * In file included from osdep.c:39: /usr/include/pwd.h:116:45: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ env_unix.c:683:41: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ env_unix.c:683:33: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ env_unix.c:683:24: warning: pointer targets in passing argument 1 of ‘getpwnam’ differ in signedness [-Wpointer-sign] 683 | pw = getpwnam (s = lcase (cpystr (user))); | ~~^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/pwd.h:116:45: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ env_unix.c: In function ‘valpwd’: env_unix.c:709:23: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 709 | ret = pwuser (user); /* validated, get passwd entry for user */ | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:714:26: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 714 | else if ((pw = pwuser (user)) != NULL) {/* can get user? */ | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:717:51: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 717 | (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) | ^ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function ‘server_login’: env_unix.c:748:58: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 748 | else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function ‘authserver_login’: env_unix.c:766:28: warning: pointer targets in passing argument 1 of ‘pwuser’ differ in signedness [-Wpointer-sign] 766 | return pw_login (pwuser (user),authuser,user,NIL,argc,argv); | ^~~~ | | | char * env_unix.c:676:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 676 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function ‘pw_login’: env_unix.c:805:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:805:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 805 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:808:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:808:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 808 | if (!compare_cstring (auser,*t++)) | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c: In function ‘mailboxfile’: env_unix.c:1093:51: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ~~~~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1093:54: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1093 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1103:64: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1103:67: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1103 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1127:56: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1127:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1127 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1141:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1141:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1141 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1155:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ~~~~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1155:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1155 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c: In function ‘dorc’: env_unix.c:1606:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1606:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1606 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1620:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1620:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1620 | if (!compare_cstring (s,"set new-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1621:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1621:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1621 | !compare_cstring (s,"set new-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1622:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1622:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1622 | if (!compare_cstring (k,"same-as-inbox")) { | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1624:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1624:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1624 | if (!compare_cstring (d->name,"mbox")) | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1627:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1627:52: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1627 | else if (!compare_cstring (d->name,"dummy")) d = NIL; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1631:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1631:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1631 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1634:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1634:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1634 | if (!compare_cstring (k,"mbox")) k = "unix"; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1645:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1645:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1645 | if (!compare_cstring (s,"set empty-mailbox-format") || | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1646:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1646:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1646 | !compare_cstring (s,"set empty-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1647:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1647:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1647 | if (!compare_cstring (k,"invalid")) appendProto = NIL; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1648:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1648:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1648 | else if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1650:48: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1650:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1650 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1652:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1652:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1652 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1656:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1656:50: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1656 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1667:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1667:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1667 | if (!compare_cstring (s,"set local-host")) { | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1671:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1671:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1671 | else if (!compare_cstring (s,"set news-active-file")) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1675:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1675:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1675 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1679:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1679:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1679 | else if (!compare_cstring (s,"set mh-path")) | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1681:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1681:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1681 | else if (!compare_cstring (s,"set mh-allow-inbox")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1683:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1683:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1683 | else if (!compare_cstring (s,"set news-state-file")) { | ^~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1687:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1687:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1687 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1691:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1691:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1691 | else if (!compare_cstring (s,"set public-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1695:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1695:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1695 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1699:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1699:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1699 | else if (!compare_cstring (s,"set system-inbox")) { | ^~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1703:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1703:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1703 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1707:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1707:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1707 | else if (!compare_cstring (s,"set from-widget")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1709:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1709:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1709 | compare_cstring (k,"header-only") ? | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1712:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1712:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1712 | else if (!compare_cstring (s,"set rsh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1714:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1714:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1714 | else if (!compare_cstring (s,"set rsh-path")) | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1716:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1716:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1716 | else if (!compare_cstring (s,"set ssh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1718:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1718:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1718 | else if (!compare_cstring (s,"set ssh-path")) | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1720:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1720:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1720 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1722:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1722:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1722 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1724:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1724:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1724 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1726:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1726:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1726 | else if (!compare_cstring (s,"set rsh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1728:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1728:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1728 | else if (!compare_cstring (s,"set ssh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1730:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1730:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1730 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1732:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1732:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1732 | else if (!compare_cstring (s,"set lookahead")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1734:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1734:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1734 | else if (!compare_cstring (s,"set prefetch")) | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1736:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1736:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1736 | else if (!compare_cstring (s,"set close-on-error")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1738:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1738:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1738 | else if (!compare_cstring (s,"set imap-port")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1740:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1740:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1740 | else if (!compare_cstring (s,"set pop3-port")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1742:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1742:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1742 | else if (!compare_cstring (s,"set uid-lookahead")) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1744:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1744:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1744 | else if (!compare_cstring (s,"set try-ssl-first")) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1747:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1747:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1747 | else if (!compare_cstring (s,"set mailbox-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1749:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1749:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1749 | else if (!compare_cstring (s,"set directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1751:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1751:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1751 | else if (!compare_cstring (s,"set lock-protection")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1753:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1753:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1753 | else if (!compare_cstring (s,"set ftp-protection")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1755:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1755:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1755 | else if (!compare_cstring (s,"set public-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1757:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1757:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1757 | else if (!compare_cstring (s,"set shared-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1759:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1759:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1759 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1761:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1761:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1761 | else if (!compare_cstring (s,"set public-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1763:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1763:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1763 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1765:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1765:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1765 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1767:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1767:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1767 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1769:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1769:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1769 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1771:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1771:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1771 | else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1773:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1773:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1773 | else if (!compare_cstring (s,"set hide-dot-files")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1775:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1775:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1775 | else if (!compare_cstring (s,"set list-maximum-level")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1777:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1777:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1777 | else if (!compare_cstring (s,"set trust-dns")) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1779:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1779:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1779 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1781:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1781:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1781 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1783:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1783:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1783 | else if (!compare_cstring (s,"set nntp-range")) | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1787:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1787:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1787 | if (!compare_cstring (s,"set black-box-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1789:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1789:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1789 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1792:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1792:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1792 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1799:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1799:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1799 | else if (!compare_cstring (s,"set CA-certificate-path")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1801:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1801:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1801 | else if (!compare_cstring (s,"set CA-certificate-container")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1803:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1803:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1803 | else if (!compare_cstring (s,"set disable-plaintext")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1805:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1805:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1805 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1807:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1807:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (s,"set chroot-server")) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1809:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1809:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (s,"set restrict-mailbox-access")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1811:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1811:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1811 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1812:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1812:44: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1812 | else if (!compare_cstring (k,"otherusers")) | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1814:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1814:44: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1814 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1816:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1816:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1816 | else if (!compare_cstring (s,"set advertise-the-world")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1818:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1818:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1818 | else if (!compare_cstring (s,"set limited-advertise")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1821:21: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1821:23: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1821 | (s,"set disable-automatic-shared-namespaces")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1823:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1823:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1823 | else if (!compare_cstring (s,"set allow-user-config")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1825:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1825:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1825 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1827:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1827:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1827 | else if (!compare_cstring (s,"set k5-cp-uses-service-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1831:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c:1831:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1831 | else if (!compare_cstring (s,"set plaintext-allowed-clients")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ env_unix.c: In function ‘env_end’: env_unix.c:1910:6: warning: the address of ‘userFlags’ will always evaluate as ‘true’ [-Waddress] 1910 | if(userFlags){ | ^~~~~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c: In function ‘ip_stringtoaddr’: ip_unix.c:130:29: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ ip_unix.c:130:22: warning: pointer targets in passing argument 1 of ‘getaddrinfo’ differ in signedness [-Wpointer-sign] 130 | (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:35: /usr/include/netdb.h:660:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 660 | extern int getaddrinfo (const char *__restrict __name, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ip_unix.c: In function ‘ip_nametoaddr’: ip_unix.c:248:31: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ ip_unix.c:248:24: warning: pointer targets in passing argument 1 of ‘getaddrinfo’ differ in signedness [-Wpointer-sign] 248 | (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/netdb.h:660:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 660 | extern int getaddrinfo (const char *__restrict __name, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tcp_unix.c: In function ‘tcp_getline’: tcp_unix.c:477:43: warning: pointer targets in passing argument 3 of ‘tcp_getline_work’ differ in signedness [-Wpointer-sign] 477 | char *ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * tcp_unix.c:61:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 61 | long *contd); | ~~~~~~^~~~~ tcp_unix.c:485:41: warning: pointer targets in passing argument 3 of ‘tcp_getline_work’ differ in signedness [-Wpointer-sign] 485 | ret = tcp_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * tcp_unix.c:61:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 61 | long *contd); | ~~~~~~^~~~~ tcp_unix.c: In function ‘tcp_isclienthost’: tcp_unix.c:1045:17: warning: unused variable ‘sadrlen’ [-Wunused-variable] 1045 | size_t adrlen,sadrlen,len; | ^~~~~~~ osdep.c: In function ‘ssl_validate_cert’: osdep.c:705:41: warning: pointer targets in passing argument 1 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 705 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^~~~ | | | char * osdep.c:223:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^ osdep.c:705:46: warning: pointer targets in passing argument 2 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 705 | ret = ssl_compare_hostnames (host,s) ? NIL : | ^ | | | char * osdep.c:223:68: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^~~ osdep.c:714:51: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 714 | (name->type = GEN_DNS) && (s = name->d.ia5->data) && | ^ osdep.c:715:45: warning: pointer targets in passing argument 1 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 715 | ssl_compare_hostnames (host,s)) ret = NIL; | ^~~~ | | | char * osdep.c:223:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^ osdep.c:715:50: warning: pointer targets in passing argument 2 of ‘ssl_compare_hostnames’ differ in signedness [-Wpointer-sign] 715 | ssl_compare_hostnames (host,s)) ret = NIL; | ^ | | | char * osdep.c:223:68: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 223 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); | ~~~~~~~~~~~~~~~^~~ osdep.c:664:17: warning: unused variable ‘t’ [-Wunused-variable] 664 | char *s=NULL,*t,*ret = NIL; | ^ osdep.c: In function ‘ssl_getline’: osdep.c:769:43: warning: pointer targets in passing argument 3 of ‘ssl_getline_work’ differ in signedness [-Wpointer-sign] 769 | char *ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 225 | long *contd); | ~~~~~~^~~~~ osdep.c:777:41: warning: pointer targets in passing argument 3 of ‘ssl_getline_work’ differ in signedness [-Wpointer-sign] 777 | ret = ssl_getline_work (stream,&n,&contd); | ^~~~~~ | | | long unsigned int * osdep.c:225:38: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 225 | long *contd); | ~~~~~~^~~~~ env_unix.c: In function ‘pw_login’: env_unix.c:823:44: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 823 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c: In function ‘mail_parameters’: mail.c:407:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from c-client.h:49, from mail.c:30: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:407:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 407 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:412:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:412:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 412 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:417:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:417:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 417 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:423:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:423:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 423 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:428:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:428:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 428 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:433:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:433:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 433 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:438:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:438:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 438 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_valid_net_parse_work’: mail.c:857:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:857:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 857 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:858:18: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 858 | lcase (strcpy (mb->service,v)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:859:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:859:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 859 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:861:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:861:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 861 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:863:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:863:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 863 | else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:869:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:869:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 869 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:870:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:870:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 870 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:871:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 871 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:872:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:872:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 872 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:873:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:873:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 873 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:874:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:874:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 874 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:72: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:875:74: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 875 | else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:877:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:877:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 877 | else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:68: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:879:70: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 879 | else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:881:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:881:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 881 | else if (!compare_cstring (s,"tryssl")) | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:883:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:883:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 883 | else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:885:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:885:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 885 | else if (!compare_cstring(s, "tls1") | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:888:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:888:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 888 | else if (!compare_cstring(s, "tls1_1") | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:891:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:891:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 891 | else if (!compare_cstring(s, "tls1_2") | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:894:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:894:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 894 | else if (!compare_cstring(s, "tls1_3") | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:897:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:897:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 897 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:900:53: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:900:55: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 900 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:903:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:903:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 903 | else if (!compare_cstring (s,"imap") || | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:904:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:904:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 904 | !compare_cstring (s,"nntp") || | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:905:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:905:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 905 | !compare_cstring (s,"pop3") || | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:906:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:906:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 906 | !compare_cstring (s,"smtp") || | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:907:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:907:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 907 | !compare_cstring (s,"submit")) | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:908:18: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 908 | lcase (strcpy (mb->service,s)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:909:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:909:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 909 | else if (!compare_cstring (s,"imap2") || | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:910:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:910:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 910 | !compare_cstring (s,"imap2bis") || | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:911:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:911:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 911 | !compare_cstring (s,"imap4") || | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:912:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:912:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 912 | !compare_cstring (s,"imap4rev1")) | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:914:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:914:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 914 | else if (!compare_cstring (s,"pop")) | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_create’: mail.c:1087:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:1087:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1087 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_open’: mail.c:1353:52: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1353 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:1353:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1353 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_fetch_overview’: mail.c:1586:48: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1586 | if (stream->dtb && mail_uid_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from c-client.h:41: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function ‘mail_fetch_overview_sequence’: mail.c:1602:44: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1602 | if (stream->dtb && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function ‘mail_fetch_overview_default’: mail.c:1627:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1627 | ov.date = env->date; | ^ mail.c: In function ‘mail_fetch_header’: mail.c:1845:40: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 1845 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.h:1791:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_fetch_text’: mail.c:1936:40: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 1936 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.h:1791:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_fetch_mime’: mail.c:1990:61: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 1990 | if (!(section && *section && (b = mail_body (stream,msgno,section)))) | ^~~~~~~ | | | char * mail.h:1791:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_fetch_body’: mail.c:2073:37: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 2073 | if (!(b = mail_body (stream,msgno,section))) return ""; | ^~~~~~~ | | | char * mail.h:1791:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_partial_text’: mail.c:2133:40: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 2133 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.h:1791:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_partial_body’: mail.c:2201:37: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 2201 | if (!(b = mail_body (stream,msgno,section))) return NIL; | ^~~~~~~ | | | char * mail.h:1791:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_flag’: mail.c:2423:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 2423 | ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c:2424:30: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 2424 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function ‘mail_append_multiple’: mail.c:2713:29: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 2713 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2713:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 2713 | else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mail.c: In function ‘mail_body_section’: mail.c:2832:28: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 2832 | if (!(i = strtoul (section,(char **) §ion,10)) || | ^~~~~~~ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function ‘mail_parse_date’: mail.c:2980:27: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 2980 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:2980:76: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 2980 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/ctype.h:25, from mail.c:27: /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ mail.c:2980:64: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 2980 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2986:22: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 2986 | if (!(m = strtoul (s,(char **) &s,10))) return NIL; | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2990:41: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 2990 | if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2992:20: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 2992 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3002:26: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3002 | if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && | ~^~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3003:25: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3003 | (d = strtoul (s,(char **) &s,10)) && !*s) break; | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3008:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 3008 | if (strlen (s) < (size_t) 5) return NIL; | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:3036:20: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3036 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3060:19: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3060 | d = strtoul (s+1,(char **) &s,10); | ~^~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3062:18: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3062 | m = strtoul (++s,(char **) &s,10); | ^~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3063:32: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3063 | y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; | ^~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function ‘mail_uid_sequence’: mail.c:3393:29: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3393 | else if (!(i = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3404:31: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 3404 | else if (!(j = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function ‘mail_filter’: mail.c:3501:60: warning: pointer targets in passing argument 1 of ‘compare_csizedtext’ differ in signedness [-Wpointer-sign] 3501 | if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) | ^~~ | | | char * misc.h:108:40: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 108 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_search_msg’: mail.c:3645:44: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 3645 | BODY *body = mail_body (stream,msgno,section); | ^~~~~~~ | | | char * mail.c:2868:72: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 2868 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_search_text’: mail.c:3817:46: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 3817 | else if ((body = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.c:2868:72: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 2868 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function ‘mail_search_string’: mail.c:3936:16: warning: unused variable ‘sc’ [-Wunused-variable] 3936 | STRINGLIST **sc = st; | ^~ mail.c: In function ‘mail_search_keyword’: mail.c:3984:50: warning: pointer targets in passing argument 1 of ‘compare_csizedtext’ differ in signedness [-Wpointer-sign] 3984 | if (!compare_csizedtext (stream->user_flags[i],&st->text)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * misc.h:108:40: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 108 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_criteria’: mail.c:4115:23: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 4115 | switch (*ucase (criterion)) { | ^~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c: In function ‘mail_criteria_date’: mail.c:4206:36: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 4206 | mail_parse_date (&elt,(char *) s->text.data) && | ^~~~~~~~~~~~~~~~~~~~~ | | | char * mail.c:2962:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 2962 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function ‘mail_sort_loadcache’: mail.c:4462:22: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4462 | if (env) t = env->date; | ^ mail.c:4478:45: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 4478 | if (!(t && mail_parse_date (&telt,t) && | ^ | | | char * mail.c:2962:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 2962 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function ‘mail_sort_compare’: mail.c:4781:29: warning: pointer targets in passing argument 1 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4781 | i = compare_string (s1->from,s2->from); | ~~^~~~~~ | | | char * misc.h:105:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4781:38: warning: pointer targets in passing argument 2 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4781 | i = compare_string (s1->from,s2->from); | ~~^~~~~~ | | | char * misc.h:105:54: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4784:29: warning: pointer targets in passing argument 1 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4784 | i = compare_string (s1->to,s2->to); | ~~^~~~ | | | char * misc.h:105:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4784:36: warning: pointer targets in passing argument 2 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4784 | i = compare_string (s1->to,s2->to); | ~~^~~~ | | | char * misc.h:105:54: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4787:29: warning: pointer targets in passing argument 1 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4787 | i = compare_string (s1->cc,s2->cc); | ~~^~~~ | | | char * misc.h:105:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4787:36: warning: pointer targets in passing argument 2 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4787 | i = compare_string (s1->cc,s2->cc); | ~~^~~~ | | | char * misc.h:105:54: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4790:29: warning: pointer targets in passing argument 1 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4790 | i = compare_string (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * misc.h:105:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4790:41: warning: pointer targets in passing argument 2 of ‘compare_string’ differ in signedness [-Wpointer-sign] 4790 | i = compare_string (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * misc.h:105:54: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 105 | int compare_string (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_thread_msgs’: mail.c:4889:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4889 | if (!compare_cstring (type,t->name)) { | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4889:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4889 | if (!compare_cstring (type,t->name)) { | ~^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_thread_orderedsubject’: mail.c:4933:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4933 | if (compare_cstring (top->sc->subject,s->subject)) { | ~~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4933:48: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4933 | if (compare_cstring (top->sc->subject,s->subject)) { | ~^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_thread_loadcache’: mail.c:5255:58: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 5255 | if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { | ~~^~~~~~ | | | char * mail.c:2962:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 2962 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function ‘mail_sequence’: mail.c:5510:29: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5510 | else if (!(i = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:5526:31: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5526 | else if (!(j = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function ‘mail_parse_flags’: mail.c:5581:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5581 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5581:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5581 | if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5582:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5582 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5582:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5582 | else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5583:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5583 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5583:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5583 | else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5584:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5584 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5584:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5584 | else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5585:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5585 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ~^~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5585:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5585 | else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5595:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5595 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5595:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5595 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_usable_network_stream’: mail.c:5645:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5645 | ((!compare_cstring (smb.host,trustdns ? | ~~~^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5646:65: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5645 | ((!compare_cstring (smb.host,trustdns ? | ~~~~~~~~~~ 5646 | (s = tcp_canonical (nmb.host)) : nmb.host) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5651:37: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5651 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5651:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5651 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_auth’: mail.c:6224:47: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6224 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:6224:54: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6224 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function ‘mail_lookup_auth_name’: mail.c:6257:62: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6257 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:6257:69: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6257 | !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from mail.c:6507: oauth2_aux.c: In function ‘oauth2_free_extra_values’: oauth2_aux.c:49:12: warning: unused variable ‘i’ [-Wunused-variable] 49 | OA2_type i; | ^ oauth2_aux.c: In function ‘oauth2_find_extra_parameter’: oauth2_aux.c:72:46: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 72 | && !compare_cstring(oauth2->param[i].name, name)) | ~~~~~~~~~~~~~~~~^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:72:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 72 | && !compare_cstring(oauth2->param[i].name, name)) | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c: In function ‘oauth2_code_challenge’: oauth2_aux.c:109:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 109 | || !compare_cstring(oauth2->param[k].value, "plain")) | ~~~~~~~~~~~~~~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:109:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 109 | || !compare_cstring(oauth2->param[k].value, "plain")) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:111:48: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 111 | else if(!compare_cstring(oauth2->param[k].value, "S256")){ | ~~~~~~~~~~~~~~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:111:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 111 | else if(!compare_cstring(oauth2->param[k].value, "S256")){ | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:122:38: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 122 | oauth2->param[j].value = t; | ^ oauth2_aux.c: In function ‘oauth2_login_hint’: oauth2_aux.c:134:22: warning: unused variable ‘cv2’ [-Wunused-variable] 134 | char *cv, *cv1, *cv2; | ^~~ oauth2_aux.c:134:16: warning: unused variable ‘cv1’ [-Wunused-variable] 134 | char *cv, *cv1, *cv2; | ^~~ oauth2_aux.c:134:11: warning: unused variable ‘cv’ [-Wunused-variable] 134 | char *cv, *cv1, *cv2; | ^~ oauth2_aux.c:133:20: warning: unused variable ‘k’ [-Wunused-variable] 133 | OA2_type i, j, k; | ^ oauth2_aux.c:133:17: warning: unused variable ‘j’ [-Wunused-variable] 133 | OA2_type i, j, k; | ^ oauth2_aux.c: In function ‘oauth2_json_reply’: oauth2_aux.c:219:42: warning: pointer targets in passing argument 1 of ‘xoauth2_server’ differ in signedness [-Wpointer-sign] 219 | server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:174:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 174 | xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:221:33: warning: pointer targets in passing argument 1 of ‘http_open’ differ in signedness [-Wpointer-sign] 221 | && ((stream = http_open(server)) != NULL) | ^~~~~~ | | | char * In file included from c-client.h:46: http.h:125:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 125 | HTTPSTREAM *http_open (unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c: In function ‘mm_login_oauth2_c_client_method’: oauth2_aux.c:284:40: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 284 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * In file included from oauth2_aux.c:24: json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:293:40: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 293 | if((jx = json_body_value(json, "interval")) != NULL) | ^~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:333:57: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 333 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:347:54: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 347 | jx = json_body_value(json, "error"); | ^~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:349:54: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 349 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:376:52: warning: pointer targets in passing argument 1 of ‘xoauth2_server’ differ in signedness [-Wpointer-sign] 376 | char *server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); | ~~~~~~~~~~~~~^~~~~~~~~~ | | | unsigned char * oauth2_aux.c:174:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 174 | xoauth2_server(char *server, char *tenant) | ~~~~~~^~~~~~ oauth2_aux.c:377:40: warning: pointer targets in passing argument 1 of ‘http_get_param_url’ differ in signedness [-Wpointer-sign] 377 | char *url = http_get_param_url(server, params); | ^~~~~~ | | | char * http.h:137:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 137 | unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:377:21: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 377 | char *url = http_get_param_url(server, params); | ^~~~~~~~~~~~~~~~~~ oauth2_aux.c:382:51: warning: pointer targets in passing argument 1 of ‘ogac’ differ in signedness [-Wpointer-sign] 382 | oauth2->param[OA2_Code].value = (*ogac)(url, method, oauth2, tryanother); | ^~~ | | | char * oauth2_aux.c:382:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ oauth2_aux.c:401:60: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 401 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:416:60: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 416 | jx = json_body_value(json, "error"); | ^~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:418:60: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 418 | jx = json_body_value(json, "error_description"); | ^~~~~~~~~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:240:10: warning: unused variable ‘s’ [-Wunused-variable] 240 | char *s = NULL; | ^ oauth2_aux.c: In function ‘oauth2deviceinfo_get_accesscode’: oauth2_aux.c:448:56: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 448 | oauth2->param[OA2_DeviceCode].value = cpystr(dcode->device_code); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ oauth2_aux.c:460:44: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 460 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:460:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 460 | if(compare_cstring(error, "authorization_pending") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:462:49: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 462 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:462:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 462 | else if(compare_cstring(error, "authorization_declined") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:464:49: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 464 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:464:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 464 | else if(compare_cstring(error, "bad_verification_code") == 0) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:466:49: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 466 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:466:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 466 | else if(compare_cstring(error, "expired_token") == 0) | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ oauth2_aux.c:481:56: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 481 | if((jx = json_body_value(json, "expires_in")) != NULL) | ^~~~~~~~~~~~ | | | char * json.h:39:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 39 | JSON_S *json_body_value(JSON_S *, unsigned char *); | ^~~~~~~~~~~~~~~ oauth2_aux.c:442:7: warning: unused variable ‘done’ [-Wunused-variable] 442 | int done = 0, status, rv; | ^~~~ oauth2_aux.c: In function ‘copy_xoauth2_info’: oauth2_aux.c:536:33: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 536 | if(x->name) y->name = cpystr(x->name); | ~^~~~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ oauth2_aux.c:536:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 536 | if(x->name) y->name = cpystr(x->name); | ^ `cat CCTYPE` -c `cat CFLAGS` misc.c misc.c: In function ‘compare_csizedtext’: misc.c:507:10: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 507 | for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) | ^ `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function ‘newsrc_lsub’: newsrc.c:173:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:173:31: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 173 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ newsrc.c:176:28: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:176:33: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 176 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c: In function ‘sm_subscribe’: smanager.c:42:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from c-client.h:49, from smanager.c:30: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:42:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 42 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c: In function ‘sm_unsubscribe’: smanager.c:75:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:75:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 75 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c: In function ‘utf8_script’: utf8.c:383:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~ | | | char * In file included from c-client.h:49, from utf8.c:29: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:383:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 383 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function ‘utf8_charset’: utf8.c:400:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:400:52: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 400 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function ‘utf8_cstext’: utf8.c:586:39: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:586:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 586 | short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function ‘utf8_cstocstext’: utf8.c:613:50: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:613:57: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 613 | !compare_cstring (dcs->name,"ISO-2022-JP"))) ? | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function ‘utf8_rmap’: utf8.c:647:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:647:59: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 647 | return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : | ~~~~~~~~~^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function ‘utf8_csvalidmap’: utf8.c:1323:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:1323:29: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1323 | if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ `cat CCTYPE` -c `cat CFLAGS` utf8aux.c utf8aux.c: In function ‘utf8_from_mutf7’: utf8aux.c:413:24: warning: pointer targets in passing argument 1 of ‘mail_utf7_valid’ differ in signedness [-Wpointer-sign] 413 | if (mail_utf7_valid (src)) return NIL; | ^~~ | | | unsigned char * In file included from c-client.h:41, from utf8aux.c:32: mail.h:1726:30: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1726 | char *mail_utf7_valid (char *mailbox); | ~~~~~~^~~~~~~ utf8aux.c:418:38: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ utf8aux.c:418:26: warning: pointer targets in passing argument 2 of ‘cpytxt’ differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^~~ | | | unsigned char * In file included from c-client.h:49: misc.h:85:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ utf8aux.c:418:10: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 418 | for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { | ^ utf8aux.c: In function ‘utf8_mime2text’: utf8aux.c:130:27: warning: ‘ce’ may be used uninitialized [-Wmaybe-uninitialized] 130 | (e = mime2_token ((unsigned char *) ce+1,se,&ee)) && | ^~~~~~~~~~~~~~~~~~~~ utf8aux.c:118:13: note: ‘ce’ declared here 118 | char *cs,*ce,*ls; | ^~ `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c: In function ‘dummy_valid’: dummy.c:129:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 129 | else if (!compare_cstring (rname,"INBOX")) return &dummydriver; | ^~~~~ | | | char * In file included from dummy.c:37: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:129:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 129 | else if (!compare_cstring (rname,"INBOX")) return &dummydriver; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function ‘dummy_scan’: dummy.c:191:32: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 191 | if (pmatch ("INBOX",ucase (test))) { | ^~~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:191:17: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 191 | if (pmatch ("INBOX",ucase (test))) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c: In function ‘dummy_lsub’: dummy.c:230:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 230 | if (!compare_cstring (s,"INBOX") && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:230:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 230 | if (!compare_cstring (s,"INBOX") && | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:231:34: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 231 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:231:19: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 231 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:233:29: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 233 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:233:31: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 233 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:236:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 236 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:236:28: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 236 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c: In function ‘dummy_list_work’: dummy.c:297:39: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:297:43: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:297:64: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:297:68: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 297 | if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) | ^~~~~~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:311:27: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 311 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:311:45: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 311 | if ((pmatch_full (strcpy (path,tmp),pat,'/') || | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:312:27: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 312 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~~~~~~~~~~~~~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:312:45: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 312 | pmatch_full (strcat (path,"/"),pat,'/') || | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:313:22: warning: pointer targets in passing argument 1 of ‘dmatch’ differ in signedness [-Wpointer-sign] 313 | dmatch (path,pat,'/')) && | ^~~~ | | | char * env.h:30:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:313:27: warning: pointer targets in passing argument 2 of ‘dmatch’ differ in signedness [-Wpointer-sign] 313 | dmatch (path,pat,'/')) && | ^~~ | | | char * env.h:30:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:322:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 322 | if (!pmatch (tmp,"INBOX")) { | ^~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:322:30: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 322 | if (!pmatch (tmp,"INBOX")) { | ^~~~~~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:323:32: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 323 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:323:36: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 323 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:328:37: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 328 | else if (pmatch_full (path,pat,'/') && | ^~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:328:42: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 328 | else if (pmatch_full (path,pat,'/') && | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:332:25: warning: pointer targets in passing argument 1 of ‘dmatch’ differ in signedness [-Wpointer-sign] 332 | if (dmatch (path,pat,'/') && | ^~~~ | | | char * env.h:30:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:332:30: warning: pointer targets in passing argument 2 of ‘dmatch’ differ in signedness [-Wpointer-sign] 332 | if (dmatch (path,pat,'/') && | ^~~ | | | char * env.h:30:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:338:30: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:338:34: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:338:63: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:338:67: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 338 | if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function ‘dummy_create’: dummy.c:467:26: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 467 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:467:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 467 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function ‘dummy_rename’: dummy.c:598:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 598 | if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:598:30: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 598 | if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function ‘dummy_open’: dummy.c:629:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 629 | if (compare_cstring (stream->mailbox,"INBOX")) | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:629:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 629 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function ‘dummy_copy’: dummy.c:736:54: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 736 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from dummy.c:31: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c:737:29: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 737 | mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c: In function ‘dummy_append’: dummy.c:758:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 758 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:758:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 758 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function ‘dummy_scan_contents’: dummy.c:390:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 390 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c fdstring.c: In function ‘fd_string_setpos’: fdstring.c:97:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 97 | read ((long) s->data,s->curpos,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function ‘fd_string_init’: fdstring.c:67:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 67 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c: In function ‘rfc822_parse_msg_full’: rfc822.c:163:14: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 163 | ucase (tmp); /* coerce to uppercase */ | ^~~ | | | char * In file included from c-client.h:49, from rfc822.c:37: misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:202:60: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 202 | if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); | ^ rfc822.c:134:8: warning: unused variable ‘PathP’ [-Wunused-variable] 134 | long PathP = NIL; /* flag that a Path: was seen */ | ^~~~~ rfc822.c: In function ‘rfc822_parse_content’: rfc822.c:379:44: warning: pointer targets in passing argument 1 of ‘rfc822_base64’ differ in signedness [-Wpointer-sign] 379 | s1 = (char *) rfc822_base64 (s, strlen(s), &k); | ^ | | | char * In file included from c-client.h:43: rfc822.h:102:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 102 | void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); | ~~~~~~~~~~~~~~~^~~ rfc822.c:555:63: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ~~^~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:555:54: warning: pointer targets in passing argument 2 of ‘rfc822_parse_content_header’ differ in signedness [-Wpointer-sign] 555 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ^~~~~~~~~~~~ | | | unsigned char * rfc822.h:64:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 64 | void rfc822_parse_content_header (BODY *body,char *name,char *s); | ~~~~~~^~~~ rfc822.c: In function ‘rfc822_parse_content_header’: rfc822.c:626:39: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:626:30: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 626 | body->disposition.type = ucase (cpystr (s)); | ^ rfc822.c:640:51: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 640 | stl->text.data = (unsigned char *) ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:667:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:667:43: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 667 | compare_cstring (s,body_types[i]); i++); | ~~~~~~~~~~^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:678:43: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:678:34: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 678 | body_types[body->type] = ucase (s); | ^ rfc822.c:690:39: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:690:30: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 690 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^ rfc822.c:708:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:708:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 708 | compare_cstring (s,body_encodings[i]); i++); | ~~~~~~~~~~~~~~^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ rfc822.c:719:51: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:719:42: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 719 | body_encodings[body->encoding] = ucase (s); | ^ rfc822.c: In function ‘rfc822_parse_parameter’: rfc822.c:752:33: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:752:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 752 | param->attribute = ucase (cpystr (s)); | ^ rfc822.c: In function ‘rfc822_output_header’: rfc822.c:1528:48: warning: pointer targets in passing argument 4 of ‘rfc822_output_header_line’ differ in signedness [-Wpointer-sign] 1528 | rfc822_output_header_line (buf,"Date",i,env->date) && | ~~~^~~~~~ | | | unsigned char * rfc822.h:89:39: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 89 | char *text); | ~~~~~~^~~~ rfc822.c: In function ‘rfc822_output’: rfc822.c:2422:10: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 2422 | char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ | ^~~ `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c: In function ‘nntp_list’: nntp.c:366:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:366:31: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 366 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c:369:28: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:369:33: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 369 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from c-client.h:49: nntp.c: In function ‘nntp_lsub’: nntp.c:401:74: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:401:76: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 401 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c: In function ‘nntp_status’: nntp.c:571:31: warning: pointer targets in passing argument 1 of ‘newsrc_check_uid’ differ in signedness [-Wpointer-sign] 571 | newsrc_check_uid (state,k,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:32: newsrc.h:42:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c:580:27: warning: pointer targets in passing argument 1 of ‘newsrc_check_uid’ differ in signedness [-Wpointer-sign] 580 | newsrc_check_uid (state,i++,&status.recent,&status.unseen); | ^~~~~ | | | char * newsrc.h:42:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 42 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c: In function ‘nntp_mopen’: nntp.c:752:12: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness [-Wpointer-sign] 752 | lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 753 | net_host (nstream->netstream) : mb.host)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.h:83:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 83 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function ‘nntp_fetchfast’: nntp.c:875:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 875 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:876:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 876 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function ‘nntp_flags’: nntp.c:918:33: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:918:67: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 918 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function ‘nntp_over’: nntp.c:1021:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ nntp.c:1021:72: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1021 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ | | | unsigned char * In file included from osdep.h:44: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ nntp.c: In function ‘nntp_parse_overview’: nntp.c:1067:45: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1067 | if (!elt->day) mail_parse_date (elt,ov->date); | ~~^~~~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function ‘nntp_search_msg’: nntp.c:1336:36: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1336 | (!mail_parse_date (&delt,ov->date) || | ~~^~~~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function ‘nntp_sort_loadcache’: nntp.c:1553:40: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1553 | if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); | ^ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function ‘nntp_extensions’: nntp.c:1845:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1845:29: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1845 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1846:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1846:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1846 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1847:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1847:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1847 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1848:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1848:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1848 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1849:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1849:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1849 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1850:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1850:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1850 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1852:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1852:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1852 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1855:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1855:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1855 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c: In function ‘nntp_mail’: nntp.c:1943:23: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 1943 | if ((s = strstr (env->date," (")) != NULL) *s = NIL; | ~~~^~~~~~ | | | unsigned char * /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ nntp.c:1914:8: warning: unused variable ‘retry’ [-Wunused-variable] 1914 | long retry = NIL; | ^~~~~ nntp.c:1913:8: warning: unused variable ‘error’ [-Wunused-variable] 1913 | long error = NIL; | ^~~~~ nntp.c: In function ‘nntp_mopen’: nntp.c:786:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 786 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 787 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function ‘nntp_header’: nntp.c:1122:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1122 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1123 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1124 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c smtp.c: In function ‘smtp_open_full’: smtp.c:164:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ~~^~~~~~~~ | | | char * In file included from c-client.h:49, from smtp.c:37: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:164:45: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 164 | else if (!compare_cstring (mb.service,"submit")) { | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:182:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:182:44: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 182 | s = compare_cstring ("localhost",mb.host) ? | ~~^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function ‘smtp_auth’: smtp.c:293:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:293:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 293 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function ‘smtp_ehlo’: smtp.c:727:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:727:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 727 | if (!compare_cstring (s,"SIZE")) { | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:731:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 731 | else if (!compare_cstring (s,"DELIVERBY")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:731:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 731 | else if (!compare_cstring (s,"DELIVERBY")) { | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:735:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 735 | else if (!compare_cstring (s,"ATRN")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:735:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 735 | else if (!compare_cstring (s,"ATRN")) { | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:739:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:739:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"AUTH")) | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:745:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:745:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:746:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 746 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:746:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 746 | else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:747:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 747 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:747:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 747 | else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:748:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 748 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:748:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 748 | else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:749:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 749 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:749:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 749 | else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:750:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:750:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:751:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 751 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:751:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 751 | else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:752:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 752 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:752:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 752 | else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:753:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 753 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:753:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 753 | else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:754:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 754 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:754:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 754 | else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:755:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:755:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 755 | else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:756:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:756:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 756 | else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:757:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 757 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:757:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 757 | else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:758:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 758 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:758:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 758 | else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:759:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:759:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 759 | else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:761:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:761:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 761 | else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:762:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:762:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 762 | else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function ‘smtp_auth’: smtp.c:354:15: warning: ‘atsaved’ may be used uninitialized [-Wmaybe-uninitialized] 354 | else if (!atsaved) sprintf (tmp,"SMTP server does not support AUTH=%.80s authenticator",mb->auth); | ^ smtp.c:287:23: note: ‘atsaved’ was declared here 287 | AUTHENTICATOR *at, *atsaved; | ^~~~~~~ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c In file included from c-client.h:49, from imap4r1.c:41: imap4r1.c: In function ‘imap_lsub’: imap4r1.c:524:74: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ imap4r1.c:524:76: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 524 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ imap4r1.c: In function ‘imap_list_work’: imap4r1.c:584:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:584:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 584 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:586:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:586:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 586 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:598:63: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 598 | strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:44: /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:599:58: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 599 | !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function ‘imap_manage’: imap4r1.c:701:52: warning: the address of ‘imapdriver’ will always evaluate as ‘true’ [-Waddress] 701 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && | ^~ imap4r1.c:722:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 722 | mm_log (reply->text,ret ? NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from c-client.h:41: mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_open’: imap4r1.c:906:32: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 906 | if (!reply || strcmp (reply->tag,"*") || | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:907:51: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 907 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:908:31: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 908 | if (reply) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:917:31: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 917 | preauthed = !strcmp (reply->key,"PREAUTH"); | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1062:45: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ~~^~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1062:54: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1062 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1072:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1072 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_rimap’: imap4r1.c:1118:68: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1118 | !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1122:27: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1122:56: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1122 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function ‘imap_anon’: imap4r1.c:1158:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1158 | if (compare_cstring (reply->tag,tag)) { | ^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1160:70: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1160 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1175:16: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1175 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_auth’: imap4r1.c:1198:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1198:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1198 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1244:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1244 | else if (compare_cstring (reply->tag,tag)) | ^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1245:76: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1245 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1259:31: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 1259 | lsterr = cpystr (reply->text); | ~~~~~^~~~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c: In function ‘imap_login’: imap4r1.c:1325:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1325 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_challenge’: imap4r1.c:1356:24: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 1356 | !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1361:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1361 | strlen (reply->text),len))) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c: In function ‘imap_close’: imap4r1.c:1430:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1430 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_fast’: imap4r1.c:1471:45: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1471 | if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_flags’: imap4r1.c:1492:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1492 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_overview’: imap4r1.c:1545:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1545 | ov.date = env->date; | ^ imap4r1.c: In function ‘imap_structure’: imap4r1.c:1593:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1593 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1720:29: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1720 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1722:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1722 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_msgdata’: imap4r1.c:1952:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1952 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1962:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1962 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1971:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1971 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1975:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1975 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_uid’: imap4r1.c:2028:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2028 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_msgno’: imap4r1.c:2064:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2064 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_flag’: imap4r1.c:2105:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2105 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_search’: imap4r1.c:2177:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2177 | !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2196:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2196 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2202:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2202 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:2238:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2238 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_sort’: imap4r1.c:2301:46: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2301 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2308:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2308 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2317:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2317 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_thread’: imap4r1.c:2404:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2404 | if (!compare_cstring (thr->name,type)) | ~~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2404:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2404 | if (!compare_cstring (thr->name,type)) | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function ‘imap_thread_work’: imap4r1.c:2464:44: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2464 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2471:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2471 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2479:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2479 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_check’: imap4r1.c:2503:16: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2503 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_expunge’: imap4r1.c:2528:36: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 2528 | else if (mail_sequence (stream,sequence)) { | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2556:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2556 | if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_copy’: imap4r1.c:2594:65: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 2594 | else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2598:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2598 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_append’: imap4r1.c:2651:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2651 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_append_referral’: imap4r1.c:2714:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2714 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_append_single’: imap4r1.c:2744:32: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 2744 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:2748:44: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2748 | LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); | ^ imap4r1.c:2749:24: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2749 | LOCAL->reply.key = "BAD"; | ^ imap4r1.c:2750:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2750 | LOCAL->reply.text = "Bad date in append"; | ^ imap4r1.c: In function ‘imap_acl_work’: imap4r1.c:2946:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2946 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_setquota’: imap4r1.c:2970:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2970 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_setid’: imap4r1.c:3048:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3048 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_getquota’: imap4r1.c:3072:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3072 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_getquotaroot’: imap4r1.c:3095:23: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3095 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_send’: imap4r1.c:3132:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3132 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3132:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3132 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3133:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3133 | compare_cstring (cmd,"STORE") && | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3133:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3133 | compare_cstring (cmd,"STORE") && | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3134:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3134 | compare_cstring (cmd,"SEARCH")) ? | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3134:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 3134 | compare_cstring (cmd,"SEARCH")) ? | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3287:52: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 3287 | if (!map->date || mail_parse_date (&elt,map->date)) { | ~~~^~~~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function ‘imap_send_literal’: imap4r1.c:3413:20: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 3413 | if (strcmp (reply->tag,"+")) {/* prompt for more data? */ | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function ‘imap_search_x_gm_ext1’: imap4r1.c:3627:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 3627 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3633:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3633 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:3668:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 3668 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_reply’: imap4r1.c:4001:25: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4001 | if (!strcmp (reply->tag,"+")) return reply; | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4003:30: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4003 | else if (!strcmp (reply->tag,"*")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4008:38: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4008 | if (tag && !compare_cstring (tag,reply->tag)) return reply; | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function ‘imap_parse_reply’: imap4r1.c:4034:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4034 | if (!(LOCAL->reply.line = text)) { | ^ imap4r1.c:4040:43: warning: pointer targets in passing argument 1 of ‘mm_dlog’ differ in signedness [-Wpointer-sign] 4040 | if (stream->debug) mm_dlog (LOCAL->reply.line); | ^ | | | unsigned char * mail.h:1699:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1699 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:4041:50: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4041 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4041:26: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4041 | if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { | ^ imap4r1.c:4047:27: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4047 | if (strcmp (LOCAL->reply.tag,"+")) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4049:28: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4049 | if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { | ^ imap4r1.c:4059:29: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4059 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4060:66: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 4060 | LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4063:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4063 | LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ | ^ imap4r1.c:4064:29: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4064 | if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) | ^ imap4r1.c:4065:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4065 | LOCAL->reply.text = ""; | ^ imap4r1.c: In function ‘imap_fake’: imap4r1.c:4085:40: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4085 | LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); | ^ imap4r1.c:4086:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4086 | LOCAL->reply.key = "NO"; | ^ imap4r1.c:4087:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4087 | LOCAL->reply.text = text; | ^ imap4r1.c: In function ‘imap_OK’: imap4r1.c:4102:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4102 | if (!strcmp (reply->key,"OK")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4103:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4103 | imap_parse_response (stream,reply->text,NIL,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4107:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4107 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4108:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4108 | imap_parse_response (stream,reply->text,WARN,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4110:23: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4110 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4111:40: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4111 | imap_parse_response (stream,reply->text,ERROR,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c: In function ‘imap_parse_unsolicited’: imap4r1.c:4135:27: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4135 | msgno = strtoul (reply->key,(char **) &s,10); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4149:31: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4149 | s = ucase (strtok_r (reply->text," ",&r)); | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4149:16: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 4149 | s = ucase (strtok_r (reply->text," ",&r)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4150:7: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4150 | t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ | ^ imap4r1.c:4153:35: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4153 | if (LOCAL->authed && !strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4155:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4155 | else if (LOCAL->authed && !strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4157:40: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4157 | else if (LOCAL->authed && !strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4165:46: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4165 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4165:69: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4165 | else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4176:33: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4176 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4176:52: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4176 | while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { | ^ imap4r1.c:4180:29: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 4180 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4180:22: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4180 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4188:34: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 4188 | mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4194:60: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4194 | LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4235:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4235 | if (!(s = strchr (md.what,']'))) { | ^ imap4r1.c:4237:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4237 | for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); | ^ imap4r1.c:4239:28: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 4239 | if (strncmp (s,"HEADER.FIELDS",13) && | ^ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imap4r1.c:4240:39: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4240 | (!s[13] || strcmp (s+13,".NOT"))) | ~^~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4250:39: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4250 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ~~^~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4250:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4250 | else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; | ^ imap4r1.c:4255:38: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4255 | md.first = strtoul (s+1,(char **) &s,10) + 1; | ~^~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4298:41: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4298 | elt->rfc822_size = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4334:22: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4334 | else if (strcmp (s,"COPY") || !LOCAL->authed) { | ^ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4341:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4341 | else if (LOCAL->authed && !strcmp (reply->key,"FLAGS") && reply->text && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4343:38: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4343 | (s = strtok_r (reply->text+1," )",&r))) | ~~~~~~~~~~~^~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4343:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4343 | (s = strtok_r (reply->text+1," )",&r))) | ^ imap4r1.c:4346:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4346 | compare_cstring (s,stream->user_flags[i]); i++); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4352:74: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 4352 | else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c:4354:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4354 | while ((s = strtok_r (NIL," )",&r)) != NULL); | ^ imap4r1.c:4355:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4355 | else if (LOCAL->authed && !strcmp (reply->key,"SEARCH")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4357:44: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4357 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4357:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4357 | if (reply->text && (t = strtok_r (reply->text," ",&r))) do | ^ imap4r1.c:4358:25: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4358 | if ((i = strtoul (t,NIL,10)) != 0L) { | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4367:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4367 | } while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4369:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4369 | else if (LOCAL->authed && !strcmp (reply->key,"SORT")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4377:44: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4377 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4377:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4377 | if (reply->text && (t = strtok_r (reply->text," ",&r))) { | ^ imap4r1.c:4378:25: warning: pointer targets in passing argument 1 of ‘atol’ differ in signedness [-Wpointer-sign] 4378 | do if ((i = atol (t)) && (LOCAL->filter ? | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/stdlib.h:486:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 486 | __NTH (atol (const char *__nptr)) | ^~~~~ imap4r1.c:4381:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4381 | while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); | ^ imap4r1.c:4387:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4387 | else if (LOCAL->authed && !strcmp (reply->key,"THREAD")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4402:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4402 | else if (LOCAL->authed && !strcmp (reply->key,"STATUS") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4406:60: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4406 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4406:50: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4406 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^ imap4r1.c:4412:35: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4412 | while (*txt && (s = strchr (txt,' '))) { | ^~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4412:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4412 | while (*txt && (s = strchr (txt,' '))) { | ^ imap4r1.c:4415:22: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4415 | i = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4416:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4416 | if (!compare_cstring (txt,"MESSAGES")) { | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4420:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4420 | else if (!compare_cstring (txt,"RECENT")) { | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4424:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4424 | else if (!compare_cstring (txt,"UNSEEN")) { | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4428:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4428 | else if (!compare_cstring (txt,"UIDNEXT")) { | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4432:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4432 | else if (!compare_cstring (txt,"UIDVALIDITY")) { | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4441:60: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 4441 | strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imap4r1.c:4450:30: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4450 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4450:61: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4450 | && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4452:30: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4452 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4452:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4452 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^ imap4r1.c:4456:35: warning: pointer targets in passing argument 1 of ‘strtok_r’ differ in signedness [-Wpointer-sign] 4456 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ~~~~~~~~~~~^~ | | | unsigned char * /usr/include/string.h:366:41: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:4456:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4456 | if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { | ^ imap4r1.c:4457:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4457 | if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4458:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4458 | else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4459:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4459 | else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4460:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4460 | else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4461:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4461 | else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4462:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4462 | else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4463:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4463 | else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4464:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4464 | else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4465:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4465 | else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4466:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4466 | else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4467:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4467 | else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4468:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4468 | else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4469:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4469 | else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4472:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4472 | while ((t = strtok_r (NIL," ",&r)) != NULL); | ^ imap4r1.c:4486:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4486 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ^ imap4r1.c:4486:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 4486 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4489:59: warning: pointer targets in passing argument 3 of ‘mm_lsub’ differ in signedness [-Wpointer-sign] 4489 | if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); | ^ | | | unsigned char * mail.h:1696:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1696 | void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4490:38: warning: pointer targets in passing argument 3 of ‘mm_list’ differ in signedness [-Wpointer-sign] 4490 | else mm_list (stream,delimiter,s,i); | ^ | | | unsigned char * mail.h:1695:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1695 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:4494:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4494 | else if (LOCAL->authed && !strcmp (reply->key,"NAMESPACE")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4517:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4517 | else if (LOCAL->authed && !strcmp (reply->key,"ACL") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4523:30: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4523 | do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && | ^ imap4r1.c:4525:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4525 | ac->rights = imap_parse_astring (stream,&s,reply,NIL); | ^ imap4r1.c:4534:34: warning: pointer targets in passing argument 2 of ‘ar’ differ in signedness [-Wpointer-sign] 4534 | else if (ar) (*ar) (stream,t,al); | ^ | | | unsigned char * imap4r1.c:4534:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4538:32: warning: pointer targets in passing argument 2 of ‘ar’ differ in signedness [-Wpointer-sign] 4538 | else if (ar) (*ar) (stream,t,NIL); | ^ | | | unsigned char * imap4r1.c:4538:32: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4542:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4542 | else if (LOCAL->authed && !strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4546:35: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4546 | if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ | ^ imap4r1.c:4548:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4548 | (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4562:38: warning: pointer targets in passing argument 2 of ‘lr’ differ in signedness [-Wpointer-sign] 4562 | else if (lr) (*lr) (stream,t,id,r,rl); | ^ | | | unsigned char * imap4r1.c:4562:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4567:36: warning: pointer targets in passing argument 2 of ‘lr’ differ in signedness [-Wpointer-sign] 4567 | else if (lr) (*lr) (stream,t,id,r,NIL); | ^ | | | unsigned char * imap4r1.c:4567:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4586:29: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4586 | && !strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4590:34: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4590 | if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4596:34: warning: pointer targets in passing argument 2 of ‘mr’ differ in signedness [-Wpointer-sign] 4596 | else if (mr) (*mr) (stream,t,r); | ^ | | | unsigned char * imap4r1.c:4596:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4608:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4608 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTA") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4619:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4619 | if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && | ^ imap4r1.c:4621:50: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4621 | if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4622:33: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 4622 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:4622:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4622 | else if ((t = strchr (s,' ')) != NULL) t = s; | ^ imap4r1.c:4624:52: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4624 | if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4625:36: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 4625 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ imap4r1.c:4625:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4625 | else if ((t = strpbrk (s," )")) != NULL) t = s; | ^ imap4r1.c:4630:37: warning: pointer targets in passing argument 2 of ‘qt’ differ in signedness [-Wpointer-sign] 4630 | if (qt) (*qt) (stream,t,ql); | ^ | | | unsigned char * imap4r1.c:4630:37: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4649:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4649 | else if (LOCAL->authed && !strcmp (reply->key,"ID") && (s = reply->text)){ | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4650:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4650 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4650:69: warning: pointer targets in passing argument 1 of ‘imap_parse_idlist’ differ in signedness [-Wpointer-sign] 4650 | if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); | ^ | | | unsigned char * imap4r1.c:2976:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2976 | IDLIST *imap_parse_idlist (char *text) | ~~~~~~^~~~ imap4r1.c:4652:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4652 | else if (LOCAL->authed && !strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4667:34: warning: pointer targets in passing argument 2 of ‘qr’ differ in signedness [-Wpointer-sign] 4667 | else if (qr) (*qr) (stream,t,rl); | ^ | | | unsigned char * imap4r1.c:4667:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ imap4r1.c:4678:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4678 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4678:55: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4678 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4679:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4679 | imap_parse_response (stream,reply->text,NIL,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4680:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4680 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4681:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4681 | imap_parse_response (stream,reply->text,WARN,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4682:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4682 | else if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4683:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4683 | imap_parse_response (stream,reply->text,ERROR,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4684:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4684 | else if (!strcmp (reply->key,"BYE")) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4686:38: warning: pointer targets in passing argument 2 of ‘imap_parse_response’ differ in signedness [-Wpointer-sign] 4686 | imap_parse_response (stream,reply->text,BYE,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:240:52: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 240 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4688:26: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4688 | else if (!strcmp (reply->key,"CAPABILITY") && reply->text) | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4689:42: warning: pointer targets in passing argument 2 of ‘imap_parse_capabilities’ differ in signedness [-Wpointer-sign] 4689 | imap_parse_capabilities (stream,reply->text); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:275:56: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 275 | void imap_parse_capabilities (MAILSTREAM *stream,char *t); | ~~~~~~^ imap4r1.c:4690:43: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 4690 | else if (LOCAL->authed && !strcmp (reply->key,"MAILBOX") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4692:49: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 4692 | ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) | ~~~~~^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4693:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4693 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ^ imap4r1.c:4693:18: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 4693 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4695:25: warning: pointer targets in passing argument 3 of ‘mm_list’ differ in signedness [-Wpointer-sign] 4695 | mm_list (stream,NIL,t,NIL); | ^ | | | unsigned char * mail.h:1695:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1695 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c: In function ‘imap_parse_response’: imap4r1.c:4728:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4728 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4728:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4728 | if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4729:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4729 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4729:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4729 | else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4737:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4737 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4737:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4737 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4738:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4738 | else if (!compare_cstring (s,"\\Deleted")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4738:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4738 | else if (!compare_cstring (s,"\\Deleted")) | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4740:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4740 | else if (!compare_cstring (s,"\\Flagged")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4740:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4740 | else if (!compare_cstring (s,"\\Flagged")) | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4742:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4742 | else if (!compare_cstring (s,"\\Answered")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4742:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4742 | else if (!compare_cstring (s,"\\Answered")) | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4744:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4744 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4744:42: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4744 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4752:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4752 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4752:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4752 | else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4763:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4763 | else if (!compare_cstring (t,"UIDNEXT")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4763:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4763 | else if (!compare_cstring (t,"UIDNEXT")) | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4766:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4766 | !compare_cstring (t,"COPYUID") && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4766:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4766 | !compare_cstring (t,"COPYUID") && | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4772:39: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4772 | else if (j && !compare_cstring (t,"APPENDUID") && | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4772:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4772 | else if (j && !compare_cstring (t,"APPENDUID") && | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4779:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4779 | if (!compare_cstring (t,"REFERRAL")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4779:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4779 | if (!compare_cstring (t,"REFERRAL")) | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4786:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4786 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4786:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4786 | if (!compare_cstring (t,"UIDNOTSTICKY")) { | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4790:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4790 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4790:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4790 | else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4791:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-WRITE")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4791:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4791 | else if (!compare_cstring (t,"READ-WRITE")) | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4793:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4793 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4793:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 4793 | else if (!compare_cstring (t,"PARSE") && !errflg) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function ‘imap_parse_namespace’: imap4r1.c:4835:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4835 | nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); | ^ imap4r1.c:4860:32: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4860 | if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, | ^ imap4r1.c:4872:32: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4872 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, | ^ imap4r1.c: In function ‘imap_parse_thread’: imap4r1.c:4945:29: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 4945 | else if (isdigit (*(s = *txtptr)) && | ^ imap4r1.c:4947:26: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 4947 | strtoul (*txtptr,(char **) txtptr,10))) { | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function ‘imap_parse_envelope’: imap4r1.c:5033:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5033 | (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5040:25: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5040 | (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5042:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5042 | (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function ‘imap_parse_address’: imap4r1.c:5140:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5140 | adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5141:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5141 | adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5142:20: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5142 | adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5143:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5143 | adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function ‘imap_parse_flags’: imap4r1.c:5240:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5240 | while (*(flag = ++*txtptr) == ' '); | ^ imap4r1.c:5248:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5248 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5248:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5248 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5249:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5249 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5249:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5249 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5250:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5250:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5250 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5251:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5251:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5251 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5252:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5252:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5252 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5253:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5253:39: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5253 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function ‘imap_parse_user_flag’: imap4r1.c:5281:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5281 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5281:50: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5281 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function ‘imap_parse_astring’: imap4r1.c:5314:46: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 5314 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ imap4r1.c:5314:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5314 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ imap4r1.c: In function ‘imap_parse_string’: imap4r1.c:5355:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5355 | if (c) st = ++*txtptr; /* remember start of string */ | ^ imap4r1.c:5410:28: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5410 | else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5442:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5442 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5443:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5443 | reply->line = cpystr (""); | ^ imap4r1.c:5444:38: warning: pointer targets in passing argument 1 of ‘mm_dlog’ differ in signedness [-Wpointer-sign] 5444 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1699:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1699 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c: In function ‘imap_cache’: imap4r1.c:5512:39: warning: pointer targets in passing argument 3 of ‘mail_body’ differ in signedness [-Wpointer-sign] 5512 | if (!(b = mail_body (stream,msgno,seg))) { | ^~~ | | | char * mail.h:1791:33: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1791 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ imap4r1.c: In function ‘imap_parse_body_structure’: imap4r1.c:5590:26: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5590 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5591:20: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5591 | ucase (body->subtype); | ~~~~^~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5609:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5609 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5630:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5630 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5631:16: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5631 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5643:26: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5643 | if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) | ^ imap4r1.c:5644:20: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5644 | ucase (body->subtype); /* parse subtype */ | ~~~~^~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5651:16: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5651 | body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5652:25: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5652 | body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5654:14: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5654 | if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { | ^ imap4r1.c:5655:16: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 5655 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5671:35: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5671 | body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5692:37: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5692 | body->size.lines = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5699:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5699 | body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5712:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5712 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function ‘imap_parse_body_parameter’: imap4r1.c:5759:24: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5759 | if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5765:22: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5765 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ | ^ imap4r1.c:5791:18: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5791 | ((*(s = *txtptr) == 'I') || (*s == 'i')) && | ^ imap4r1.c: In function ‘imap_parse_disposition’: imap4r1.c:5815:28: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5815 | body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c: In function ‘imap_parse_language’: imap4r1.c:5858:15: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 5858 | else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { | ^ imap4r1.c: In function ‘imap_parse_extension’: imap4r1.c:5927:23: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5927 | if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5932:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5932 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5933:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5933 | reply->line = cpystr (""); | ^ imap4r1.c:5934:38: warning: pointer targets in passing argument 1 of ‘mm_dlog’ differ in signedness [-Wpointer-sign] 5934 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * mail.h:1699:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1699 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:5939:14: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 5939 | strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function ‘imap_parse_capabilities’: imap4r1.c:5973:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5973 | if (!compare_cstring (t,"IMAP4")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5973:29: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5973 | if (!compare_cstring (t,"IMAP4")) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5975:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5975 | else if (!compare_cstring (t,"IMAP4rev1")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5975:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5975 | else if (!compare_cstring (t,"IMAP4rev1")) | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5977:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5977 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5977:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5977 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5978:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"IMAP2bis")) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5978:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5978 | else if (!compare_cstring (t,"IMAP2bis")) | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5980:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5980 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5980:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5980 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5981:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5981:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5981 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5982:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5982:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5982 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5983:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5983:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5983 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5984:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5984:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5984 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5985:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5985:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5985 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5986:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5986:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5986 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5987:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5987:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5987 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5988:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5988:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5988 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5989:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5989:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5989 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5990:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5990:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5990 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5991:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5991:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5991 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5992:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5992:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5992 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5993:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5993:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5993 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5994:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5994:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5994 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5995:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5995:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5995 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5996:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5996:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5996 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5997:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5997:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5997 | else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5998:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5998:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5998 | else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5999:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5999:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 5999 | else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6000:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6000:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6000 | else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6001:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6001:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6001 | else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6009:29: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6009 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6009:31: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6009 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6016:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6016 | else if (!compare_cstring (t,"AUTH")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6016:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6016 | else if (!compare_cstring (t,"AUTH")) { | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6019:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6019 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:6019:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 6019 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function ‘imap_auth’: imap4r1.c:1276:14: warning: ‘atsaved’ may be used uninitialized [-Wmaybe-uninitialized] 1276 | else if (!atsaved) sprintf (tmp,"IMAP server does not support AUTH=%.80s authenticator",mb->auth); | ^ imap4r1.c:1193:23: note: ‘atsaved’ was declared here 1193 | AUTHENTICATOR *at, *atsaved; | ^~~~~~~ `cat CCTYPE` -c `cat CFLAGS` http.c http.c: In function ‘http_response_from_reply’: http.c:137:20: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 137 | s = strstr(stream->reply, "\r\n\r\n"); | ~~~~~~^~~~~~~ | | | unsigned char * In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ http.c:137:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 137 | s = strstr(stream->reply, "\r\n\r\n"); | ^ http.c: In function ‘http_add_data_to_header’: http.c:360:36: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 360 | if(h->data) buffer_add(&h->data, ", "); | ^~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function ‘http_add_header_data’: http.c:380:18: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:380:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 380 | if((h = strchr(hdata, ':'))){ | ^ http.c:383:13: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:92:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:383:20: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 383 | strncpy(hname, hdata, h-hdata); | ^~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:385:9: note: in expansion of macro ‘valid_token_name’ 385 | if(!valid_token_name(hname)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:395:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 395 | case 'a': if(!compare_cstring(hname+1, "ccept:")) /* RFC 7231, Section 5.3.2 */ | ^~~~~~~~ | | | char * In file included from c-client.h:49: misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:397:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 397 | else if(!compare_cstring(hname+1, "ccept-charset:")) /* RFC 7231, Section 5.3.3 */ | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:399:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 399 | else if(!compare_cstring(hname+1, "ccept-encoding:")) /* RFC 7231, Section 5.3.4 */ | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:401:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 401 | else if(!compare_cstring(hname+1, "ccept-language:")) /* RFC 7231, Section 5.3.5 */ | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:403:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 403 | else if(!compare_cstring(hname+1, "ccept-ranges:")) /* RFC 7233, Section 2.3 */ | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:405:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 405 | else if(!compare_cstring(hname+1, "ge:")) /* RFC 7234, Section 5.1 */ | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:407:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 407 | else if(!compare_cstring(hname+1, "llow:")) /* RFC 7231, Section 7.4.1 */ | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:413:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 413 | case 'c': if(!compare_cstring(hname+1, "ache-control:")) /* RFC 7234, Section 5.2 */ | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:415:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 415 | else if(!compare_cstring(hname+1, "onnection:")) /* RFC 7230, Section 6.1 */ | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:417:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 417 | else if(!compare_cstring(hname+1, "ontent-disposition:")) /* RFC 6266 */ | ^~~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:419:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 419 | else if(!compare_cstring(hname+1, "ontent-encoding:")) /* RFC 7231, Section 3.1.2.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:421:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 421 | else if(!compare_cstring(hname+1, "ontent-language:")) /* RFC 7231, Section 3.1.3.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:423:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 423 | else if(!compare_cstring(hname+1, "ontent-length:")) /* RFC 7230, Section 3.3.2 */ | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:425:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 425 | else if(!compare_cstring(hname+1, "ontent-location:")) /* RFC 7231, Section 3.1.4.2 */ | ^~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:427:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 427 | else if(!compare_cstring(hname+1, "ontent-type:")) /* RFC 7231, Section 3.1.1.5 */ | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:433:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 433 | case 'd': if(!compare_cstring(hname+1, "ate:")) /* RFC 7231, Section 7.1.1.2 */ | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:439:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 439 | case 'e': if(!compare_cstring(hname+1, "tag:")) /* RFC 7232, Section 2.3 */ | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:441:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 441 | else if(!compare_cstring(hname+1, "xpect:")) /* RFC 7231, Section 5.1.1 */ | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:443:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 443 | else if(!compare_cstring(hname+1, "xpires:")) /* RFC 7234, Section 5.3 */ | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:449:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 449 | case 'f': if(!compare_cstring(hname+1, "rom:")) /* RFC 7231, Section 5.5.1 */ | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:455:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 455 | case 'h': if(!compare_cstring(hname+1, "ost:")) /* RFC 7230, Section 5.4 */ | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:461:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 461 | case 'l': if(!compare_cstring(hname+1, "ast-modified:")) /* RFC 7232, Section 2.2 */ | ^~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:463:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 463 | else if(!compare_cstring(hname+1, "ocation:")) /* RFC 7231, Section 7.1.2 */ | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:469:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 469 | case 'm': if(!compare_cstring(hname+1, "ax-forwards:")) /* RFC 7231, Section 5.1.2 */ | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:471:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 471 | else if(!compare_cstring(hname+1, "ime-version:")) /* RFC 7231, Appendix A.1 */ | ^~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:477:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 477 | case 'p': if(!compare_cstring(hname+1, "ragma:")) /* RFC 7234, Section 5.4 */ | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:479:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 479 | else if(!compare_cstring(hname+1, "roxy-authenticate:")) /* RFC 7235, Section 4.3 */ | ^~~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:485:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 485 | case 'r': if(!compare_cstring(hname+1, "eferer:")) /* RFC 7231, Section 5.5.2 */ | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:487:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 487 | else if(!compare_cstring(hname+1, "etry-after:")) /* RFC 7231, Section 7.1.3 */ | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:493:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 493 | case 's': if(!compare_cstring(hname+1, "erver:")) /* RFC 7231, Section 7.4.2 */ | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:499:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 499 | case 't': if(!compare_cstring(hname+1, "e:")) /* RFC 7230, Section 4.3 */ | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:501:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 501 | else if(!compare_cstring(hname+1, "railer:")) /* RFC 7230, Section 4.4 */ | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:503:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 503 | else if(!compare_cstring(hname+1, "ransfer-encoding:")) /* RFC 7230, Section 3.3.1 */ | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:510:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 510 | case 'u': if(!compare_cstring(hname+1, "pgrade:")) /* RFC 7230, Section 6.7 */ | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:512:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 512 | else if(!compare_cstring(hname+1, "ser-agent:")) /* RFC 7231, Section 5.5.3 */ | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:518:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 518 | case 'v': if(!compare_cstring(hname+1, "ia:")) /* RFC 7230, Section 5.7.1 */ | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:520:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 520 | else if(!compare_cstring(hname+1, "ary:")) /* RFC 7231, Section 7.1.4 */ | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:526:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 526 | case 'w': if(!compare_cstring(hname+1, "arning:")) /* RFC 7234, Section 5.5 */ | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:528:51: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 528 | else if(!compare_cstring(hname+1, "ww-authenticate:")) /* RFC 7235, Section 4.1 */ | ^~~~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:369:7: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 369 | int found = 1; | ^~~~~ http.c: In function ‘http_parse_token_list’: http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:555:7: note: in expansion of macro ‘valid_token_name’ 555 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:563:26: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 563 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function ‘http_parse_token_parameter’: http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:604:7: note: in expansion of macro ‘valid_token_name’ 604 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:617:26: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 617 | rv->vp->value = cpystr(s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function ‘valid_dquote_text’: http.c:635:15: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ~^~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:635:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 635 | t = strchr(s+1, '\"'); | ^ http.c: In function ‘http_remove_trailing_ows’: http.c:652:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 652 | for(t = s; strlen(t) > 0 ;) | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:653:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:653:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 653 | if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:654:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 654 | t[strlen(t)-1] = '\0'; | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function ‘http_parse_parameter’: http.c:675:14: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:675:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 675 | u = strchr(s, '='); | ^ http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:680:9: note: in expansion of macro ‘valid_token_name’ 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:680:56: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^ | | | unsigned char * http.c:102:40: note: in definition of macro ‘valid_token_name’ 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^ http.c:680:33: note: in expansion of macro ‘valid_parameter_value’ 680 | if(!valid_token_name(s) || !valid_parameter_value(u+1)) | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:683:27: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 683 | p->attribute = cpystr(s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:684:24: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 684 | p->value = cpystr(u+1); | ~^~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c:102:39: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 102 | #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) | ^~~ | | | unsigned char * http.c:693:9: note: in expansion of macro ‘valid_token_name’ 693 | if(!valid_token_name(s)) | ^~~~~~~~~~~~~~~~ /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ http.c:696:27: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 696 | p->attribute = cpystr(s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function ‘http_get_param_url’: http.c:713:51: warning: pointer targets in passing argument 1 of ‘hex_escape_url_part’ differ in signedness [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:91:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:713:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 713 | enc_param.name = hex_escape_url_part(param[i].name, NULL); | ^ http.c:714:51: warning: pointer targets in passing argument 1 of ‘hex_escape_url_part’ differ in signedness [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:91:36: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 91 | unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:714:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 714 | enc_param.value = hex_escape_url_part(param[i].value, NULL); | ^ http.c:715:34: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 715 | buffer_add(&rv, i == 0 ? "?" : "&"); | ~~~~~~~~~~~~~^~~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:716:30: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 716 | buffer_add(&rv, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:717:21: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 717 | buffer_add(&rv, "="); | ^~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:718:30: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 718 | buffer_add(&rv, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:90:35: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 90 | void buffer_add(unsigned char **, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function ‘http_request_line’: http.c:749:20: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:749:37: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:749:54: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 749 | int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:752:11: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 752 | sprintf(line, "%s %s %s", method, target, version); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function ‘http_add_header’: http.c:765:17: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:765:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 765 | len = strlen(name) + 2 + strlen(value) + 2 + 1; | ^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:766:42: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 766 | hlen = (*reqp)->header ? strlen((*reqp)->header) : 0; | ~~~~~~~^~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:769:27: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 769 | sprintf((*reqp)->header + hlen, "%s: %s\015\012", name, value); | ~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c: In function ‘buffer_add’: http.c:779:24: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 779 | len = *bufp ? strlen(*bufp) : 0; | ^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:780:43: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 780 | fs_resize((void **) bufp, (len + strlen(text) + 1)*sizeof(char)); | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:782:10: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c:782:17: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] 782 | strcat(*bufp, text); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ http.c: In function ‘hex_escape_url_part’: http.c:832:39: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 832 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:837:39: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 837 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:838:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:838:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 838 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:840:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:840:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 840 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:841:35: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 841 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function ‘encode_url_body_part’: http.c:850:39: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 850 | unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:855:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:855:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 855 | sprintf(s + strlen(s), "%c", '+'); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:857:39: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 857 | || (addsafe != NULL && strchr(addsafe, *t) != NULL)) | ^~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:858:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:858:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 858 | sprintf(s + strlen(s), "%c", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:860:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:860:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 860 | sprintf(s + strlen(s), "%%%X", *t); | ~~^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ http.c:861:35: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 861 | fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c: In function ‘http_valid_net_parse’: http.c:887:20: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ~~~~~^~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:887:6: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 887 | s = strchr(url+i+1, '/'); | ^ http.c:888:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 888 | len = s ? s - url - i - 1 : strlen(url+i+1); | ~~~~~^~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:889:31: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 889 | strncpy(mb->orighost, url+i+1, len); | ~~~~~^~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ http.c: In function ‘http_open’: http.c:915:5: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 915 | s = strchr((char *) url + 7 + (mb.trysslflag ? 1 : 0) + 1, '/'); /* 7 = strlen("http://") + 1 */ | ^ http.c:916:28: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 916 | stream->url = cpystr(url); | ^~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function ‘http_post_param’: http.c:941:45: warning: pointer targets in passing argument 1 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~ | | | char * http.c:747:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:941:59: warning: pointer targets in passing argument 2 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:747:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ In file included from c-client.h:46: http.h:76:33: warning: pointer targets in passing argument 3 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:941:70: note: in expansion of macro ‘HTTP_1_1_VERSION’ 941 | http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:747:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:942:34: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:942:48: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 942 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:943:34: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 943 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.h:74:33: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 74 | #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:943:50: note: in expansion of macro ‘HTTP_MIME_URLENCODED’ 943 | http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); | ^~~~~~~~~~~~~~~~~~~~ http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:946:52: warning: pointer targets in passing argument 1 of ‘encode_url_body_part’ differ in signedness [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ~~~~~~~~^~~~~ | | | char * http.c:847:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:946:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 946 | enc_param.name = encode_url_body_part(param[i].name, NULL); | ^ http.c:947:52: warning: pointer targets in passing argument 1 of ‘encode_url_body_part’ differ in signedness [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ~~~~~~~~^~~~~~ | | | char * http.c:847:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 847 | encode_url_body_part(unsigned char *text, unsigned char *addsafe) | ~~~~~~~~~~~~~~~^~~~ http.c:947:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 947 | enc_param.value = encode_url_body_part(param[i].value, NULL); | ^ http.c:949:37: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 949 | http_add_body(&http_request, "&"); | ^~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:950:43: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 950 | http_add_body(&http_request, enc_param.name); | ~~~~~~~~~^~~~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:951:34: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 951 | http_add_body(&http_request, "="); | ^~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:952:43: warning: pointer targets in passing argument 2 of ‘http_add_body’ differ in signedness [-Wpointer-sign] 952 | http_add_body(&http_request, enc_param.value); | ~~~~~~~~~^~~~~~ | | | char * http.c:786:53: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 786 | http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:959:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 959 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function ‘http_get’: http.c:977:45: warning: pointer targets in passing argument 1 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~ | | | char * http.c:747:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.c:977:58: warning: pointer targets in passing argument 2 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ~~~~~~^~~~~~~~~ | | | char * http.c:747:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~ http.h:76:33: warning: pointer targets in passing argument 3 of ‘http_request_line’ differ in signedness [-Wpointer-sign] 76 | #define HTTP_1_1_VERSION "HTTP/1.1" | ^~~~~~~~~~ | | | char * http.c:977:69: note: in expansion of macro ‘HTTP_1_1_VERSION’ 977 | http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); | ^~~~~~~~~~~~~~~~ http.c:747:80: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 747 | http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) | ~~~~~~~~~~~~~~~^~~~~~~ http.c:978:34: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ^~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:978:48: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 978 | http_add_header(&http_request, "Host", stream->urlhost); | ~~~~~~^~~~~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:980:41: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ~~~~^~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:980:53: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 980 | http_add_header(&http_request, h[i]->name, h[i]->value); | ~~~~^~~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:984:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 984 | response = cpystr(s ? (char *) s : ""); | ^ http.c: In function ‘http_send’: http.c:1014:29: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1014 | ret = http_fake (stream,"http connection lost"); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1019:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1019 | sprintf(length, "%lu", strlen(req->body)); | ~~~^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:1020:29: warning: pointer targets in passing argument 2 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~~~~~~~~~~~ | | | char * http.c:757:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~ http.c:1020:47: warning: pointer targets in passing argument 3 of ‘http_add_header’ differ in signedness [-Wpointer-sign] 1020 | http_add_header(&req, "Content-Length", length); | ^~~~~~ | | | char * http.c:757:76: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 757 | http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) | ~~~~~~~~~~~~~~~^~~~~ http.c:1023:50: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1023 | buffer_add(&s, req->request); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1024:49: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1024 | buffer_add(&s, req->header); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1025:47: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1025 | buffer_add(&s, req->body); buffer_add(&s, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1027:30: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1027 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ | | | unsigned char * In file included from c-client.h:41: mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1029:40: warning: pointer targets in passing argument 2 of ‘net_soutr’ differ in signedness [-Wpointer-sign] 1029 | ret = net_soutr (stream->netstream,s) | ^ | | | unsigned char * mail.h:1917:41: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1917 | long net_soutr (NETSTREAM *stream,char *string); | ~~~~~~^~~~~~ http.c:1031:31: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1031 | : http_fake (stream,"http connection broken in command"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: In function ‘http_status_line_get’: http.c:1046:19: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1046 | if((s = strchr(status_line, ' ')) != NIL){ | ^~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ http.c:1048:24: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 1048 | version = cpystr(status_line); | ^~~~~~~~~~~ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ http.c: In function ‘http_reply’: http.c:1083:64: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1083 | if(stream->debug) mm_log(stream->response ? stream->response : (unsigned char *) "", HTTPDEBUG); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1087:33: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1087 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1094:23: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1094 | http_fake(stream, "Invalid status line received. Closing connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c:1104:39: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1104 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1106:33: warning: pointer targets in passing argument 2 of ‘buffer_add’ differ in signedness [-Wpointer-sign] 1106 | buffer_add(&stream->reply, "\015\012"); | ^~~~~~~~~~ | | | char * http.c:773:49: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 773 | buffer_add(unsigned char **bufp, unsigned char *text) | ~~~~~~~~~~~~~~~^~~~ http.c:1119:40: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1119 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1125:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ~~~~~^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:1125:43: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1125 | if(!compare_cstring(p->vp->value, "chunked")) | ^~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ http.c:1134:39: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1134 | if(stream->debug) mm_log(s, HTTPDEBUG); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1135:28: warning: pointer targets in passing argument 1 of ‘strtol’ differ in signedness [-Wpointer-sign] 1135 | size = strtol(s, NIL, 16); | ^ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:177:48: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 177 | extern long int strtol (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ http.c:1140:47: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1140 | if(stream->debug) mm_log(stream->response, HTTPDEBUG); | ~~~~~~^~~~~~~~~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ http.c:1148:23: warning: pointer targets in passing argument 2 of ‘http_fake’ differ in signedness [-Wpointer-sign] 1148 | http_fake(stream, "Connection to HTTP server closed"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * http.c:96:31: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 96 | long http_fake (HTTPSTREAM *, unsigned char *); | ^~~~~~~~~~~~~~~ http.c: At top level: http.c:22:13: warning: ‘http_noparam_val’ defined but not used [-Wunused-variable] 22 | static char http_noparam_val[] = "\1\2\3\4\5\6\7\10\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37\42\134\177"; | ^~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` json.c json.c: In function ‘json_assign’: json.c:454:37: warning: pointer targets in passing argument 2 of ‘json_body_value’ differ in signedness [-Wpointer-sign] 454 | JSON_S *json = json_body_value(j, s); | ^ | | | char * json.c:137:43: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 137 | json_body_value(JSON_S *j, unsigned char *s) | ~~~~~~~~~~~~~~~^ json.c: In function ‘json_by_name_and_type’: json.c:475:46: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 475 | if(j->name && !compare_cstring(j->name, name)) | ^~~~ | | | char * In file included from c-client.h:49, from json.c:20: misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c: In function ‘pop3_valid’: pop3.c:179:31: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ~~^~~~~~~~ | | | char * In file included from c-client.h:49, from pop3.c:31: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:179:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 179 | !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function ‘pop3_scan’: pop3.c:231:36: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ pop3.c:231:44: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 231 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c:232:60: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ pop3.c:232:68: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 232 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c: In function ‘pop3_list’: pop3.c:247:37: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ pop3.c:247:45: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 247 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c:252:64: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~~~~~ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ pop3.c:252:72: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 252 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c: In function ‘pop3_lsub’: pop3.c:278:74: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:78:16: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^ env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ pop3.c:278:76: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 278 | if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:78:18: note: in definition of macro ‘pmatch’ 78 | pmatch_full (s,pat,NIL) | ^~~ env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c: In function ‘pop3_capa’: pop3.c:504:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:504:29: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 504 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:505:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:505:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 505 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:506:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:506:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 506 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:507:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:507:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 507 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:508:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:508:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 508 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:509:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:509:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 509 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:510:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:510:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 510 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^~~~~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 512 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:520:28: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:520:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 520 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:521:36: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:521:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 521 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 523 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^~~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:531:54: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:531:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 531 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:534:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:534:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 534 | else if (!compare_cstring (t,"SASL") && args) | ^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function ‘pop3_auth’: pop3.c:618:34: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:618:44: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 618 | if(!compare_cstring(at->name, mb->auth)) | ~~^~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function ‘pop3_fetchfast’: pop3.c:830:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 830 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from c-client.h:41: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:831:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 831 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function ‘pop3_expunge’: pop3.c:994:51: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 994 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:995:47: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 995 | mail_sequence (stream,sequence)) : | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function ‘pop3_header’: pop3.c:894:7: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 894 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 895 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 896 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function ‘pop3_auth’: pop3.c:675:15: warning: ‘atsaved’ may be used uninitialized [-Wmaybe-uninitialized] 675 | else if (!atsaved) sprintf (pwd,"POP server does not support AUTH=%.80s authenticator",mb->auth); | ^ pop3.c:560:23: note: ‘atsaved’ was declared here 560 | AUTHENTICATOR *at, *atsaved; | ^~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function ‘unix_open’: unix.c:470:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from unix.c:52: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:470:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 470 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:482:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 482 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ unix.c: At top level: unix.c:591:26: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 591 | STRINGLIST XIMAPbase = {{"X-IMAPbase", 10}, NIL}; | ^~~~~~~~~~~~ unix.c:591:26: note: (near initialization for ‘XIMAPbase.text.data’) unix.c:592:26: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 592 | STRINGLIST XIMAP = {{"X-IMAP", 6}, &XIMAPbase}; | ^~~~~~~~ unix.c:592:26: note: (near initialization for ‘XIMAP.text.data’) unix.c:593:26: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 593 | STRINGLIST XUID = {{"X-UID", 5}, &XIMAP}; | ^~~~~~~ unix.c:593:26: note: (near initialization for ‘XUID.text.data’) unix.c:594:26: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 594 | STRINGLIST XKeywords = {{"X-Keywords", 10}, &XUID}; | ^~~~~~~~~~~~ unix.c:594:26: note: (near initialization for ‘XKeywords.text.data’) unix.c:595:26: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 595 | STRINGLIST XStatus = {{"X-Status", 8}, &XKeywords}; | ^~~~~~~~~~ unix.c:595:26: note: (near initialization for ‘XStatus.text.data’) unix.c:596:26: warning: pointer targets in initialization of ‘unsigned char *’ from ‘char *’ differ in signedness [-Wpointer-sign] 596 | STRINGLIST Status = {{"Status", 6}, &XStatus}; | ^~~~~~~~ unix.c:596:26: note: (near initialization for ‘Status.text.data’) unix.c: In function ‘unix_header’: unix.c:615:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 615 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:629:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 629 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ unix.c:642:31: warning: pointer targets in passing argument 1 of ‘mail_filter’ differ in signedness [-Wpointer-sign] 642 | *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); | ^ | | | unsigned char * In file included from unix.c:45: mail.h:1804:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1804 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ unix.c: In function ‘unix_text_work’: unix.c:692:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 692 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:720:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 720 | d.chunk = tmp; /* initial buffer chunk */ | ^ unix.c:723:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 723 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ unix.c: In function ‘unix_ping’: unix.c:776:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 776 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from unix.c:40: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:778:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 778 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function ‘unix_expunge’: unix.c:835:52: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 835 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:836:48: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 836 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:841:21: warning: unused variable ‘elt’ [-Wunused-variable] 841 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ unix.c:849:27: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 849 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ unix.c: In function ‘unix_copy’: unix.c:891:56: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 891 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:892:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 892 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:898:28: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:898:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 898 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:905:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 905 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:906:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 906 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:910:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 910 | sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:911:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 911 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:915:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:916:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 916 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:925:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 925 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:927:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:936:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 936 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:937:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 937 | MM_LOG (LOCAL->buf,ERROR);/* log the error */ | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:946:26: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 946 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from unix.c:46: env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:954:39: warning: pointer targets in passing argument 2 of ‘unix_xstatus’ differ in signedness [-Wpointer-sign] 954 | unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^ | | | unsigned char * unix.c:131:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:955:39: warning: pointer targets in passing argument 2 of ‘unix_xstatus’ differ in signedness [-Wpointer-sign] 955 | unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^ | | | unsigned char * unix.c:131:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 131 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:956:30: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 956 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:970:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 970 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:996:26: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 996 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function ‘unix_append’: unix.c:1040:26: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1040:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1040 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1082:32: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1082 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ unix.c:1026:17: warning: unused variable ‘uidlocation’ [-Wunused-variable] 1026 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ unix.c: In function ‘unix_collect_msg’: unix.c:1185:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1185 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ unix.c: In function ‘unix_parse’: unix.c:1451:14: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1451 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1452:13: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1452 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1461:14: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1461 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1463:13: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1463 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1475:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1475 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ unix.c:1484:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1484 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c:1488:18: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1488 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1490:17: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1490 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1539:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1539 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1540:19: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1540 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1544:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1544 | s = t = unix_mbxline (stream,&bs,&i); | ^ unix.c:1561:38: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44: /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1561:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ unix.c:1561:67: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1561 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ unix.c:1567:66: warning: pointer targets in passing argument 1 of ‘compare_csizedtext’ differ in signedness [-Wpointer-sign] 1567 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * misc.h:108:40: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 108 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1615:36: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1615:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1615 | u = strpbrk (s," \n\r"); | ^ unix.c:1622:56: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1622 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ unix.c:1650:30: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1650 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1655:30: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1655 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1675:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1675 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:1731:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1731 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1732:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1732 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1733:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1733 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1734:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1734 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1735:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1735 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1736:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1736 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1759:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1759 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ unix.c:1785:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1785 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c: In function ‘unix_rewrite’: unix.c:2071:65: warning: pointer targets in passing argument 2 of ‘unix_pseudo’ differ in signedness [-Wpointer-sign] 2071 | unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * unix.c:1951:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2079:35: warning: pointer targets in passing argument 2 of ‘unix_xstatus’ differ in signedness [-Wpointer-sign] 2079 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^ | | | unsigned char * unix.c:1978:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2087:37: warning: pointer targets in passing argument 2 of ‘unix_pseudo’ differ in signedness [-Wpointer-sign] 2087 | size = unix_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * unix.c:1951:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2107:58: warning: pointer targets in passing argument 2 of ‘unix_pseudo’ differ in signedness [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:1951:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1951 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:2107:27: warning: pointer targets in passing argument 2 of ‘unix_write’ differ in signedness [-Wpointer-sign] 2107 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:136:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2124:41: warning: pointer targets in passing argument 2 of ‘unix_xstatus’ differ in signedness [-Wpointer-sign] 2124 | unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^ | | | unsigned char * unix.c:1978:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2138:31: warning: pointer targets in passing argument 2 of ‘unix_write’ differ in signedness [-Wpointer-sign] 2138 | unix_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * unix.c:136:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2159:53: warning: pointer targets in passing argument 2 of ‘unix_xstatus’ differ in signedness [-Wpointer-sign] 2159 | j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^ | | | unsigned char * unix.c:1978:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1978 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:2158:31: warning: pointer targets in passing argument 2 of ‘unix_write’ differ in signedness [-Wpointer-sign] 2158 | unix_write (&f,LOCAL->buf, | ^ | | | unsigned char * unix.c:136:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 136 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:2244:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2244 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2245:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2245 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function ‘unix_extend’: unix.c:2266:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2266 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ unix.c:2271:34: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 2271 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:2277:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2277 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2278:45: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2278 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function ‘mbox_valid’: unix.c:2450:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:2450:30: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2450 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c: In function ‘mbox_create’: unix.c:2465:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:2465:33: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 2465 | if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c: In function ‘mbox_ping’: unix.c:2593:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2593 | sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2595:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2595 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2607:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2607 | sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2608:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2608 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2614:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2614 | sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2616:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2616 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c:2632:27: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2632 | sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2637:31: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2637 | else MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ unix.c: In function ‘unix_open’: unix.c:521:7: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 521 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ unix.c: In function ‘unix_header’: unix.c:619:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 619 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:629:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 629 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 630 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_text_work’: unix.c:696:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 696 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_copy’: unix.c:945:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 945 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:971:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 971 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_append’: unix.c:1141:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1141 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_rewrite’: unix.c:2128:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2128 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2228:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2228 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘unix_extend’: unix.c:2274:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2274 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function ‘mbox_ping’: unix.c:2600:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2600 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2610:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2610 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2618:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2618 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2629 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c mbx.c: In function ‘mbx_isvalid’: mbx.c:308:61: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~ | | | char * In file included from mbx.c:46: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:308:66: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 308 | else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function ‘mbx_rename’: mbx.c:507:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:507:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 507 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function ‘mbx_open’: mbx.c:588:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 588 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mbx.c:591:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:591:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 591 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function ‘mbx_flags’: mbx.c:678:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 678 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:41: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:679:30: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 679 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c: In function ‘mbx_header’: mbx.c:707:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 707 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mbx.c:710:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 710 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^ mbx.c: In function ‘mbx_text’: mbx.c:747:11: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 747 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mbx.c: In function ‘mbx_ping’: mbx.c:857:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 857 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mbx.c:37: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:858:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 858 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function ‘mbx_expunge’: mbx.c:890:51: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 890 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:891:47: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 891 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:897:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 897 | sprintf (LOCAL->buf,"Expunged %lu messages",nexp); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:898:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 898 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:901:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 901 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:902:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 902 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function ‘mbx_snarf’: mbx.c:941:27: warning: pointer targets in passing argument 1 of ‘mail_date’ differ in signedness [-Wpointer-sign] 941 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * mail.h:1792:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:942:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:942:31: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 942 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:948:57: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:948:38: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 948 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68: env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:964:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 964 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:965:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 965 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c: In function ‘mbx_copy’: mbx.c:1000:56: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1000 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:1001:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1001 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:1010:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1011:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1011 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1015:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1015 | sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1016:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1016 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1020:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1020 | sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1021:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1021 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1033:22: warning: pointer targets in passing argument 1 of ‘mail_date’ differ in signedness [-Wpointer-sign] 1033 | mail_date(LOCAL->buf,elt);/* build target header */ | ^ | | | unsigned char * mail.h:1792:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:1038:35: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1038:37: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1038 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1039:39: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1039:26: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1039 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1045:53: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1045:34: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1045 | if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:1048:32: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1048 | ret = write (fd,LOCAL->buf,j) >= 0; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:1059:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1059 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1060:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1060 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mbx.c:1066:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1066 | sprintf (LOCAL->buf,"%08lx",dstream->uid_last); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1067:20: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1067 | write (fd,LOCAL->buf,8); | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function ‘mbx_append’: mbx.c:1124:28: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1124:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1124 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1166:36: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1166 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function ‘mbx_parse’: mbx.c:1275:46: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1275 | stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1278:27: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1278 | i = strtoul (LOCAL->buf + 15,NIL,16); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1282:41: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1282:31: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1282 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ mbx.c:1285:44: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1285 | if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1286:39: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 1286 | stream->user_flags[i] = cpystr (s); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mbx.c:1296:35: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1296 | strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1313:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1313:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1313 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mbx.c:1322:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1322:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1322:58: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1322:47: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1322 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1352:24: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1352 | if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1370:24: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1370 | if ((m = strtoul (t+13,NIL,16)) && | ~^~~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1386:24: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1386 | if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { | ~^~ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1420:34: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1420 | elt->user_flags = strtoul (t,NIL,16); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function ‘mbx_read_flags’: mbx.c:1502:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1502 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1504:17: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1504 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70: ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1511:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1511 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1512:17: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1512 | fatal (LOCAL->buf); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1517:23: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1517 | strncpy(tmp, LOCAL->buf, 14); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mbx.c:1518:24: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1518 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1521:22: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1521 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1525:26: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1525 | i = strtoul (LOCAL->buf+9,NIL,16); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1534:40: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1534 | elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function ‘mbx_update_header’: mbx.c:83:15: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 83 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ mbx.c:1550:13: note: in expansion of macro ‘LOCAL’ 1550 | char *s = LOCAL->buf; | ^~~~~ mbx.c:1561:33: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1561 | sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1565:37: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1565 | if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function ‘mbx_update_status’: mbx.c:1588:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1588 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1590:19: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1590 | fatal (LOCAL->buf); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1597:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1597 | sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1598:19: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1598 | fatal (LOCAL->buf); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1603:25: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1603 | strncpy(tmp, LOCAL->buf, 14); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mbx.c:1605:26: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1605 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1608:24: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1608 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1613:48: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1613 | fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1611:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1611 | sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1621:33: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1621 | if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function ‘mbx_hdrpos’: mbx.c:1669:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1669 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1676:23: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1676 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1686:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1686 | if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ | ^ mbx.c: In function ‘mbx_rewrite’: mbx.c:1767:41: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1767 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function ‘mbx_header’: mbx.c:710:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 710 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function ‘mbx_snarf’: mbx.c:966:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 966 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function ‘mbx_copy’: mbx.c:1047:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1047 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1061:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1061 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function ‘mbx_append’: mbx.c:1196:7: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1196 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function ‘mbx_parse’: mbx.c:1270:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1270 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function ‘mbx_rewrite’: mbx.c:1763:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1763 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1787:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1787 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function ‘mmdf_open’: mmdf.c:609:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mmdf.c:39: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:609:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 609 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:621:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 621 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mmdf.c: In function ‘mmdf_header’: mmdf.c:767:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 767 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:781:23: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 781 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ mmdf.c:794:31: warning: pointer targets in passing argument 1 of ‘mail_filter’ differ in signedness [-Wpointer-sign] 794 | *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); | ^ | | | unsigned char * In file included from mmdf.c:33: mail.h:1804:34: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1804 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ mmdf.c: In function ‘mmdf_text_work’: mmdf.c:844:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 844 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:872:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 872 | d.chunk = tmp; /* initial buffer chunk */ | ^ mmdf.c:875:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 875 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { | ^ mmdf.c: In function ‘mmdf_ping’: mmdf.c:928:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 928 | sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mmdf.c:28: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:930:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 930 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function ‘mmdf_expunge’: mmdf.c:987:52: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 987 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:988:48: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 988 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:993:21: warning: unused variable ‘elt’ [-Wunused-variable] 993 | MESSAGECACHE *elt = mail_elt (stream,i); | ^~~ mmdf.c:1001:27: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1001 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ mmdf.c: In function ‘mmdf_copy’: mmdf.c:1040:56: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1040 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:1041:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1041 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:1046:28: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1046:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1046 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1053:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1053 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1054:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1054 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1058:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1058 | sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1059:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1059 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1063:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1063 | sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1064:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1064 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1073:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1073 | sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1075:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1075 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1084:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1084 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1085:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1085 | MM_LOG (LOCAL->buf,ERROR); /* log the error */ | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1094:26: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1094 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:68, from mmdf.c:34: env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1102:39: warning: pointer targets in passing argument 2 of ‘mmdf_xstatus’ differ in signedness [-Wpointer-sign] 1102 | mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : | ^ | | | unsigned char * mmdf.c:287:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:1103:39: warning: pointer targets in passing argument 2 of ‘mmdf_xstatus’ differ in signedness [-Wpointer-sign] 1103 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); | ^ | | | unsigned char * mmdf.c:287:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 287 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:1104:30: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1104 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1119:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1119 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1145:26: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1145 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function ‘mmdf_append’: mmdf.c:1190:26: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1190:34: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1190 | if (compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1232:32: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1232 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mmdf.c:1175:17: warning: unused variable ‘uidlocation’ [-Wunused-variable] 1175 | unsigned long uidlocation = 0; | ^~~~~~~~~~~ mmdf.c: In function ‘mmdf_collect_msg’: mmdf.c:1334:12: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1334 | if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && | ^ mmdf.c: In function ‘mmdf_parse’: mmdf.c:1593:14: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1593 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1594:13: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1594 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1603:14: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1603 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1605:13: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1605 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1617:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1617 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mmdf.c:1626:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1626 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1630:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1630 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1636:15: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1636 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1641:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1641 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1658:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1658 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1694:22: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1694 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1695:21: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1695 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1712:24: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1712 | if (t) s = t = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1738:38: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:44: /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1738:27: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ mmdf.c:1738:67: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1738 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mmdf.c:1744:66: warning: pointer targets in passing argument 1 of ‘compare_csizedtext’ differ in signedness [-Wpointer-sign] 1744 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * misc.h:108:40: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 108 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1792:36: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1792:25: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1792 | u = strpbrk (s," \n\r"); | ^ mmdf.c:1799:56: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 1799 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mmdf.c:1827:30: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1827 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1832:30: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1832 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1852:27: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1852 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c:1908:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1908 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1909:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1909 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1910:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1910 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1911:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1911 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1912:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1912 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1913:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1913 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1936:22: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1936 | if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; | ^ mmdf.c:1960:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1960 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1985:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1985 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c: In function ‘mmdf_rewrite’: mmdf.c:2247:65: warning: pointer targets in passing argument 2 of ‘mmdf_pseudo’ differ in signedness [-Wpointer-sign] 2247 | unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * mmdf.c:2127:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2255:35: warning: pointer targets in passing argument 2 of ‘mmdf_xstatus’ differ in signedness [-Wpointer-sign] 2255 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + | ^ | | | unsigned char * mmdf.c:2154:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2263:37: warning: pointer targets in passing argument 2 of ‘mmdf_pseudo’ differ in signedness [-Wpointer-sign] 2263 | size = mmdf_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * mmdf.c:2127:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2283:58: warning: pointer targets in passing argument 2 of ‘mmdf_pseudo’ differ in signedness [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:2127:53: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2127 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2283:27: warning: pointer targets in passing argument 2 of ‘mmdf_write’ differ in signedness [-Wpointer-sign] 2283 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:292:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2300:41: warning: pointer targets in passing argument 2 of ‘mmdf_xstatus’ differ in signedness [-Wpointer-sign] 2300 | mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { | ^ | | | unsigned char * mmdf.c:2154:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2314:31: warning: pointer targets in passing argument 2 of ‘mmdf_write’ differ in signedness [-Wpointer-sign] 2314 | mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * mmdf.c:292:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2335:53: warning: pointer targets in passing argument 2 of ‘mmdf_xstatus’ differ in signedness [-Wpointer-sign] 2335 | j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); | ^ | | | unsigned char * mmdf.c:2154:54: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2154 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2334:31: warning: pointer targets in passing argument 2 of ‘mmdf_write’ differ in signedness [-Wpointer-sign] 2334 | mmdf_write (&f,LOCAL->buf, | ^ | | | unsigned char * mmdf.c:292:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 292 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2403:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2403 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2404:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2404 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function ‘mmdf_extend’: mmdf.c:2425:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2425 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ mmdf.c:2430:34: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 2430 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:2436:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2436 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2437:45: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2437 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mmdf.c: In function ‘mmdf_open’: mmdf.c:660:7: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 660 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_header’: mmdf.c:771:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 771 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:781:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 781 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 782 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_text_work’: mmdf.c:848:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 848 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_copy’: mmdf.c:1093:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1093 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1120:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1120 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_append’: mmdf.c:1290:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1290 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_rewrite’: mmdf.c:2304:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2304 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2387:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2387 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function ‘mmdf_extend’: mmdf.c:2433:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2433 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function ‘tenex_isvalid’: tenex.c:212:51: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from tenex.c:49: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:212:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 212 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function ‘tenex_rename’: tenex.c:354:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:354:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 354 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function ‘tenex_open’: tenex.c:431:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 431 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ tenex.c:437:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:437:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 437 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function ‘tenex_fast’: tenex.c:504:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 504 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:46: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:505:30: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 505 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:515:24: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 515 | LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); | ^ tenex.c: In function ‘tenex_flags’: tenex.c:542:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 542 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:543:30: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 543 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c: In function ‘tenex_header’: tenex.c:568:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 568 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:578:54: warning: pointer targets in passing argument 3 of ‘strcrlfcpy’ differ in signedness [-Wpointer-sign] 578 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); | ^ | | | char * In file included from osdep.h:71, from tenex.c:47: nl.h:33:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c: In function ‘tenex_text’: tenex.c:613:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 613 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:636:57: warning: pointer targets in passing argument 3 of ‘strcrlfcpy’ differ in signedness [-Wpointer-sign] 636 | strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); | ^ | | | char * nl.h:33:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c: In function ‘tenex_snarf’: tenex.c:778:27: warning: pointer targets in passing argument 1 of ‘mail_date’ differ in signedness [-Wpointer-sign] 778 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * mail.h:1792:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ tenex.c:779:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:779:31: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 779 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from tenex.c:42: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:785:57: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:785:38: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 785 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68: env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:801:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 801 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:802:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 802 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function ‘tenex_expunge’: tenex.c:837:54: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 837 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:838:50: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 838 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:899:41: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 899 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:915:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:918:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 918 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:922:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 922 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:924:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 924 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function ‘tenex_copy’: tenex.c:965:36: warning: pointer targets in passing argument 2 of ‘tenex_isvalid’ differ in signedness [-Wpointer-sign] 965 | if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * tenex.c:177:37: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 177 | int tenex_isvalid (char *name,char *tmp) | ~~~~~~^~~ tenex.c:972:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 972 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:973:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 973 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:977:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 977 | sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:978:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 978 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:982:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 982 | sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:983:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 983 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:986:56: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 986 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:987:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 987 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:990:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:991:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 991 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c:1013:28: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1013 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:1018:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1018 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1019:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1019 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ tenex.c: In function ‘tenex_append’: tenex.c:1076:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1076:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1076 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1126:34: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1126 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function ‘tenex_parse’: tenex.c:1248:28: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1248:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1248 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ tenex.c:1257:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1257:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1257:58: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1257:47: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1257 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1280:53: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1280 | (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c:1304:18: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1304 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function ‘tenex_read_flags’: tenex.c:1382:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1382 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1383:17: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1383 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70: ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ tenex.c:1391:20: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1391 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function ‘tenex_update_status’: tenex.c:1417:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1417 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1425:27: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1425 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c: In function ‘tenex_hdrpos’: tenex.c:1460:27: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1460 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^ tenex.c: In function ‘tenex_fast’: tenex.c:520:11: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 520 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_header’: tenex.c:571:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 571 | read (LOCAL->fd,LOCAL->buf,*length = i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:576:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 576 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_text’: tenex.c:618:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 618 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:633:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 633 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_snarf’: tenex.c:803:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 803 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_expunge’: tenex.c:894:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 894 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:921:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 921 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_copy’: tenex.c:1012:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1012 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1020:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1020 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_append’: tenex.c:1154:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1154 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function ‘tenex_hdrpos’: tenex.c:1460:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1460 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function ‘mtx_isvalid’: mtx.c:205:51: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from mtx.c:46: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:205:56: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 205 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function ‘mtx_rename’: mtx.c:345:32: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:345:36: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 345 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function ‘mtx_open’: mtx.c:423:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 423 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mtx.c:426:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:426:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 426 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function ‘mtx_flags’: mtx.c:489:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 489 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:41: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:490:30: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 490 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c: In function ‘mtx_header’: mtx.c:513:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 513 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mtx.c: In function ‘mtx_text’: mtx.c:548:11: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 548 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mtx.c: In function ‘mtx_snarf’: mtx.c:687:27: warning: pointer targets in passing argument 1 of ‘mail_date’ differ in signedness [-Wpointer-sign] 687 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * mail.h:1792:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1792 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mtx.c:688:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:688:31: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 688 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mtx.c:37: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:694:57: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:694:38: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 694 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:68: env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:710:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 710 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:711:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 711 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function ‘mtx_expunge’: mtx.c:746:54: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 746 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:747:50: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 747 | mail_sequence (stream,sequence)) : LONGT) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:808:41: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 808 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:823:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 823 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:826:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 826 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:830:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 830 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:832:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 832 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function ‘mtx_copy’: mtx.c:873:34: warning: pointer targets in passing argument 2 of ‘mtx_isvalid’ differ in signedness [-Wpointer-sign] 873 | if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * mtx.c:170:35: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 170 | int mtx_isvalid (char *name,char *tmp) | ~~~~~~^~~ mtx.c:880:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 880 | sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:881:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 881 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:885:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 885 | sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:886:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 886 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:890:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 890 | sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:891:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 891 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:894:56: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 894 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:895:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 895 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:898:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 898 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:899:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 899 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c:921:28: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 921 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:926:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 926 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:927:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 927 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mtx.c: In function ‘mtx_append’: mtx.c:984:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:984:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 984 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:1034:34: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1034 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function ‘mtx_parse’: mtx.c:1134:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1134:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1134 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mtx.c:1143:29: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1143:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1143:58: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * /usr/include/string.h:246:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 246 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1143:47: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1143 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1166:38: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1166 | (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && | ^ | | | unsigned char * In file included from osdep.h:43: /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c:1190:18: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1190 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function ‘mtx_read_flags’: mtx.c:1268:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1268 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1269:17: warning: pointer targets in passing argument 1 of ‘fatal’ differ in signedness [-Wpointer-sign] 1269 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:70: ftl.h:32:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 32 | void fatal (char *string); | ~~~~~~^~~~~~ mtx.c:1277:20: warning: pointer targets in passing argument 1 of ‘strtoul’ differ in signedness [-Wpointer-sign] 1277 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * /usr/include/stdlib.h:181:58: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 181 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function ‘mtx_update_status’: mtx.c:1303:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1303 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1311:27: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 1311 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c: In function ‘mtx_header’: mtx.c:517:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 517 | read (LOCAL->fd,LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function ‘mtx_snarf’: mtx.c:712:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 712 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function ‘mtx_expunge’: mtx.c:803:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 803 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:829:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 829 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function ‘mtx_copy’: mtx.c:920:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 920 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:928:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 928 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function ‘mtx_append’: mtx.c:1055:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1055 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` news.c news.c: In function ‘news_list’: news.c:238:24: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:238:29: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 238 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c:241:26: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:241:31: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 241 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c: In function ‘news_fast’: news.c:457:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 457 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from news.c:34: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:458:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 458 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function ‘news_flags’: news.c:475:33: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:475:67: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 475 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function ‘news_load_message’: news.c:496:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 496 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from news.c:30: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ news.c:501:25: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign] 501 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49: /usr/include/bits/fcntl2.h:41:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ news.c:505:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 505 | d.chunk = LOCAL->buf; | ^ news.c: In function ‘news_valid’: news.c:162:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 162 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function ‘news_list’: news.c:229:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 229 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` phile.c phile.c: In function ‘phile_open’: phile.c:306:20: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 306 | LOCAL->env->date = cpystr (tmp); | ^ phile.c:328:45: warning: pointer targets in passing argument 3 of ‘strcrlfcpy’ differ in signedness [-Wpointer-sign] 328 | buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); | ^ | | | char * In file included from osdep.h:71, from phile.c:36: nl.h:33:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ phile.c:318:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 318 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c: In function ‘mh_isvalid’: mh.c:191:44: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~ | | | char * In file included from mh.c:36: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:191:49: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 191 | if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:192:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 192 | !compare_cstring (name,MHINBOX) || | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:192:30: note: in expansion of macro ‘MHINBOX’ 192 | !compare_cstring (name,MHINBOX) || | ^~~~~~~ misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:196:42: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:196:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 196 | ret = (synonly && compare_cstring (name,"INBOX")) ? | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function ‘mh_path’: mh.c:257:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:257:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 257 | if (!compare_cstring (s,"Path:")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function ‘mh_scan’: mh.c:375:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:375:32: note: in expansion of macro ‘MHINBOX’ 375 | if (!compare_cstring (test,MHINBOX)) | ^~~~~~~ misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function ‘mh_lsub’: mh.c:404:25: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:404:27: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 404 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function ‘mh_list_work’: mh.c:436:28: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:436:33: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 436 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c:438:23: warning: pointer targets in passing argument 1 of ‘dmatch’ differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~~ | | | char * env.h:30:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:438:28: warning: pointer targets in passing argument 2 of ‘dmatch’ differ in signedness [-Wpointer-sign] 438 | if (dmatch (name,pat,'/') && | ^~~ | | | char * env.h:30:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function ‘mh_open’: mh.c:588:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:588:40: note: in expansion of macro ‘MHINBOX’ 588 | (!compare_cstring (stream->mailbox,MHINBOX) || | ^~~~~~~ misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:593:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:593:40: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 593 | !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function ‘mh_fast’: mh.c:639:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 639 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:31: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:640:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 640 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c: In function ‘mh_load_message’: mh.c:663:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 663 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mh.c:27: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:668:25: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign] 668 | ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49: /usr/include/bits/fcntl2.h:41:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:672:13: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 672 | d.chunk = LOCAL->buf; | ^ mh.c: In function ‘mh_ping’: mh.c:900:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 900 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:903:31: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign] 903 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * /usr/include/bits/fcntl2.h:41:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:927:28: warning: pointer targets in passing argument 1 of ‘mh_setdate’ differ in signedness [-Wpointer-sign] 927 | mh_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mh.c:107:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 107 | void mh_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mh.c:935:26: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 935 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:45: /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c: In function ‘mh_expunge’: mh.c:982:51: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 982 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:983:47: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 983 | mail_sequence (stream,sequence)) : LONGT) != 0L) { | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:988:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 988 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:989:26: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 989 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c:990:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 990 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:992:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 992 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c:1010:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:1011:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1011 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c: In function ‘mh_copy’: mh.c:1042:54: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1042 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:1043:29: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1043 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:1046:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1046 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:1047:30: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign] 1047 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; | ^ | | | unsigned char * /usr/include/bits/fcntl2.h:41:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:1059:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1059 | d.chunk = LOCAL->buf; | ^ mh.c: In function ‘mh_append’: mh.c:1107:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:1107:38: note: in expansion of macro ‘MHINBOX’ 1107 | if (!((!compare_cstring (mailbox,MHINBOX) || | ^~~~~~~ misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1108:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1108:38: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1108 | !compare_cstring (mailbox,"INBOX")) && | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1147:34: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1147 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mh.c:1100:10: warning: variable ‘size’ set but not used [-Wunused-but-set-variable] 1100 | long i,size,last,nfiles; | ^~~~ mh.c: In function ‘mh_file’: mh.c:1229:25: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:43:17: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 43 | #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ | ^~~~~~~~~~ | | | char * mh.c:1229:30: note: in expansion of macro ‘MHINBOX’ 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1229:60: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1229:65: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function ‘mh_path’: mh.c:249:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 249 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c: In function ‘mx_isvalid’: mx.c:187:30: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~ | | | char * In file included from mx.c:39: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:187:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 187 | else if (!compare_cstring (name,"INBOX")) errno = NIL; | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c: In function ‘mx_create’: mx.c:349:7: warning: unused variable ‘fd’ [-Wunused-variable] 349 | int fd; | ^~ mx.c: In function ‘mx_rename’: mx.c:440:26: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:440:30: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 440 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c: In function ‘mx_open’: mx.c:519:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:519:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 519 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:525:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 525 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mx.c: In function ‘mx_fast’: mx.c:574:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 574 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:34: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:575:30: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 575 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c: In function ‘mx_fast_work’: mx.c:592:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 592 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mx.c:30: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:594:40: warning: pointer targets in passing argument 1 of ‘stat’ differ in signedness [-Wpointer-sign] 594 | if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { | ^ | | | unsigned char * In file included from mx.c:37: /usr/include/sys/stat.h:205:41: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mx.c: In function ‘mx_header’: mx.c:634:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 634 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); | ^ mx.c:649:48: warning: pointer targets in passing argument 2 of ‘cpytxt’ differ in signedness [-Wpointer-sign] 649 | cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); | ^ | | | unsigned char * misc.h:85:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c:650:51: warning: pointer targets in passing argument 2 of ‘cpytxt’ differ in signedness [-Wpointer-sign] 650 | cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); | ^ | | | unsigned char * misc.h:85:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 85 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c: In function ‘mx_ping’: mx.c:768:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 768 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:771:31: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign] 771 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49, from mx.c:35: /usr/include/bits/fcntl2.h:41:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mx.c:795:28: warning: pointer targets in passing argument 1 of ‘mx_setdate’ differ in signedness [-Wpointer-sign] 795 | mx_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mx.c:106:24: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 106 | void mx_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mx.c:802:26: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 802 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:45: /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c: In function ‘mx_expunge’: mx.c:849:52: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 849 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:850:48: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 850 | mail_sequence (stream,sequence)) : LONGT) != 0L) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:856:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 856 | sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:857:26: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 857 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c:858:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 858 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:860:24: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 860 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c:876:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 876 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:877:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 877 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c: In function ‘mx_copy’: mx.c:914:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 914 | sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:915:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 915 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mx.c:922:63: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 922 | if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:923:38: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 923 | mail_sequence (stream,sequence)))); | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:945:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 945 | d.chunk = LOCAL->buf; | ^ mx.c:905:21: warning: variable ‘uid’ set but not used [-Wunused-but-set-variable] 905 | unsigned long i,j,uid,uidv; | ^~~ mx.c: In function ‘mx_append’: mx.c:1004:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:1004:35: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1004 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:1039:54: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1039 | else if (date && !(ret = mail_parse_date (&elt,date))) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mx.c: In function ‘mx_header’: mx.c:637:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 637 | read (fd,LOCAL->buf,elt->rfc822_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function ‘mx_lockindex’: mx.c:1178:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1178 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function ‘mx_unlockindex’: mx.c:1270:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1270 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mix.c mix.c: In function ‘mix_rename’: mix.c:528:26: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~ | | | char * In file included from mix.c:35: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:528:30: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 528 | if (compare_cstring (old,"INBOX")) { | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c: In function ‘mix_open’: mix.c:607:43: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:607:53: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 607 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:609:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 609 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ mix.c:612:17: warning: pointer targets in passing argument 1 of ‘mix_dir’ differ in signedness [-Wpointer-sign] 612 | mix_dir (LOCAL->buf,stream->mailbox); | ^ | | | unsigned char * mix.c:163:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 163 | char *mix_dir (char *dst,char *name); | ~~~~~~^~~ mix.c:614:34: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 614 | stream->mailbox = cpystr (LOCAL->buf); | ^ | | | unsigned char * misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mix.c:617:47: warning: pointer targets in passing argument 1 of ‘mix_file’ differ in signedness [-Wpointer-sign] 617 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^ | | | unsigned char * mix.c:164:23: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:620:47: warning: pointer targets in passing argument 1 of ‘mix_file’ differ in signedness [-Wpointer-sign] 620 | ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), | ^ | | | unsigned char * mix.c:164:23: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:628:43: warning: pointer targets in passing argument 1 of ‘mix_file’ differ in signedness [-Wpointer-sign] 628 | LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); | ^ | | | unsigned char * mix.c:164:23: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:629:44: warning: pointer targets in passing argument 1 of ‘mix_file’ differ in signedness [-Wpointer-sign] 629 | LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); | ^ | | | unsigned char * mix.c:164:23: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c:630:47: warning: pointer targets in passing argument 1 of ‘mix_file’ differ in signedness [-Wpointer-sign] 630 | LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:164:23: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 164 | char *mix_file (char *dst,char *dir,char *name); | ~~~~~~^~~ mix.c: In function ‘mix_header’: mix.c:719:51: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 719 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:731:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 731 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); | ^ mix.c:736:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 736 | !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && | ^ | | | unsigned char * In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mix.c:753:28: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 753 | if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; | ^ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mix.c:710:7: warning: unused variable ‘fd’ [-Wunused-variable] 710 | int fd; | ^~ mix.c: In function ‘mix_text’: mix.c:782:51: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 782 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:806:11: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 806 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mix.c:773:17: warning: unused variable ‘i’ [-Wunused-variable] 773 | unsigned long i; | ^ mix.c: In function ‘mix_flag’: mix.c:831:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 831 | if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mix.c:30: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:832:30: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 832 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c: In function ‘mix_ping’: mix.c:974:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 974 | sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); | ^ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mix.c:26: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:975:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 975 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:928:15: warning: unused variable ‘sfd’ [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c:928:11: warning: unused variable ‘ifd’ [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c:928:7: warning: unused variable ‘mfd’ [-Wunused-variable] 928 | int mfd,ifd,sfd; | ^~~ mix.c: In function ‘mix_expunge’: mix.c:1034:36: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1034 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1035:32: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1035 | mail_sequence (stream,sequence))) || stream->rdonly); | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1086:27: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1086 | sprintf (LOCAL->buf,"Can't locate mix message file %.08lx", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1088:26: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1088 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1097:42: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 1097 | else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:1099:38: warning: pointer targets in passing argument 1 of ‘truncate’ differ in signedness [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^ | | | unsigned char * In file included from osdep.h:45: /usr/include/unistd.h:1026:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1026 | extern int truncate (const char *__file, __off_t __length) | ~~~~~~~~~~~~^~~~~~ mix.c:1099:62: warning: pointer targets in passing argument 1 of ‘unlink’ differ in signedness [-Wpointer-sign] 1099 | truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { | ^ | | | unsigned char * /usr/include/unistd.h:858:32: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mix.c:1100:29: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1100 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1103:28: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1103 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1136:26: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1136 | if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); | ^ mix.c:1138:17: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1138 | sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ mix.c:1025:11: warning: unused variable ‘sfd’ [-Wunused-variable] 1025 | int ifd,sfd; | ^~~ mix.c:1025:7: warning: unused variable ‘ifd’ [-Wunused-variable] 1025 | int ifd,sfd; | ^~~ mix.c: In function ‘mix_burp’: mix.c:1228:23: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 1228 | mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:1232:20: warning: pointer targets in passing argument 1 of ‘stat’ differ in signedness [-Wpointer-sign] 1232 | if (stat (LOCAL->buf,&sbuf)) { | ^ | | | unsigned char * In file included from mix.c:33: /usr/include/sys/stat.h:205:41: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mix.c:1233:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1233 | sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1234:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1234 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1237:59: warning: pointer targets in passing argument 3 of ‘mix_burp_check’ differ in signedness [-Wpointer-sign] 1237 | else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { | ^ | | | unsigned char * mix.c:145:55: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 145 | long mix_burp_check (SEARCHSET *set,size_t size,char *file); | ~~~~~~^~~~ mix.c:1241:39: warning: pointer targets in passing argument 1 of ‘truncate’ differ in signedness [-Wpointer-sign] 1241 | else if ((ret = !truncate (LOCAL->buf,burp->set.last)) != 0L) | ^ | | | unsigned char * /usr/include/unistd.h:1026:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 1026 | extern int truncate (const char *__file, __off_t __length) | ~~~~~~~~~~~~^~~~~~ mix.c:1244:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1244 | sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1245:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1245 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1250:30: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign] 1250 | else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:49: /usr/include/bits/fcntl2.h:41:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mix.c:1252:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1252 | sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1254:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1254 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1258:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1258 | sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1259:18: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1259 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1264:57: warning: pointer targets in passing argument 3 of ‘mix_burp_check’ differ in signedness [-Wpointer-sign] 1264 | else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { | ^ | | | unsigned char * mix.c:145:55: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 145 | long mix_burp_check (SEARCHSET *set,size_t size,char *file); | ~~~~~~^~~~ mix.c:1269:25: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 1269 | strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { | ^ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mix.c:1270:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1270 | sprintf (LOCAL->buf,"Bad message token in mix message file at %lu", | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1272:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1272 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:1312:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1312 | sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1313:20: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 1313 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c: In function ‘mix_copy’: mix.c:1362:40: warning: pointer targets in passing argument 2 of ‘mix_isvalid’ differ in signedness [-Wpointer-sign] 1362 | long ret = mix_isvalid (mailbox,LOCAL->buf); | ^ | | | unsigned char * mix.c:235:36: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 235 | long mix_isvalid (char *name,char *meta) | ~~~~~~^~~~ mix.c:1380:68: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1380 | else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1381:43: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1381 | mail_sequence (stream,sequence)))); | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mix.c:1398:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1398 | sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, | ~~~~~^~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1400:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1400 | hdrsize = strlen (local->buf); | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:1409:44: warning: pointer targets in passing argument 3 of ‘mix_data_open’ differ in signedness [-Wpointer-sign] 1409 | if ((msgf = mix_data_open (astream,&fd,&size,newsize)) != NULL) { | ^~~~~ | | | long unsigned int * mix.c:157:55: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 157 | FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, | ~~~~~~^~~~ mix.c:1421:59: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 1421 | if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf, | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:1433:21: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1433 | d.chunk = LOCAL->buf; | ^ mix.c:1411:23: warning: variable ‘uid’ set but not used [-Wunused-but-set-variable] 1411 | unsigned long j,uid,uidv; | ^~~ mix.c: In function ‘mix_append’: mix.c:1525:33: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1525 | if ((ret = compare_cstring (mailbox,"INBOX") ? | ^~~~~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:1525:41: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1525 | if ((ret = compare_cstring (mailbox,"INBOX") ? | ^~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mix.c:1556:21: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 1556 | sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, | ~~~~~^~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:1558:30: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 1558 | hdrsize = strlen (local->buf); | ~~~~~^~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:1562:46: warning: pointer targets in passing argument 3 of ‘mix_data_open’ differ in signedness [-Wpointer-sign] 1562 | if ((msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) != NULL){ | ^~~~~ | | | long unsigned int * mix.c:157:55: note: expected ‘long int *’ but argument is of type ‘long unsigned int *’ 157 | FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, | ~~~~~~^~~~ mix.c:1570:58: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1570 | else if (date && !(ret = mail_parse_date (&elt,date))) { | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mix.c:1577:37: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1577 | mail_parse_date (&elt,tmp); | ^~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mix.c: In function ‘mix_append_msg’: mix.c:1639:26: warning: unused variable ‘hoff’ [-Wunused-variable] 1639 | unsigned long i,j,k,uf,hoff; | ^~~~ mix.c:1639:17: warning: unused variable ‘i’ [-Wunused-variable] 1639 | unsigned long i,j,k,uf,hoff; | ^ mix.c: In function ‘mix_parse’: mix.c:1832:47: warning: pointer targets in passing argument 2 of ‘mix_read_record’ differ in signedness [-Wpointer-sign] 1832 | while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) && | ^ | | | unsigned char * mix.c:161:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ~~~~~~^~~ mix.c:1974:57: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 1974 | if (stat (mix_file_data (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:2056:23: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2056 | sprintf (LOCAL->buf, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:2059:22: warning: pointer targets in passing argument 1 of ‘mm_log’ differ in signedness [-Wpointer-sign] 2059 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mail.h:1698:20: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 1698 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mix.c:2069:55: warning: pointer targets in passing argument 2 of ‘mix_read_record’ differ in signedness [-Wpointer-sign] 2069 | while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen, | ^ | | | unsigned char * mix.c:161:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ~~~~~~^~~ mix.c: In function ‘mix_meta_slurp’: mix.c:2165:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2165 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); | ^ mix.c:2170:27: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 2170 | (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size)) | ^ mix.c: In function ‘mix_meta_update’: mix.c:2205:19: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2205 | sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:2206:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 2206 | sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:2206:25: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 2206 | sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, | ^ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mix.c:2208:61: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 2208 | for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mix.c:2209:33: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2209 | (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { | ^ mix.c:2223:35: warning: pointer targets in passing argument 2 of ‘safe_write’ differ in signedness [-Wpointer-sign] 2223 | ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; | ^ | | | unsigned char * In file included from osdep.h:68: env_unix.h:86:31: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 86 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mix.c: In function ‘mix_data_open’: mix.c:2418:40: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 2418 | if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg), | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c:2435:33: warning: pointer targets in passing argument 1 of ‘mix_file_data’ differ in signedness [-Wpointer-sign] 2435 | (LOCAL->buf,stream->mailbox, | ^ | | | unsigned char * mix.c:165:28: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 165 | char *mix_file_data (char *dst,char *dir,unsigned long data); | ~~~~~~^~~ mix.c: In function ‘mix_sortcache_open’: mix.c:2500:49: warning: pointer targets in passing argument 2 of ‘mix_read_record’ differ in signedness [-Wpointer-sign] 2500 | while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen, | ^ | | | unsigned char * mix.c:161:38: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 161 | char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); | ~~~~~~^~~ mix.c:2599:42: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2599 | LOCAL->buf = (char *) | ^ mix.c:2611:36: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 2611 | for (s = LOCAL->buf,sl = NIL, | ^ mix.c:2619:47: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2619 | sl->text.data = cpystr (s); | ^ mix.c: In function ‘mix_copy’: mix.c:1483:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1483 | ftruncate (fd,size); /* revert file */ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function ‘mix_append’: mix.c:1601:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1601 | ftruncate (fd,size); /* revert all writes to file*/ | ^~~~~~~~~~~~~~~~~~~ mix.c: In function ‘mix_meta_update’: mix.c:2224:5: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2224 | ftruncate (LOCAL->mfd,i); /* and tie off at that point */ | ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function ‘mix_index_update’: mix.c:2272:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2272 | ftruncate (fileno (idxf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2305:16: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2305 | if (ret) ftruncate (fileno (idxf),ftell (idxf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function ‘mix_status_update’: mix.c:2353:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2353 | ftruncate (fileno (statf),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2387:16: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2387 | if (ret) ftruncate (fileno (statf),ftell (statf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function ‘mix_sortcache_update’: mix.c:2731:16: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2731 | if (ret) ftruncate (fileno (f),ftell (f)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` maildir.c maildir.c: In function ‘courier_realname’: maildir.c:333:25: warning: pointer targets in passing argument 1 of ‘compare_cstring_n’ differ in signedness [-Wpointer-sign] 333 | if(!compare_cstring_n(name, "INBOX", strlen("INBOX"))){ | ^~~~ | | | char * In file included from maildir.c:20: misc.h:107:39: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 107 | int compare_cstring_n (unsigned char *s1,unsigned char *s2, int n); | ~~~~~~~~~~~~~~~^~ maildir.c:333:31: warning: pointer targets in passing argument 2 of ‘compare_cstring_n’ differ in signedness [-Wpointer-sign] 333 | if(!compare_cstring_n(name, "INBOX", strlen("INBOX"))){ | ^~~~~~~ | | | char * misc.h:107:57: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 107 | int compare_cstring_n (unsigned char *s1,unsigned char *s2, int n); | ~~~~~~~~~~~~~~~^~ maildir.c: In function ‘maildir_file_path’: maildir.c:397:29: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 397 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:397:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 397 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c:399:29: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 399 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:399:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 399 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c:401:29: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 401 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:401:22: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 401 | strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c: In function ‘maildir_fast’: maildir.c:440:53: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 440 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from maildir.c:13: mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:441:49: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 441 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c: In function ‘maildir_open’: maildir.c:639:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 639 | LOCAL->buf = (char *) fs_get (CHUNKSIZE); | ^ maildir.c: In function ‘maildir_initial_check’: maildir.c:756:10: warning: unused variable ‘tmp’ [-Wunused-variable] 756 | char *tmp; | ^~~ maildir.c: In function ‘maildir_text_work’: maildir.c:1029:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1029 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ maildir.c:1038:18: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1038 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); | ^ maildir.c:1045:12: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 1045 | for (s = LOCAL->buf; SIZE (&bs);) switch (CHR (&bs)) { | ^ maildir.c:1059:15: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 1059 | return LOCAL->buf; | ^ maildir.c: In function ‘maildir_header’: maildir.c:1171:21: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1171 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ maildir.c:1181:56: warning: pointer targets in passing argument 3 of ‘strcrlfcpy’ differ in signedness [-Wpointer-sign] 1181 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s, | ^ | | | char * In file included from osdep.h:71: nl.h:33:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ maildir.c:1188:15: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 1188 | return LOCAL->buf; | ^ maildir.c: In function ‘maildir_list’: maildir.c:88:19: warning: the address of ‘test’ will always evaluate as ‘true’ [-Waddress] 88 | (((t) && (t)[0] == '#' && ((t)[1] == 'm' || (t)[1] == 'M')\ | ^ maildir.c:1223:10: note: in expansion of macro ‘IS_COURIER’ 1223 | if(IS_COURIER(test)) | ^~~~~~~~~~ maildir.c:1229:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (test,"#MD/INBOX")) | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c:1229:32: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1229 | if (!compare_cstring (test,"#MD/INBOX")) | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c:1231:27: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1231 | if (!compare_cstring (test,"#MC/INBOX")) | ^~~~ | | | char * misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c:1231:32: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 1231 | if (!compare_cstring (test,"#MC/INBOX")) | ^~~~~~~~~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ maildir.c: In function ‘maildir_expunge’: maildir.c:1445:52: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1445 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:1446:48: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1446 | mail_sequence (stream,sequence)) : LONGT; | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c: In function ‘maildir_copy’: maildir.c:1493:55: warning: pointer targets in passing argument 2 of ‘mail_uid_sequence’ differ in signedness [-Wpointer-sign] 1493 | if ((options & CP_UID) ? mail_uid_sequence (stream, sequence) : | ^~~~~~~~ | | | char * mail.h:1861:59: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1861 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:1494:31: warning: pointer targets in passing argument 2 of ‘mail_sequence’ differ in signedness [-Wpointer-sign] 1494 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * mail.h:1860:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1860 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ maildir.c:1507:53: warning: pointer targets in passing argument 3 of ‘strcrlfcpy’ differ in signedness [-Wpointer-sign] 1507 | len = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen, s, MDSIZE(elt)); | ^ | | | char * nl.h:33:42: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 33 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function ‘maildir_append’: maildir.c:1570:39: warning: pointer targets in passing argument 2 of ‘mail_parse_date’ differ in signedness [-Wpointer-sign] 1570 | if (date && !mail_parse_date(&elt,date)){ | ^~~~ | | | char * mail.h:1794:56: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 1794 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c: In function ‘maildir_lsub’: maildir.c:1907:25: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 1907 | do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); | ^ | | | char * In file included from env_unix.h:58, from osdep.h:68: env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1907:28: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 1907 | do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); | ^~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function ‘maildir_list_work’: maildir.c:1971:27: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 1971 | if(pmatch_full (tmp, pat,'/')){ | ^~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1971:32: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 1971 | if(pmatch_full (tmp, pat,'/')){ | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c:1989:27: warning: pointer targets in passing argument 1 of ‘dmatch’ differ in signedness [-Wpointer-sign] 1989 | if(dmatch (tmp, pat,'/') && | ^~~ | | | char * env.h:30:29: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:1989:32: warning: pointer targets in passing argument 2 of ‘dmatch’ differ in signedness [-Wpointer-sign] 1989 | if(dmatch (tmp, pat,'/') && | ^~~ | | | char * env.h:30:46: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 30 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function ‘courier_list_work’: maildir.c:2052:18: warning: the address of ‘tmp’ will always evaluate as ‘true’ [-Waddress] 2052 | if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) | ^~ maildir.c:2052:41: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 2052 | if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) | ^~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:2052:46: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 2052 | if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) | ^~~~~~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c:2058:33: warning: pointer targets in passing argument 1 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 2058 | if(pmatch_full (cdir->data[i]->name, pat, '.')){ | ~~~~~~~~~~~~~^~~~~~ | | | char * env.h:29:34: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ maildir.c:2058:41: warning: pointer targets in passing argument 2 of ‘pmatch_full’ differ in signedness [-Wpointer-sign] 2058 | if(pmatch_full (cdir->data[i]->name, pat, '.')){ | ^~~ | | | char * env.h:29:51: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 29 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ maildir.c: In function ‘courier_list_dir’: maildir.c:2574:21: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness [-Wpointer-sign] 2574 | if(!strncmp(ucase(tmp), "INBOX", 5)) | ^~~ | | | char * misc.h:82:38: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 82 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ maildir.c:2574:15: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 2574 | if(!strncmp(ucase(tmp), "INBOX", 5)) | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ maildir.c: In function ‘maildir_can_assign_uid’: maildir.c:2640:44: warning: unused variable ‘p’ [-Wunused-variable] 2640 | char tmp[MAILTMPLEN], tmp2[MAILTMPLEN], *p, *s; | ^ maildir.c:2639:17: warning: unused variable ‘t’ [-Wunused-variable] 2639 | unsigned long t; | ^ maildir.c: In function ‘maildir_assign_uid’: maildir.c:2834:18: warning: unused variable ‘deleteuid’ [-Wunused-variable] 2834 | int createuid, deleteuid = 0; | ^~~~~~~~~ maildir.c:2834:7: warning: unused variable ‘createuid’ [-Wunused-variable] 2834 | int createuid, deleteuid = 0; | ^~~~~~~~~ maildir.c: In function ‘maildir_text_work’: maildir.c:1032:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1032 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function ‘maildir_parse_message’: maildir.c:1087:9: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1087 | read (LOCAL->fd,s,MDSIZE(elt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function ‘maildir_header’: maildir.c:1174:6: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1174 | read (LOCAL->fd, (void *)LOCAL->buf, elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1179:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1179 | read (LOCAL->fd, (void *)s, elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function ‘maildir_copy’: maildir.c:1504:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1504 | read (fd,s,MDSIZE(elt)); | ^~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function ‘maildir_create_work’: maildir.c:1350:61: warning: ‘%.*s’ directive output may be truncated writing up to 1018 bytes into a region of size 1007 [-Wformat-truncation=] 1350 | snprintf (err, sizeof(err), "Problem creating %.*s: %.*s", | ^~~~ 1351 | len, tmp2, | ~~~~ In file included from /usr/include/stdio.h:980, from maildir.c:9: In function ‘snprintf’, inlined from ‘maildir_create_work’ at maildir.c:1350:8: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 20 or more bytes (assuming 1038) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` sha.c sha.c: In function ‘hash_from_sizedtext’: sha.c:49:40: warning: pointer targets in passing argument 1 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 49 | if(!compare_cstring(hashes[hashno].name, hash)) | ~~~~~~~~~~~~~~^~~~~ | | | char * In file included from c-client.h:49, from sha.c:13: misc.h:106:37: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ sha.c:49:47: warning: pointer targets in passing argument 2 of ‘compare_cstring’ differ in signedness [-Wpointer-sign] 49 | if(!compare_cstring(hashes[hashno].name, hash)) | ^~~~ | | | char * misc.h:106:55: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 106 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o sha.o;ranlib c-client.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' echo lnpno > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.26' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/m4' Making all in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/po' Making all in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_h_gen.o help_h_gen.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_h_gen help_h_gen.o libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_h_gen help_h_gen.o -L/usr/lib ./help_h_gen < pine.hlp > helptext.h gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_c_gen.o help_c_gen.c help_c_gen.c: In function ‘append_to_help_list’: help_c_gen.c:261:5: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 261 | strncpy(new->name, name, len); | ^ help_c_gen.c:259:11: note: length computed here 259 | len = strlen(name); | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_c_gen help_c_gen.o libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o help_c_gen help_c_gen.o -L/usr/lib ./help_c_gen < pine.hlp > helptext.c /usr/bin/make all-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldpath.o bldpath.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canaccess.o canaccess.c canaccess.c: In function ‘can_access_in_path.part.0’: canaccess.c:148:47: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 148 | snprintf(tmp, sizeof(tmp), "%s%c%s", p, FILE_SEP, file); | ^~ In file included from /usr/include/stdio.h:980, from ../../include/system.h:31, from canaccess.c:15: In function ‘snprintf’, inlined from ‘can_access_in_path.part.0’ at canaccess.c:148:3: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 4098) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ canaccess.c: In function ‘can_access_in_path.part.0’: canaccess.c:148:47: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 148 | snprintf(tmp, sizeof(tmp), "%s%c%s", p, FILE_SEP, file); | ^~ In function ‘snprintf’, inlined from ‘can_access_in_path.part.0’ at canaccess.c:148:3: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 4098) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canonicl.o canonicl.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o collate.o collate.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c color.c:234:24: warning: argument 2 of type ‘char[256]’ with mismatched bound [-Warray-parameter=] 234 | qs_add(char **qs, char word[NSTRING], QStrType typeqs, int beginw, int endw, | ~~~~~^~~~~~~~~~~~~ color.c:173:28: note: previously declared as ‘char *’ 173 | QSTRING_S *qs_add(char **, char *, QStrType, int, int, int, int); | ^~~~~~ color.c: In function ‘qs_add’: color.c:238:9: warning: unused variable ‘i’ [-Wunused-variable] 238 | int i; | ^ color.c: In function ‘qs_remove_trailing_spaces’: color.c:296:14: warning: unused variable ‘rl’ [-Wunused-variable] 296 | QSTRING_S *rl = cl; | ^~ color.c: In function ‘fix_qstring’: color.c:432:47: warning: unused variable ‘pqstring’ [-Wunused-variable] 432 | QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; | ^~~~~~~~ color.c:432:31: warning: unused variable ‘nqstring’ [-Wunused-variable] 432 | QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; | ^~~~~~~~ color.c: At top level: color.c:841:14: warning: argument 1 of type ‘char[256]’ with mismatched bound [-Warray-parameter=] 841 | isaword(char word[NSTRING], int i, int j) | ~~~~~^~~~~~~~~~~~~ color.c:183:18: note: previously declared as ‘char *’ 183 | int isaword(char *,int ,int); | ^~~~~~ color.c:848:17: warning: argument 1 of type ‘char[256]’ with mismatched bound [-Warray-parameter=] 848 | isamailbox(char word[NSTRING], int i, int j) | ~~~~~^~~~~~~~~~~~~ color.c:184:21: note: previously declared as ‘char *’ 184 | int isamailbox(char *,int ,int); | ^~~~~~ color.c: In function ‘do_raw_quote_match’: color.c:925:39: warning: unused variable ‘buf’ [-Wunused-variable] 925 | char nbuf[NSTRING], pbuf[NSTRING], buf[NSTRING]; | ^~~ color.c: In function ‘do_quote_match’: color.c:1022:11: warning: the address of ‘buf’ will always evaluate as ‘true’ [-Waddress] 1022 | c = buf && buf[0] ? strlen(buf) : 0; | ^~~ color.c:1023:10: warning: the address of ‘nbuf’ will always evaluate as ‘true’ [-Waddress] 1023 | n = nbuf && nbuf[0] ? strlen(nbuf) : 0; | ^~~~ color.c:1024:10: warning: the address of ‘pbuf’ will always evaluate as ‘true’ [-Waddress] 1024 | p = pbuf && pbuf[0] ? strlen(pbuf) : 0; | ^~~~ color.c: At top level: color.c:1146:36: warning: argument 2 of type ‘char[256]’ with mismatched bound [-Warray-parameter=] 1146 | advance_quote_string(char *q, char l[NSTRING], int i) | ~~~~~^~~~~~~~~~ In file included from color.c:30: ./color.h:119:42: note: previously declared as ‘char *’ 119 | int advance_quote_string(char *, char *, int); | ^~~~~~ color.c:1193:17: warning: argument 1 of type ‘char[256]’ with mismatched bound [-Warray-parameter=] 1193 | is_indent (char word[NSTRING], int plb) | ~~~~~^~~~~~~~~~~~~ ./color.h:114:23: note: previously declared as ‘char *’ 114 | int is_indent(char *, int); | ^~~~~~ color.c: In function ‘is_indent’: color.c:1195:34: warning: unused variable ‘digit’ [-Wunused-variable] 1195 | int i = 0, finished = 0, j, k, digit = 0, bdigits = -1, alpha = 0; | ^~~~~ color.c: In function ‘add_allowed_qstr’: color.c:1324:7: warning: unused variable ‘i’ [-Wunused-variable] 1324 | int i; | ^ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o coredump.o coredump.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o creatdir.o creatdir.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o debugtime.o debugtime.c debugtime.c: In function ‘debug_time’: debugtime.c:53:50: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] 53 | snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); | ^~ In function ‘debug_time’, inlined from ‘debug_time’ at debugtime.c:29:1: debugtime.c:53:48: note: directive argument in the range [-2147483647, 2147483647] 53 | snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); | ^~~~~~~~ In file included from /usr/include/stdio.h:980, from debugtime.c:15: In function ‘snprintf’, inlined from ‘debug_time’ at debugtime.c:53:7, inlined from ‘debug_time’ at debugtime.c:29:1: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 5 and 25 bytes into a destination of size 7 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o domnames.o domnames.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o err_desc.o err_desc.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fgetpos.o fgetpos.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesize.o filesize.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fnexpand.o fnexpand.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hostname.o hostname.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o lstcmpnt.o lstcmpnt.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedisp.o mimedisp.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c pipe.c: In function ‘open_system_pipe’: pipe.c:319:13: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 319 | pipe(p); /* alloc pipe to write child */ | ^~~~~~~ pipe.c:325:13: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 325 | pipe(p); /* alloc pipe to read child */ | ^~~~~~~ pipe.c:256:17: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 256 | strncpy(syspipe->args, p, l); | ^ pipe.c:253:21: note: length computed here 253 | int l = strlen(p); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pw_stuff.o pw_stuff.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rename.o rename.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o temp_nam.o temp_nam.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o writ_dir.o writ_dir.c rm -f libpithosd.a /usr/bin/ar cru libpithosd.a bldpath.o canaccess.o canonicl.o collate.o color.o coredump.o creatdir.o debugtime.o domnames.o err_desc.o fgetpos.o filesize.o fnexpand.o hostname.o lstcmpnt.o mimedisp.o pipe.o pw_stuff.o rename.o tempfile.o temp_nam.o writ_dir.o ranlib libpithosd.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' Making all in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8.o utf8.c utf8.c: In function ‘utf8_snprintf’: utf8.c:1333:47: warning: variable ‘modifier’ set but not used [-Wunused-but-set-variable] 1333 | int min_field_width, field_precision, modifier; | ^~~~~~~~ utf8.c:1326:13: warning: variable ‘start_of_specifier’ set but not used [-Wunused-but-set-variable] 1326 | char *start_of_specifier; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from ../../include/system.h:45, from utf8.c:27: In function ‘strncpy’, inlined from ‘utf8_snprintf’ at utf8.c:1439:7: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ destination unchanged after copying no bytes [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libpithcc.a /usr/bin/ar cru libpithcc.a filesys.o utf8.o ranlib libpithcc.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ablookup.o ablookup.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o abdlc.o abdlc.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrstring.o addrstring.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbklib.o adrbklib.c adrbklib.c: In function ‘copy_abook_to_tempfile’: adrbklib.c:458:12: warning: variable ‘mtime’ set but not used [-Wunused-but-set-variable] 458 | time_t mtime; | ^~~~~ adrbklib.c:452:12: warning: variable ‘got_it’ set but not used [-Wunused-but-set-variable] 452 | int got_it, fd, c, | ^~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldaddr.o bldaddr.c bldaddr.c: In function ‘get_fcc’: bldaddr.c:1162:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘cur_folder’ will never be NULL [-Waddress] 1162 | && ps_global->cur_folder | ^~ In file included from ../pith/bldaddr.h:22, from bldaddr.c:22: ../pith/../pith/state.h:122:18: note: ‘cur_folder’ declared here 122 | char cur_folder[MAXPATH+1]; | ^~~~~~~~~~ In file included from bldaddr.c:35: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o body.o body.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o charset.o charset.c charset.c: In function ‘rfc1522_valid’: charset.c:384:12: warning: ‘e’ may be used uninitialized [-Wmaybe-uninitialized] 384 | *enc = e; | ~~~~~^~~ charset.c:373:15: note: ‘e’ was declared here 373 | char *c, *e, *t, *p; | ^ charset.c:387:12: warning: ‘t’ may be used uninitialized [-Wmaybe-uninitialized] 387 | *txt = t; | ~~~~~^~~ charset.c:373:19: note: ‘t’ was declared here 373 | char *c, *e, *t, *p; | ^ charset.c:390:13: warning: ‘p’ may be used uninitialized [-Wmaybe-uninitialized] 390 | *endp = p; | ~~~~~~^~~ charset.c:373:23: note: ‘p’ was declared here 373 | char *c, *e, *t, *p; | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c color.c: In function ‘color_a_quote’: color.c:157:25: warning: unused variable ‘j’ [-Wunused-variable] 157 | int countem = 0, i, j = 0; | ^ color.c:240:9: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 240 | strncpy(fg, color_to_asciirgb(VAR_NORM_FORE_COLOR), sizeof(fg)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o conf.o conf.c In file included from conf.c:28: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o context.o context.c context.c: In function ‘context_allowed’: context.c:318:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 318 | strncpy(free_this, p, strlen(p)+200); | ^ context.c:318:35: note: length computed here 318 | strncpy(free_this, p, strlen(p)+200); | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o copyaddr.o copyaddr.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detoken.o detoken.c In file included from detoken.c:24: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detach.o detach.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o editorial.o editorial.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o escapes.o escapes.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filter.o filter.c filter.c: In function ‘gf_terminal’: filter.c:164:25: warning: unused variable ‘eib’ [-Wunused-variable] 164 | #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL | ^~~ filter.c:176:40: note: in expansion of macro ‘GF_EIB_INIT’ 176 | unsigned char *GF_EIB_INIT(FO); | ^~~~~~~~~~~ filter.c:891:9: note: in expansion of macro ‘GF_INIT’ 891 | GF_INIT(f, f); | ^~~~~~~ filter.c:162:25: warning: unused variable ‘ip’ [-Wunused-variable] 162 | #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~ filter.c:175:40: note: in expansion of macro ‘GF_IP_INIT’ 175 | unsigned char *GF_IP_INIT(FO); \ | ^~~~~~~~~~ filter.c:891:9: note: in expansion of macro ‘GF_INIT’ 891 | GF_INIT(f, f); | ^~~~~~~ filter.c: In function ‘gf_pipe’: filter.c:167:25: warning: unused variable ‘eob’ [-Wunused-variable] 167 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:174:40: note: in expansion of macro ‘GF_EOB_INIT’ 174 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:968:9: note: in expansion of macro ‘GF_INIT’ 968 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c:166:25: warning: unused variable ‘op’ [-Wunused-variable] 166 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:173:40: note: in expansion of macro ‘GF_OP_INIT’ 173 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:968:9: note: in expansion of macro ‘GF_INIT’ 968 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function ‘gf_filter_puts’: filter.c:167:25: warning: unused variable ‘eob’ [-Wunused-variable] 167 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:174:40: note: in expansion of macro ‘GF_EOB_INIT’ 174 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:1158:5: note: in expansion of macro ‘GF_INIT’ 1158 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function ‘gf_filter_eod’: filter.c:167:25: warning: unused variable ‘eob’ [-Wunused-variable] 167 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:174:40: note: in expansion of macro ‘GF_EOB_INIT’ 174 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:1184:5: note: in expansion of macro ‘GF_INIT’ 1184 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c:166:25: warning: unused variable ‘op’ [-Wunused-variable] 166 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:173:40: note: in expansion of macro ‘GF_OP_INIT’ 173 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:1184:5: note: in expansion of macro ‘GF_INIT’ 1184 | GF_INIT(gf_master, gf_master); | ^~~~~~~ filter.c: In function ‘html_element_collector’: filter.c:7513:26: warning: unused variable ‘i’ [-Wunused-variable] 7513 | unsigned long i, bufsize = ED(fd)->bufsize; | ^ filter.c: In function ‘gf_html2plain’: filter.c:164:25: warning: unused variable ‘eib’ [-Wunused-variable] 164 | #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL | ^~~ filter.c:176:40: note: in expansion of macro ‘GF_EIB_INIT’ 176 | unsigned char *GF_EIB_INIT(FO); | ^~~~~~~~~~~ filter.c:7959:9: note: in expansion of macro ‘GF_INIT’ 7959 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:162:25: warning: unused variable ‘ip’ [-Wunused-variable] 162 | #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~ filter.c:175:40: note: in expansion of macro ‘GF_IP_INIT’ 175 | unsigned char *GF_IP_INIT(FO); \ | ^~~~~~~~~~ filter.c:7959:9: note: in expansion of macro ‘GF_INIT’ 7959 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function ‘html_write’: filter.c:167:25: warning: unused variable ‘eob’ [-Wunused-variable] 167 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:174:40: note: in expansion of macro ‘GF_EOB_INIT’ 174 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:8946:5: note: in expansion of macro ‘GF_INIT’ 8946 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:166:25: warning: unused variable ‘op’ [-Wunused-variable] 166 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:173:40: note: in expansion of macro ‘GF_OP_INIT’ 173 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:8946:5: note: in expansion of macro ‘GF_INIT’ 8946 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function ‘html_putc’: filter.c:167:25: warning: unused variable ‘eob’ [-Wunused-variable] 167 | #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL | ^~~ filter.c:174:40: note: in expansion of macro ‘GF_EOB_INIT’ 174 | unsigned char *GF_EOB_INIT(FI); \ | ^~~~~~~~~~~ filter.c:9018:5: note: in expansion of macro ‘GF_INIT’ 9018 | GF_INIT(f, f->next); | ^~~~~~~ filter.c:166:25: warning: unused variable ‘op’ [-Wunused-variable] 166 | #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL | ^~ filter.c:173:40: note: in expansion of macro ‘GF_OP_INIT’ 173 | #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ | ^~~~~~~~~~ filter.c:9018:5: note: in expansion of macro ‘GF_INIT’ 9018 | GF_INIT(f, f->next); | ^~~~~~~ filter.c: In function ‘html_element_comment’: filter.c:7786:21: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7786 | getcwd(p = buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c: In function ‘gf_html_cid2file’: filter.c:9254:30: warning: ‘flag’ may be used uninitialized [-Wmaybe-uninitialized] 9254 | if((flag & (CID_DATA | IMG_DATA)) || f->t){ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ filter.c:9243:24: note: ‘flag’ declared here 9243 | int flag; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flag.o flag.c In file included from flag.c:26: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c folder.c: In function ‘init_incoming_unseen_data’: folder.c:702:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 702 | || (f->name && !strucmp(ps->VAR_INCCHECKLIST[j],f->name))) | ^ In file included from ../pith/folder.h:21, from folder.c:17: ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘init_inbox_mapping’: folder.c:759:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 759 | || (f->name && !strucmp(ps_global->VAR_INCCHECKLIST[j],f->name))) | ^ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘mail_list_filter’: folder.c:1182:22: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1182 | if(f && f->name){ | ^~ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c:1268:34: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1268 | if(found_it && f && f->name){ | ^~ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘folder_is_target_of_nick’: folder.c:1839:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1839 | if(f->nickname && f->name && !strcmp(longname, f->name)) | ^~ ../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘new_folder’: folder.c:1679:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1679 | strncpy(tmp->name, name, l); | ^ folder.c:1675:19: note: length computed here 1675 | size_t l = strlen(name); | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o handle.o handle.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o help.c help.c: In function ‘get_alpine_revision_string’: help.c:61:8: warning: the address of ‘h_revision’ will always evaluate as ‘true’ [-Waddress] 61 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ help.c: In function ‘get_alpine_revision_number’: help.c:106:8: warning: the comparison will always evaluate as ‘true’ for the address of ‘h_revision’ will never be NULL [-Waddress] 106 | if(h_revision && h_revision[0] && h_revision[0][0]){ | ^~~~~~~~~~ In file included from ../pith/../pith/../pith/conftype.h:21, from ../pith/../pith/state.h:21, from ../pith/help.h:21, from help.c:16: ../pith/../pith/../pith/../pith/helptext.h:21:14: note: ‘h_revision’ declared here 21 | extern char *h_revision[]; | ^~~~~~~~~~ help.c: In function ‘debugjournal_to_file’: help.c:216:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘timestamp’ will never be NULL [-Waddress] 216 | if(p->timestamp && p->timestamp[0] | ^ ../pith/help.h:37:22: note: ‘timestamp’ declared here 37 | char timestamp[RMTIMLEN+1]; | ^~~~~~~~~ help.c:221:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘message’ will never be NULL [-Waddress] 221 | if(p->message && p->message[0] | ^ ../pith/help.h:36:22: note: ‘message’ declared here 36 | char message[RMMSGLEN+1]; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helpindx.o helpindx.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hist.o hist.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o icache.o icache.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ical.o ical.c ical.c: In function ‘ical_std_or_daylight’: ical.c:1909:13: warning: unused variable ‘tzid’ [-Wunused-variable] 1909 | ICLINE_S *tzid = (ICLINE_S *) vtz->prop[TZCid]; | ^~~~ ical.c:1908:23: warning: unused variable ‘daylight’ [-Wunused-variable] 1908 | struct tm standard, daylight; | ^~~~~~~~ ical.c:1908:13: warning: unused variable ‘standard’ [-Wunused-variable] 1908 | struct tm standard, daylight; | ^~~~~~~~ ical.c: In function ‘ical_adjust_date’: ical.c:1924:18: warning: variable ‘cur_std_day’ set but not used [-Wunused-but-set-variable] 1924 | ICAL_TZPROP_S *cur_std_day; | ^~~~~~~~~~~ ical.c:1922:9: warning: variable ‘tzname’ set but not used [-Wunused-but-set-variable] 1922 | char *tzname = NULL; | ^~~~~~ ical.c: In function ‘ical_parse_duration’: ical.c:1814:17: warning: storing the address of local variable ‘next’ in ‘ic_d_51(D)->next’ [-Wdangling-pointer=] 1814 | ic_d->next = &next; | ~~~~~~~~~~~^~~~~~~ ical.c:1812:22: note: ‘next’ declared here 1812 | ICAL_DURATION_S next; | ^~~~ ical.c:1768:51: note: ‘ic_d’ declared here 1768 | ical_parse_duration(char *value, ICAL_DURATION_S *ic_d) | ~~~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c In file included from imap.c:28: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o init.c In file included from ../pith/headers.h:65, from init.c:21: init.c: In function ‘prune_move_folder’: init.c:523:18: warning: the address of ‘spath’ will always evaluate as ‘true’ [-Waddress] 523 | spath ? spath : "?", newpath ? newpath : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ init.c:527:39: warning: the comparison will always evaluate as ‘true’ for the address of ‘spath’ will never be NULL [-Waddress] 527 | pretty_fn(spath ? spath : "?")); | ^ init.c:516:10: note: ‘spath’ declared here 516 | char spath[MAXPATH+1]; | ^~~~~ init.c:533:43: warning: the comparison will always evaluate as ‘true’ for the address of ‘spath’ will never be NULL [-Waddress] 533 | pretty_fn(spath ? spath : "?"), | ^ init.c:516:10: note: ‘spath’ declared here 516 | char spath[MAXPATH+1]; | ^~~~~ init.c: In function ‘html_dir_clean’: init.c:663:65: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 2 and 4094 [-Wformat-truncation=] 663 | snprintf(fpath, sizeof(fpath) - 1, "%s%s%s", h->dir, S_FILESEP, fname); | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘snprintf’, inlined from ‘html_dir_clean’ at init.c:663:4: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 2 and 4349 bytes into a destination of size 4095 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keyword.o keyword.c keyword.c: In function ‘stream_to_user_flag_name’: keyword.c:222:15: warning: the comparison will always evaluate as ‘true’ for the address of ‘user_flags’ will never be NULL [-Waddress] 222 | if(stream && stream->user_flags && k >= 0 && k < NUSERFLAGS) | ^~ In file included from ../pith/headers.h:28, from keyword.c:15: ../pith/../c-client/mail.h:1201:9: note: ‘user_flags’ declared here 1201 | char *user_flags[NUSERFLAGS]; /* pointers to user flags in bit order */ | ^~~~~~~~~~ keyword.c: In function ‘flag_string’: keyword.c:278:28: warning: the comparison will always evaluate as ‘true’ for the address of ‘user_flags’ will never be NULL [-Waddress] 278 | if((flags & F_KEYWORD) && stream->user_flags){ | ^~ ../pith/../c-client/mail.h:1201:9: note: ‘user_flags’ declared here 1201 | char *user_flags[NUSERFLAGS]; /* pointers to user flags in bit order */ | ^~~~~~~~~~ keyword.c:308:28: warning: the comparison will always evaluate as ‘true’ for the address of ‘user_flags’ will never be NULL [-Waddress] 308 | if((flags & F_KEYWORD) && stream->user_flags){ | ^~ ../pith/../c-client/mail.h:1201:9: note: ‘user_flags’ declared here 1201 | char *user_flags[NUSERFLAGS]; /* pointers to user flags in bit order */ | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldap.o ldap.c In file included from ../pith/headers.h:65, from ldap.c:15: ldap.c: In function ‘ldap_lookup’: ldap.c:920:42: warning: the address of ‘filter’ will always evaluate as ‘true’ [-Waddress] 920 | base ? base : "?", filter ? filter : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o list.o list.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcap.o mailcap.c mailcap.c: In function ‘mc_get_command’: mailcap.c:636:62: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 636 | snprintf(tmp_mime_type, sizeof(tmp_mime_type), "%s/%s", body_types[type], subtype); | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from mailcap.c:15: In function ‘snprintf’, inlined from ‘mc_get_command’ at mailcap.c:636:2: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c mailcmd.c: In function ‘broach_get_folder’: mailcmd.c:343:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘cur_folder’ will never be NULL [-Waddress] 343 | *inbox = (ps_global->cur_folder | ^~~~~~~~~ In file included from ../pith/mailcmd.h:21, from mailcmd.c:16: ../pith/../pith/state.h:122:18: note: ‘cur_folder’ declared here 122 | char cur_folder[MAXPATH+1]; | ^~~~~~~~~~ mailcmd.c:344:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘inbox_name’ will never be NULL [-Waddress] 344 | && ps_global->inbox_name | ^~ ../pith/../pith/state.h:108:18: note: ‘inbox_name’ declared here 108 | char inbox_name[MAXFOLDER+1]; | ^~~~~~~~~~ In file included from ../pith/headers.h:65, from mailcmd.c:15: mailcmd.c: In function ‘do_broach_folder’: mailcmd.c:558:38: warning: the address of ‘expanded_file’ will always evaluate as ‘true’ [-Waddress] 558 | expanded_file ? expanded_file : "?", | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:398:32: warning: unused variable ‘n’ [-Wunused-variable] 398 | do_reopen = 0, n, was_dead = 0, cur_already_set = 0; | ^ In file included from mailcmd.c:38: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailcmd.c: In function ‘move_read_msgs.part.0’: mailcmd.c:1665:11: warning: ‘strncpy’ output truncated copying between 0 and 5 bytes from a string of length 5 [-Wstringop-truncation] 1665 | strncpy(bufp = buf + 1, "Moved", MIN(5,buflen)); /* change Moving to Moved */ | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c mailindx.c: In function ‘build_header_work’: mailindx.c:1656:34: warning: unused variable ‘branch’ [-Wunused-variable] 1656 | unsigned long branch; | ^~~~~~ mailindx.c: In function ‘fetch_firsttext’: mailindx.c:3935:39: warning: unused variable ‘env’ [-Wunused-variable] 3935 | ENVELOPE *env; | ^~~ mailindx.c: In function ‘date_str’: mailindx.c:5042:39: warning: variable ‘ampm’ set but not used [-Wunused-but-set-variable] 5042 | char dbuf[200], *Ddd, *ampm; | ^~~~ mailindx.c: In function ‘subj_str’: mailindx.c:5527:52: warning: unused variable ‘i’ [-Wunused-variable] 5527 | int depth = 0, mult = 2, collapsed, i, we_clear = 0; | ^ mailindx.c:5527:41: warning: unused variable ‘collapsed’ [-Wunused-variable] 5527 | int depth = 0, mult = 2, collapsed, i, we_clear = 0; | ^~~~~~~~~ In file included from mailindx.c:40: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailindx.c:24: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailindx.c: In function ‘date_str’: mailindx.c:4585:11: warning: ‘strncpy’ specified bound 5 equals destination size [-Wstringop-truncation] 4585 | strncpy(timezone+1, int2string(d.hours_off_gmt), sizeof(timezone)-1); | ^ mailindx.c:4582:13: warning: ‘strncpy’ specified bound 4 equals destination size [-Wstringop-truncation] 4582 | strncpy(timezone+2, int2string(d.hours_off_gmt), sizeof(timezone)-2); | ^ mailindx.c: In function ‘subj_str’: mailindx.c:5981:13: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 5981 | strncpy(ftielem->data, sep, seplen); | ^ mailindx.c:5973:22: note: length computed here 5973 | seplen = strlen(sep); | ^~~~~~~~~~~ mailindx.c: In function ‘format_index_index_line’: mailindx.c:2919:19: warning: ‘strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 2919 | strncpy(str, newsgroups, sizeof(str)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o maillist.o maillist.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c mailview.c: In function ‘format_calendar’: mailview.c:535:25: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 535 | caltext = rfc822_qprint ((unsigned char *) rawtext,strlen(rawtext),&callen); | ^ mailview.c: In function ‘format_attachment_list’: mailview.c:1067:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 1067 | a->size ? a->size : "", | ^ In file included from ../pith/mailpart.h:21, from mailview.c:26: ../pith/../pith/atttype.h:31:17: note: ‘size’ declared here 31 | char size[25]; | ^~~~ mailview.c: In function ‘color_signature’: mailview.c:1511:9: warning: the address of ‘buf2’ will always evaluate as ‘true’ [-Waddress] 1511 | i = buf2 && buf2[0] ? strlen(buf2) : 0; | ^~~~ mailview.c:1483:15: warning: unused variable ‘q’ [-Wunused-variable] 1483 | char *p, *q; | ^ mailview.c: In function ‘incomplete_url’: mailview.c:1925:15: warning: unused variable ‘len’ [-Wunused-variable] 1925 | int rv = 0, len; | ^~~ mailview.c: In function ‘color_this_text’: mailview.c:3253:18: warning: unused variable ‘pattern’ [-Wunused-variable] 3253 | static char *pattern = NULL; | ^~~~~~~ mailview.c: In function ‘display_parameters’: mailview.c:3748:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘attrib’ will never be NULL [-Waddress] 3748 | if(parmlist->attrib && strucmp(parmlist->attrib, "url") == 0){ | ^~~~~~~~ ../pith/../pith/atttype.h:41:16: note: ‘attrib’ declared here 41 | char attrib[32], | ^~~~~~ mailview.c:3759:39: warning: the comparison will always evaluate as ‘true’ for the address of ‘attrib’ will never be NULL [-Waddress] 3759 | parmlist->attrib ? parmlist->attrib : "", printme); | ^ ../pith/../pith/atttype.h:41:16: note: ‘attrib’ declared here 41 | char attrib[32], | ^~~~~~ mailview.c: In function ‘embed_color’: mailview.c:3890:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 3890 | if(cp && cp->fg){ | ^~ In file included from headers.h:43, from mailview.c:23: osdep/color.h:43:14: note: ‘fg’ declared here 43 | char fg[MAXCOLORLEN+1]; | ^~ mailview.c:3901:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 3901 | if(cp && cp->bg){ | ^~ osdep/color.h:44:14: note: ‘bg’ declared here 44 | char bg[MAXCOLORLEN+1]; | ^~ In file included from mailview.c:38: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailview.c: In function ‘select_quote’: mailview.c:2246:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2246 | strncpy(GLine, (who ? GLine1 : GLine2), buflen); | ^ mailview.c:2247:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2247 | strncpy(PLine, (who ? PLine1 : PLine2), buflen); | ^ mailview.c:2246:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2246 | strncpy(GLine, (who ? GLine1 : GLine2), buflen); | ^ mailview.c:2247:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2247 | strncpy(PLine, (who ? PLine1 : PLine2), buflen); | ^ mailview.c:2248:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2248 | strncpy(PPLine, (who ? PPLine1 : PPLine2), buflen); | ^ mailview.c:2251:9: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2251 | strncpy(PLine, GLine, buflen); | ^ mailview.c:2281:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2281 | strncpy(tmp_20k_buf, buf, buflen); | ^ mailview.c:2283:8: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2283 | strncpy((who ? PPLine1 : PPLine2), PLine, buflen); | ^ mailview.c:2284:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2284 | strncpy((who ? GLine1 : GLine2), GLine, buflen); | ^ mailview.c:2285:6: warning: ‘strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 2285 | strncpy((who ? PLine1 : PLine2), PLine, buflen); | ^ In file included from /usr/include/string.h:548, from ../include/system.h:45, from headers.h:25: In function ‘strncpy’, inlined from ‘format_newsgroup_string.part.0’ at mailview.c:3576:9: /usr/include/bits/string_fortified.h:95:10: warning: ‘strncpy’ destination unchanged after copying no bytes [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ mailview.c: In function ‘url_hilite’: mailview.c:1964:69: warning: ‘h’ may be used uninitialized [-Wmaybe-uninitialized] 1964 | if(((uh && uh->handlesp && ((h = *(uh->handlesp)) == NULL)) || h->key == 0) || | ~^~~~~ mailview.c:1960:20: note: ‘h’ was declared here 1960 | HANDLE_S *h; | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o margin.o margin.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedesc.o mimedesc.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimetype.o mimetype.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o msgno.o msgno.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c newmail.c: In function ‘new_mail’: newmail.c:76:19: warning: variable ‘last_check_point_call’ set but not used [-Wunused-but-set-variable] 76 | static time_t last_check_point_call = 0; | ^~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o news.o news.c news.c: In function ‘news_grouper’: news.c:210:11: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 210 | if(no_servers == 0) | ^~ news.c:218:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 218 | for(server = ps_global->VAR_NNTP_SERVER; | ^~~ news.c:323:30: warning: ‘ep’ may be used uninitialized [-Wmaybe-uninitialized] 323 | while(*p2 && (ep - ng_error < sizeof(ng_error)-1)) | ~~~^~~~~~~~~~ news.c:113:56: note: ‘ep’ was declared here 113 | char ng_error[90], *p1, *p2, *name, *end, *ep, **server, | ^~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c pattern.c: In function ‘parse_pat_file’: pattern.c:998:31: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 998 | (void)fgets(buf, BUF_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from pattern.c:27: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o readfile.o readfile.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c In file included from ../pith/headers.h:65, from remote.c:21: remote.c: In function ‘rd_update_remote’: remote.c:2272:21: warning: the address of ‘date’ will always evaluate as ‘true’ [-Waddress] 2272 | date ? date : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ remote.c: In function ‘rd_upgrade_cookies’: remote.c:1834:53: warning: ‘%ld’ directive output may be truncated writing between 1 and 20 bytes into a region of size 18 [-Wformat-truncation=] 1834 | snprintf(sequence, sizeof(sequence), "1:%ld", nmsgs); | ^~~ remote.c:1834:50: note: directive argument in the range [-9223372036854775808, 9223372036854775805] 1834 | snprintf(sequence, sizeof(sequence), "1:%ld", nmsgs); | ^~~~~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘snprintf’, inlined from ‘rd_upgrade_cookies’ at remote.c:1834:6: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 4 and 23 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ remote.c: In function ‘rd_update_remote’: remote.c:2279:11: warning: ‘strncpy’ output may be truncated copying 100 bytes from a string of length 199 [-Wstringop-truncation] 2279 | strncpy(returndate, date, 100); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c reply.c: In function ‘get_reply_data’: reply.c:1970:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘screen_name’ will never be NULL [-Waddress] 1970 | if(ps_global->screen_name){ | ^~~~~~~~~ In file included from ../pith/reply.h:45, from reply.c:16: ../pith/../pith/state.h:115:17: note: ‘screen_name’ declared here 115 | char screen_name[16]; /* name of current screen */ | ^~~~~~~~~~~ reply.c:1988:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘cur_folder’ will never be NULL [-Waddress] 1988 | if(ps_global->cur_folder){ | ^~~~~~~~~ ../pith/../pith/state.h:122:18: note: ‘cur_folder’ declared here 122 | char cur_folder[MAXPATH+1]; | ^~~~~~~~~~ In file included from reply.c:47: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from reply.c:43: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ reply.c: In function ‘reply_signature’: reply.c:1499:9: warning: ‘strncat’ output may be truncated copying between 0 and 2 bytes from a string of length 1 [-Wstringop-truncation] 1499 | strncat(sig, NEWLINE, l+1-1-strlen(sig)); | ^ reply.c: In function ‘get_signature_lit’: reply.c:3765:24: warning: ‘save’ may be used uninitialized [-Wmaybe-uninitialized] 3765 | *d++ = save; | ~~~~~^~~~~~ reply.c:3718:43: note: ‘save’ was declared here 3718 | char *tmplit = NULL, *p, *q, *d, save; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rfc2231.o rfc2231.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rules.o rules.c rules.c: In function ‘isolate_condition’: rules.c:318:48: warning: unused variable ‘l’ [-Wunused-variable] 318 | int done = 0, error = 0, next_condition = 0, l; | ^ rules.c: In function ‘canonicalize_condition’: rules.c:472:27: warning: unused variable ‘c’ [-Wunused-variable] 472 | char *p = data, *s, *t, c; | ^ rules.c: In function ‘fill_condition’: rules.c:616:16: warning: unused variable ‘cvalue’ [-Wunused-variable] 616 | CONDVALUE_S *cvalue; | ^~~~~~ rules.c:614:13: warning: variable ‘t’ set but not used [-Wunused-but-set-variable] 614 | char *s, *t, *u; | ^ rules.c: In function ‘parse_action’: rules.c:679:9: warning: unused variable ‘function’ [-Wunused-variable] 679 | char *function, *p = data; | ^~~~~~~~ rules.c: In function ‘add_rule’: rules.c:898:40: warning: unused variable ‘orulelist’ [-Wunused-variable] 898 | PRULELIST_S *prulelist, *trulelist, *orulelist; | ^~~~~~~~~ rules.c:898:16: warning: unused variable ‘prulelist’ [-Wunused-variable] 898 | PRULELIST_S *prulelist, *trulelist, *orulelist; | ^~~~~~~~~ rules.c: In function ‘free_parsed_value’: rules.c:1118:17: warning: unused variable ‘tval’ [-Wunused-variable] 1118 | TOKEN_VALUE *tval = NULL; | ^~~~ rules.c: In function ‘trim’: rules.c:1331:6: warning: unused variable ‘offset’ [-Wunused-variable] 1331 | int offset; | ^~~~~~ rules.c:1329:8: warning: unused variable ‘begin_text’ [-Wunused-variable] 1329 | char *begin_text, *test; | ^~~~~~~~~~ rules.c: In function ‘do_rextrim’: rules.c:1346:11: warning: unused variable ‘len’ [-Wunused-variable] 1346 | size_t len; | ^~~ rules.c:1345:8: warning: unused variable ‘i’ [-Wunused-variable] 1345 | int i, offset = 0; | ^ rules.c: In function ‘exec_fcn’: rules.c:1537:24: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 1537 | rv = cpystr(output_so->dp); | ~~~~~~~~~^~~~ | | | unsigned char * In file included from ../pith/headers.h:31, from rules.c:12: ../pith/../c-client/misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ rules.c: In function ‘rules_fetchenvelope’: rules.c:1559:28: warning: pointer targets in passing argument 1 of ‘cpystr’ differ in signedness [-Wpointer-sign] 1559 | env->date = cpystr((unsigned char *) idata->date); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * ../pith/../c-client/misc.h:84:27: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 84 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ rules.c:1559:19: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 1559 | env->date = cpystr((unsigned char *) idata->date); | ^ In file included from rules.c:17: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ rules.c: In function ‘canonicalize_condition’: rules.c:493:34: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] 493 | sprintf(tmp, "%d ", --level); | ^~ rules.c:493:33: note: directive argument in the range [-2147483648, 2147483646] 493 | sprintf(tmp, "%d ", --level); | ^~~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘sprintf’, inlined from ‘canonicalize_condition’ at rules.c:493:6: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 3 and 13 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o save.o save.c In file included from save.c:25: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sequence.o sequence.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c send.c: In function ‘pine_new_env’: send.c:1196:18: warning: the address of ‘pf_template’ will always evaluate as ‘true’ [-Waddress] 1196 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ send.c: In function ‘pine_free_env’: send.c:1461:22: warning: the comparison will always evaluate as ‘true’ for the address of ‘pf_template’ will never be NULL [-Waddress] 1461 | for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) | ^~~~~~~~~~~ send.c:54:11: note: ‘pf_template’ declared here 54 | PINEFIELD pf_template[] = { | ^~~~~~~~~~~ send.c: In function ‘post_handoff’: send.c:5654:31: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 5654 | if((s = strstr(header->env->date," (")) != NULL) /* fix the date format for news */ | ~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25, from send.c:15: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ In file included from send.c:43: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sort.o sort.c In file included from sort.c:29: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o state.o state.c In file included from state.c:34: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o store.o store.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o stream.o stream.c stream.c: In function ‘same_stream’: stream.c:3119:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3119 | && ((mb_n.user && *mb_n.user && | ^~~~ In file included from ../pith/headers.h:28, from stream.c:22: ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3119:37: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3119 | && ((mb_n.user && *mb_n.user && | ^~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3122:14: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3122 | ((!mb_n.user || !*mb_n.user) | ^ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3123:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3123 | && mb_s.user | ^~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3131:16: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3131 | (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) | ^~~~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3131:45: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3131 | (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) | ^~~~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c: In function ‘same_stream_and_mailbox’: stream.c:3163:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3163 | && (mb_n.mailbox && mb_s.mailbox | ^~~~ ../pith/../c-client/mail.h:716:8: note: ‘mailbox’ declared here 716 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c:3163:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3163 | && (mb_n.mailbox && mb_s.mailbox | ^~ ../pith/../c-client/mail.h:716:8: note: ‘mailbox’ declared here 716 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c: In function ‘same_remote_mailboxes’: stream.c:3212:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3212 | && mb1.mailbox && mb2.mailbox | ^~ ../pith/../c-client/mail.h:716:8: note: ‘mailbox’ declared here 716 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c:3212:27: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 3212 | && mb1.mailbox && mb2.mailbox | ^~ ../pith/../c-client/mail.h:716:8: note: ‘mailbox’ declared here 716 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ stream.c:3216:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3216 | && ((mb1.user && *mb1.user && mb2.user && *mb2.user | ^~~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3216:39: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3216 | && ((mb1.user && *mb1.user && mb2.user && *mb2.user | ^~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3219:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3219 | (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) | ^~~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3219:47: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3219 | (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) | ^~~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3221:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3221 | (!(mb1.user && *mb1.user) | ^~~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ stream.c:3229:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 3229 | (!(mb2.user && *mb2.user) | ^~~ ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ In file included from stream.c:33: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ stream.c: In function ‘pine_mail_append_full’: stream.c:956:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 956 | strncpy(mailbox_nodelim, mailbox, MIN(len-1,sizeof(mailbox_nodelim)-1)); | ^ stream.c:954:15: note: length computed here 954 | len = strlen(mailbox); | ^~~~~~~~~~~~~~~ stream.c: In function ‘pine_mail_copy_full’: stream.c:1116:13: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1116 | strncpy(mailbox_nodelim, mailbox, MIN(len-1,sizeof(mailbox_nodelim)-1)); | ^ stream.c:1114:15: note: length computed here 1114 | len = strlen(mailbox); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o string.o string.c string.c: In function ‘repeat_char’: string.c:1439:11: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] 1439 | char *b; | ^ string.c: In function ‘convert_date_to_local’: string.c:1358:68: warning: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 17 [-Wformat-truncation=] 1358 | snprintf(datebuf, sizeof(datebuf), "%.3s, %d %.3s %d %02d:%02d:%02d", | ^~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:55: In function ‘snprintf’, inlined from ‘convert_date_to_local’ at string.c:1358:5: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 16 and 69 bytes into a destination of size 30 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1526:43: warning: ‘nd’ directive output may be truncated writing 2 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1526 | snprintf(enth, sizeof(enth), "%dnd",i); | ^~ In function ‘snprintf’, inlined from ‘enth_string’ at string.c:1526:11: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 4 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1533:43: warning: ‘rd’ directive output may be truncated writing 2 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1533 | snprintf(enth, sizeof(enth), "%drd",i); | ^~ In function ‘snprintf’, inlined from ‘enth_string’ at string.c:1533:11: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 4 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1519:42: warning: ‘st’ directive output may be truncated writing 2 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 1519 | snprintf(enth, sizeof(enth),"%dst", i); | ^~ In function ‘snprintf’, inlined from ‘enth_string’ at string.c:1519:11: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 4 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ string.c: In function ‘enth_string’: string.c:1517:42: warning: ‘th’ directive output may be truncated writing 2 bytes into a region of size between 0 and 8 [-Wformat-truncation=] 1517 | snprintf(enth, sizeof(enth),"%dth", i); | ^~ In function ‘snprintf’, inlined from ‘enth_string’ at string.c:1517:11: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 5 and 13 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o strlst.o strlst.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c takeaddr.c: In function ‘grab_addrs_from_body’: takeaddr.c:1851:14: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘a + 80’ must not be NULL [-Waddress] 1851 | && a && a+1 && (a+1)->shown) | ^~ takeaddr.c: In function ‘fill_in_ta’: takeaddr.c:2098:47: warning: pointer targets in passing argument 1 of ‘remove_quotes’ differ in signedness [-Wpointer-sign] 2098 | remove_quotes(new_current->addr->personal); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from ../pith/../pith/adrbklib.h:24, from ../pith/takeaddr.h:21, from takeaddr.c:22: ../pith/../pith/../pith/string.h:158:27: note: expected ‘unsigned char *’ but argument is of type ‘char *’ 158 | void remove_quotes(unsigned char *); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o text.o text.c In file included from /usr/include/string.h:548, from ../include/system.h:45, from ../pith/headers.h:25, from text.c:23: In function ‘strcpy’, inlined from ‘delete_quotes’ at text.c:645:4: /usr/include/bits/string_fortified.h:79:10: warning: ‘strcpy’ accessing between 1 and 9223372036854775805 bytes may overlap up to 9223372036854775805 bytes [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o thread.o thread.c thread.c: In function ‘sort_thread_callback’: thread.c:163:32: warning: unused variable ‘branch’ [-Wunused-variable] 163 | long raw_current, branch; | ^~~~~~ thread.c: In function ‘top_thread’: thread.c:1639:20: warning: unused variable ‘rawno’ [-Wunused-variable] 1639 | unsigned long rawno; | ^~~~~ thread.c: In function ‘top_this_thread’: thread.c:1665:20: warning: unused variable ‘rawno’ [-Wunused-variable] 1665 | unsigned long rawno; | ^~~~~ thread.c: In function ‘this_thread_is_kolapsed’: thread.c:1725:26: warning: unused variable ‘orig’ [-Wunused-variable] 1725 | unsigned long rawno, orig; | ^~~~ thread.c: In function ‘count_this_thread’: thread.c:1757:34: warning: unused variable ‘topnxt’ [-Wunused-variable] 1757 | unsigned long top, orig_top, topnxt; | ^~~~~~ thread.c:1757:24: warning: unused variable ‘orig_top’ [-Wunused-variable] 1757 | unsigned long top, orig_top, topnxt; | ^~~~~~~~ thread.c:1757:19: warning: unused variable ‘top’ [-Wunused-variable] 1757 | unsigned long top, orig_top, topnxt; | ^~~ thread.c: In function ‘find_msgmap’: thread.c:1912:16: warning: variable ‘thrd’ set but not used [-Wunused-but-set-variable] 1912 | PINETHRD_S *thrd; | ^~~~ thread.c:1910:22: warning: unused variable ‘nthreads’ [-Wunused-variable] 1910 | long tmsg, ntmsg, nthreads; | ^~~~~~~~ thread.c: In function ‘move_thread’: thread.c:2047:15: warning: variable ‘thrd’ set but not used [-Wunused-but-set-variable] 2047 | PINETHRD_S *thrd; | ^~~~ thread.c: In function ‘move_next_thread’: thread.c:2139:9: warning: unused variable ‘collapsed’ [-Wunused-variable] 2139 | int collapsed, rv = 1, done = 0; | ^~~~~~~~~ In file included from thread.c:26: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adjtime.o adjtime.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o url.o url.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o util.o util.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helptext.o helptext.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smkeys.o smkeys.c smkeys.c: In function ‘smime_get_date’: smkeys.c:663:37: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] 649 | m = iobuf; | ~~~~~ ...... 663 | snprintf(date, sizeof(date), "%s %s %s %s (%s)", d, m, y, t, z); | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:20: In function ‘snprintf’, inlined from ‘smime_get_date’ at smkeys.c:663:4: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 7 or more bytes (assuming 4102) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smkeys.c: In function ‘smime_get_date’: smkeys.c:674:35: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1024 [-Wformat-truncation=] 649 | m = iobuf; | ~~~~~ ...... 674 | snprintf(buf, sizeof(buf), "%s/%s/%s", m, d, y + strlen(y) - 2); | ^~ In function ‘snprintf’, inlined from ‘smime_get_date’ at smkeys.c:674:7: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 3 or more bytes (assuming 4098) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c smime.c: In function ‘setup_pwdcert’: smime.c:308:9: warning: the address of ‘pathkey’ will always evaluate as ‘true’ [-Waddress] 308 | if((pathkey && *pathkey) || text){ | ^~~~~~~ smime.c: In function ‘import_certificate’: smime.c:769:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 769 | fgets(tmp2, sizeof(tmp2), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:624:6: warning: ‘strncpy’ specified bound 4097 equals destination size [-Wstringop-truncation] 624 | strncpy(full_filename, fname, sizeof(full_filename)); | ^ smime.c:626:8: warning: ‘strncpy’ specified bound 4097 equals destination size [-Wstringop-truncation] 626 | strncpy(filename, s+1, sizeof(filename)); | ^ rm -f libpith.a /usr/bin/ar cru libpith.a ablookup.o abdlc.o addrbook.o addrstring.o adrbklib.o bldaddr.o body.o charset.o color.o conf.o context.o copyaddr.o detoken.o detach.o editorial.o escapes.o filter.o flag.o folder.o handle.o help.o helpindx.o hist.o icache.o ical.o imap.o init.o keyword.o ldap.o list.o mailcap.o mailcmd.o mailindx.o maillist.o mailview.o margin.o mimedesc.o mimetype.o msgno.o newmail.o news.o pattern.o pipe.o readfile.o remote.o reply.o rfc2231.o rules.o save.o search.o sequence.o send.o sort.o state.o status.o store.o stream.o string.o strlst.o takeaddr.o tempfile.o text.o thread.o adjtime.o url.o util.o helptext.o smkeys.o smime.o ranlib libpith.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' Making all in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' Making all in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o altedit.o altedit.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chkpoint.o chkpoint.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c color.c: In function ‘pico_nfcolor’: color.c:1101:11: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 1101 | strncpy(the_normal_color->fg, _nfcolor, MAXCOLORLEN+1); | ^ color.c: In function ‘pico_rfcolor’: color.c:1152:11: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 1152 | strncpy(the_rev_color->fg, _rfcolor, MAXCOLORLEN+1); | ^ color.c: In function ‘color_to_asciirgb’: color.c:1681:9: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 1681 | strncpy(c_to_a_buf[whichbuf], colorName, (l < RGBLEN) ? l : RGBLEN); | ^ color.c:1680:13: note: length computed here 1680 | l = strlen(colorName); | ^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c filesys.c: In function ‘ffelbowroom’: filesys.c:1014:26: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1014 | (void) ftruncate(fileno(g_pico_fio.fp), (off_t) fsbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c: In function ‘getfnames’: filesys.c:412:31: warning: pointer ‘oldnames_88’ may be used after ‘realloc’ [-Wuse-after-free] 412 | np = names + (np-oldnames); | ~~~^~~~~~~~~~ filesys.c:404:33: note: call to ‘realloc’ here 404 | if((names=(char *)realloc((void *)names, alloced * sizeof(char))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filesys.c: In function ‘gethomedir’: filesys.c:240:9: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 240 | strncpy(home, buf, hlen); | ^ filesys.c:234:16: note: length computed here 234 | hlen = strlen(buf); | ^~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fsync.o fsync.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o getkey.o getkey.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mouse.o mouse.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o popen.o popen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o raw.o raw.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o read.o read.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o shell.o shell.c shell.c: In function ‘bktoshell’: shell.c:104:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 104 | system((shell = (char *)getenv("SHELL")) ? shell : "/bin/csh"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signals.o signals.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o spell.o spell.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o terminal.o terminal.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o truncate.o truncate.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tty.o tty.c rm -f libpicoosd.a /usr/bin/ar cru libpicoosd.a altedit.o chkpoint.o color.o filesys.o fsync.o getkey.o mouse.o newmail.o popen.o raw.o read.o shell.o signals.o spell.o terminal.o truncate.o tty.o ranlib libpicoosd.a make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o attach.o attach.c attach.c: In function ‘AskAttach’: attach.c:222:17: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 222 | strncpy(new->fname, bfn, len1); | ^ attach.c:210:59: note: length computed here 210 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^~~~~~~~~~~ attach.c:224:17: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 224 | strncpy(new->dir, fn, len2); | ^ attach.c:210:30: note: length computed here 210 | if (upload && (strlen(fn)+strlen(S_FILESEP)+strlen(bfn)) < sizeof(fn)){ | ^~~~~~~~~~ attach.c:164:53: warning: ‘%c’ directive output may be truncated writing 1 byte into a region of size between 0 and 500 [-Wformat-truncation=] 164 | snprintf(bfn, sizeof(bfn), "%s%c%.*s", | ^~ attach.c:164:50: note: assuming directive output of 1 byte 164 | snprintf(bfn, sizeof(bfn), "%s%c%.*s", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from headers.h:30, from attach.c:17: In function ‘snprintf’, inlined from ‘AskAttach’ at attach.c:164:9: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 2 and 2147484149 bytes into a destination of size 500 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ attach.c: In function ‘AskAttach’: attach.c:347:25: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 347 | strncpy(new->fname, fn, len); | ^ attach.c:339:31: note: length computed here 339 | len = strlen(fn); | ^~~~~~~~~~ attach.c: In function ‘NewAttach’: attach.c:1289:5: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1289 | strncpy(tp->filename, f, len); | ^ attach.c:1282:11: note: length computed here 1282 | len = strlen(f); | ^~~~~~~~~ attach.c:1317:5: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1317 | strncpy(tp->description, c, len); | ^ attach.c:1308:11: note: length computed here 1308 | len = strlen(c); | ^~~~~~~~~ attach.c: In function ‘SyncAttach’: attach.c:541:21: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 541 | strncpy(tp->filename, file, j); | ^ attach.c:532:27: note: length computed here 532 | if((j=strlen(file)) > strlen(tp->filename)){ | ^~~~~~~~~~~~ attach.c:557:21: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 557 | strncpy(tp->size, size, j); | ^ attach.c:548:27: note: length computed here 548 | if((j=strlen(size)) > strlen(tp->size)){ | ^~~~~~~~~~~~ attach.c:572:21: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 572 | strncpy(tp->description, comment, j); | ^ attach.c:563:27: note: length computed here 563 | if((j=strlen(comment)) > strlen(tp->description)){ | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o basic.o basic.c basic.c: In function ‘gotoeop’: basic.c:584:33: warning: unused variable ‘changeqstr’ [-Wunused-variable] 584 | int quoted, qlen, indented, changeqstr = 0; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bind.o bind.c bind.c: In function ‘wscrollw’: bind.c:277:19: warning: ‘cont’ may be used uninitialized [-Wmaybe-uninitialized] 277 | if(cont){ | ^ bind.c:201:25: note: ‘cont’ was declared here 201 | register int cont; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o browse.o browse.c browse.c: In function ‘FileBrowse’: browse.c:1752:24: warning: the address of ‘pat’ will always evaluate as ‘true’ [-Waddress] 1752 | if(pat && pat[0]) | ^~~ browse.c: In function ‘PaintCell’: browse.c:2143:35: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 2143 | s_wid = utf8_width(cell->size ? cell->size : ""); | ^ browse.c:60:10: note: ‘size’ declared here 60 | char size[16]; /* file's size in s */ | ^~~~ browse.c:2198:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 2198 | s_wid, s_wid, cell->size ? cell->size : ""); | ^ browse.c:60:10: note: ‘size’ declared here 60 | char size[16]; /* file's size in s */ | ^~~~ browse.c: In function ‘p_chdir’: browse.c:2819:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘dname’ will never be NULL [-Waddress] 2819 | if(mp && mp->dname) | ^~ browse.c:79:12: note: ‘dname’ declared here 79 | char dname[NLINE]; /* this dir's name (UTF-8) */ | ^~~~~ browse.c:2820:7: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2820 | chdir(mp->dname); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from ../include/system.h:45, from headers.h:30, from browse.c:40: In function ‘strncpy’, inlined from ‘FileBrowse’ at browse.c:1634:9: /usr/include/bits/string_fortified.h:95:10: warning: ‘flen’ may be used uninitialized [-Wmaybe-uninitialized] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c: In function ‘FileBrowse’: browse.c:1625:30: note: ‘flen’ was declared here 1625 | size_t flen, dlen; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o buffer.o buffer.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o composer.o composer.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o display.o display.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o file.o file.c file.c: In function ‘insfile.part.0’: file.c:162:61: warning: ‘%s’ directive output may be truncated writing up to 500 bytes into a region of size 44 [-Wformat-truncation=] 162 | snprintf(prompt, sizeof(prompt), "%s to insert from %s %s: ", | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from headers.h:30, from file.c:25: In function ‘snprintf’, inlined from ‘insfile.part.0’ at file.c:162:2: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 33 and 533 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ file.c: In function ‘insfile.part.0’: file.c:272:31: warning: ‘__strncat_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 272 | strncat(infile, fname, len+1-1-strlen(infile)); | ^ file.c:266:65: note: length computed here 266 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^~~~~~~~~~~~~ file.c: In function ‘filewrite’: file.c:680:29: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 680 | strncpy(fname, bufp+1, MIN(strlen(bufp+1)+1, sizeof(fname))); | ^ In file included from headers.h:31: file.c:680:56: note: length computed here 680 | strncpy(fname, bufp+1, MIN(strlen(bufp+1)+1, sizeof(fname))); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fileio.o fileio.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o line.o line.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pico.o pico.c pico.c: In function ‘register_key’: pico.c:1529:9: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1529 | strncpy(menuitems[i].label, label, len); | ^ In function ‘register_key’, inlined from ‘register_key’ at pico.c:1494:1: pico.c:1527:13: note: length computed here 1527 | len = strlen(label); | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o random.o random.c random.c: In function ‘showcpos’: random.c:71:42: warning: ‘nbc’ may be used uninitialized [-Wmaybe-uninitialized] 71 | nbc, nch, (nch) ? (int)((100L*nbc)/nch) : 0); | ~~~~~^~~~~ random.c:44:21: note: ‘nbc’ was declared here 44 | register long nbc; | ^~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o region.o region.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c search.c: In function ‘forwsearch’: search.c:437:42: warning: the address of ‘defpat’ will always evaluate as ‘true’ [-Waddress] 437 | utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, flags & SR_BACKWRD); | ^ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o window.o window.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o word.o word.c word.c: In function ‘fillpara’: word.c:665:19: warning: unused variable ‘qstr2’ [-Wunused-variable] 665 | UCS *qstr, qstr2[NSTRING], c; | ^~~~~ word.c: In function ‘fpnewline’: word.c:1198:13: warning: unused variable ‘ww’ [-Wunused-variable] 1198 | int ww; | ^~ word.c: In function ‘qs_quote_match’: word.c:515:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 515 | strncpy(word, utf_word, (NSTRING < buflen ? NSTRING : buflen)); | ^ word.c:515:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] word.c:515:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] word.c:515:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] word.c: In function ‘indent_match’: word.c:515:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] rm -f libpico.a /usr/bin/ar cru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico.o random.o region.o search.o window.o word.o ranlib libpico.a gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o main.o main.c main.c: In function ‘main’: main.c:284:8: warning: the address of ‘opertree’ will always evaluate as ‘true’ [-Waddress] 284 | if(opertree && opertree[0]){ | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8stub.o utf8stub.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o pico main.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 file.c: In function 'insfile.part.0': file.c:272:31: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 272 | strncat(infile, fname, len+1-1-strlen(infile)); | ^ file.c:266:65: note: length computed here 266 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pilot.o pilot.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o pilot pilot.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o pilot pilot.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' Making all in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' echo "char datestamp[]="\"Wed Jul 17 00:00:00 UTC 2024\"";" > date.c echo "char hoststamp[]="\"\"";" >> date.c echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c cat ../patchlevel >> date.c /usr/bin/make all-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chnge_pw.o chnge_pw.c chnge_pw.c: In function ‘change_passwd’: chnge_pw.c:55:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 55 | system(cmd_buf); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o debuging.o debuging.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o diskquot.non.o diskquot.non.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o execview.o execview.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fltrname.o fltrname.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o jobcntrl.o jobcntrl.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c In file included from print.c:32: print.c: In function ‘open_printer’: print.c:333:24: warning: the address of ‘command’ will always evaluate as ‘true’ [-Waddress] 333 | command ? command : "?")); | ^ ../../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termin.gen.o termin.gen.c In file included from ../mailcmd.h:26, from termin.gen.c:59: ../../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ In file included from termin.gen.c:33: ../../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termin.unx.o termin.unx.c In file included from ../mailcmd.h:26, from termin.unx.c:56: ../../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termout.gen.o termout.gen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o termout.unx.o termout.unx.c In file included from termout.unx.c:26: termout.unx.c: In function ‘config_screen’: termout.unx.c:172:49: warning: the address of ‘term_name’ will always evaluate as ‘true’ [-Waddress] 172 | dprint((1, "Terminal type: %s\n", term_name ? term_name : "?")); | ^ ../../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ rm -f libpineosd.a /usr/bin/ar cru libpineosd.a chnge_pw.o debuging.o diskquot.non.o execview.o fltrname.o jobcntrl.o print.o termin.gen.o termin.unx.o termout.gen.o termout.unx.o ranlib libpineosd.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c In file included from mailcmd.h:26, from addrbook.c:25: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ addrbook.c: In function ‘get_abook_display_line’: addrbook.c:787:19: warning: ‘strncpy’ specified bound 2999 equals destination size [-Wstringop-truncation] 787 | strncpy(special, string, sizeof(special)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbkcmd.o adrbkcmd.c In file included from ../pith/headers.h:65, from headers.h:25, from adrbkcmd.c:21: adrbkcmd.c: In function ‘ab_export’: adrbkcmd.c:4272:26: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 4272 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ In file included from mailcmd.h:26, from adrbkcmd.c:28: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ adrbkcmd.c: In function ‘ab_save’: adrbkcmd.c:5324:29: warning: ‘strncpy’ output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 5324 | strncpy(warn[how_many_dups], warning, MAX_NICKNAME); | ^ adrbkcmd.c: In function ‘ab_print’: adrbkcmd.c:6102:50: warning: ‘anum’ may be used uninitialized [-Wmaybe-uninitialized] 6102 | dl->type != End && (!curopen || | ~~~~~~~~~~^~ 6103 | (anum==adrbk_num_from_lineno(lineno) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6104 | (as.n_serv == 0 || | ~~~~~~~~~~~~~~~~~~ 6105 | ((dlc=get_dlc(lineno)) && | ~~~~~~~~~~~~~~~~~~~~~~~~~ 6106 | dlc->type != DlcDirDelim1)))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adrbkcmd.c:6078:21: note: ‘anum’ was declared here 6078 | int anum; | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o after.o after.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o alpine.o alpine.c In file included from mailcmd.h:26, from alpine.c:31: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o arg.o arg.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o busy.o busy.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o colorconf.o colorconf.c In file included from context.h:23, from conftype.h:24, from colorconf.h:21, from colorconf.c:17: colorconf.c: In function ‘color_text_tool’: ../pith/conf.h:866:25: warning: the address of ‘v’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ colorconf.c:1109:13: note: in expansion of macro ‘APVAL’ 1109 | apval = APVAL(&v, ew); | ^~~~~ colorconf.c: In function ‘color_update_selected’: colorconf.c:2578:30: warning: variable ‘bg_is_custom’ set but not used [-Wunused-but-set-variable] 2578 | int i, fg_is_custom = 1, bg_is_custom = 1; | ^~~~~~~~~~~~ colorconf.c:2578:12: warning: variable ‘fg_is_custom’ set but not used [-Wunused-but-set-variable] 2578 | int i, fg_is_custom = 1, bg_is_custom = 1; | ^~~~~~~~~~~~ colorconf.c: In function ‘color_edit_screen’: ../pith/conf.h:866:25: warning: the address of ‘v’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ colorconf.c:2835:17: note: in expansion of macro ‘APVAL’ 2835 | apval = APVAL(&v, ew); | ^~~~~ colorconf.c:2854:23: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 2854 | def = !(color && color->fg && color->fg[0] | ^~ In file included from ../pith/headers.h:43, from headers.h:25, from colorconf.c:16: ../pith/osdep/color.h:43:14: note: ‘fg’ declared here 43 | char fg[MAXCOLORLEN+1]; | ^~ colorconf.c:2855:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 2855 | && color->bg && color->bg[0]); | ^~ ../pith/osdep/color.h:44:14: note: ‘bg’ declared here 44 | char bg[MAXCOLORLEN+1]; | ^~ In file included from colorconf.c:27: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o confscroll.o confscroll.c confscroll.c: In function ‘conf_scroll_screen’: confscroll.c:470:30: warning: unused variable ‘k’ [-Wunused-variable] 470 | int cmd, i, j, k = 1, done = 0, changes = 0; | ^ In file included from confscroll.c:51: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from confscroll.c:27: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o context.o context.c In file included from mailcmd.h:26, from context.c:23: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o dispfilt.o dispfilt.c dispfilt.c: In function ‘expand_filter_tokens’: dispfilt.c:202:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 202 | strncpy(bp, filter, strlen(filter)+1); | ^ dispfilt.c:202:25: note: length computed here 202 | strncpy(bp, filter, strlen(filter)+1); | ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flagmaint.o flagmaint.c In file included from flagmaint.c:21: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c folder.c: In function ‘exit_collection_add’: folder.c:1214:41: warning: the comparison will always evaluate as ‘true’ for the address of ‘last_error’ will never be NULL [-Waddress] 1214 | else if(ps_global->mm_log_error && ps_global->last_error) | ^~ In file included from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from folder.c:28: osdep/../../pith/../pith/state.h:394:18: note: ‘last_error’ declared here 394 | char last_error[500]; | ^~~~~~~~~~ folder.c: In function ‘fl_val_gen’: folder.c:1383:14: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 1383 | return(f && FLDR_NAME(f)); | ^~ In file included from osdep/../../pith/../pith/../pith/context.h:21, from osdep/../../pith/../pith/state.h:25: osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘folder_list_handle’: folder.c:2255:30: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 2255 | || (fp->name && !strcmp(name ? name : fs->first_folder, fp->name))))){ | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c: In function ‘folder_import’: folder.c:3899:12: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 3899 | if(full_filename && full_filename[0]) | ^~~~~~~~~~~~~ folder.c: In function ‘add_new_folder’: folder.c:4112:20: warning: the address of ‘mdmbox’ will always evaluate as ‘true’ [-Waddress] 4112 | if(mdmbox | ^~~~~~ folder.c:4904:20: warning: the address of ‘nickname’ will always evaluate as ‘true’ [-Waddress] 4904 | if(nickname && nickname[0]){ | ^~~~~~~~ folder.c: In function ‘delete_folder’: folder.c:5626:40: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 5626 | if(!((context->use & CNTXT_INCMNG) && fp->name | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ folder.c:5671:14: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 5671 | else if((fp->name | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ In file included from mailcmd.h:26, from folder.c:36: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ folder.c: In function ‘add_new_folder’: folder.c:4492:13: warning: ‘strncpy’ specified bound 266 equals destination size [-Wstringop-truncation] 4492 | strncpy(orig_folder, &add_folder[offset], 2*MAXFOLDER+10); | ^ folder.c:4616:17: warning: ‘strncpy’ specified bound 266 equals destination size [-Wstringop-truncation] 4616 | strncpy(orig_folder, &add_folder[offset], 2*MAXFOLDER+10); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o help.c help.c: In function ‘review_messages’: help.c:813:35: warning: the comparison will always evaluate as ‘true’ for the address of ‘timestamp’ will never be NULL [-Waddress] 813 | if(timestamps && p->timestamp && p->timestamp[0]){ | ^~ In file included from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from help.c:15: osdep/../../pith/help.h:37:22: note: ‘timestamp’ declared here 37 | char timestamp[RMTIMLEN+1]; | ^~~~~~~~~ help.c:818:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘message’ will never be NULL [-Waddress] 818 | if(p->message && p->message[0]){ | ^ osdep/../../pith/help.h:36:22: note: ‘message’ declared here 36 | char message[RMMSGLEN+1]; | ^~~~~~~ In file included from mailcmd.h:26, from help.c:21: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c imap.c: In function ‘oauth2_select_flow’: imap.c:265:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 265 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from imap.c:24: ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:266:21: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 266 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]){ | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:301:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 301 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:302:21: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 302 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]) | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:316:29: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 316 | for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:317:21: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 317 | if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]){ | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c: In function ‘oauth2_get_access_code’: imap.c:557:79: warning: pointer targets in passing argument 1 of ‘strstr’ differ in signedness [-Wpointer-sign] 557 | if(strucmp((char *) oauth2->name, (char *) GMAIL_NAME) == 0 && strstr(url, (char *) GMAIL_ID) != NULL){ | ^~~ | | | unsigned char * In file included from ../include/system.h:45, from ../pith/headers.h:25: /usr/include/string.h:350:34: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 350 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ imap.c: In function ‘mm_login_oauth2’: imap.c:827:8: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 827 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:712:8: note: ‘orighost’ declared here 712 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:861:36: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 861 | oa2list && oa2list->host != NULL && oa2list->host[0] != NULL; | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:878:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 878 | oa2list && oa2list->host != NULL && oa2list->host[0] != NULL; | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:891:27: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 891 | if(!oa2list || !oa2list->host || !oa2list->host[0]){ | ^ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c:910:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 910 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)) | ^~ ../pith/../c-client/mail.h:712:8: note: ‘orighost’ declared here 712 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1032:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘host’ will never be NULL [-Waddress] 1032 | if(oa2 && oa2->host && j < OAUTH2_TOT_EQUIV && oa2->host[j] | ^~ ../pith/../c-client/mail.h:2006:10: note: ‘host’ declared here 2006 | char *host[OAUTH2_TOT_EQUIV]; /* servers for which this data applies */ | ^~~~ imap.c: In function ‘pine_delete_pwd’: imap.c:1181:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘service’ will never be NULL [-Waddress] 1181 | if(mb->port && mb->service && | ^~ ../pith/../c-client/mail.h:717:8: note: ‘service’ declared here 717 | char service[NETMAXSRV]; /* service name */ | ^~~~~~~ In file included from ../pith/headers.h:65: imap.c:1187:33: warning: the address of ‘non_def_port’ will always evaluate as ‘true’ [-Waddress] 1187 | non_def_port ? non_def_port : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:1196:10: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1196 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:712:8: note: ‘orighost’ declared here 712 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1210:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1210 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:712:8: note: ‘orighost’ declared here 712 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1171:17: warning: unused variable ‘l’ [-Wunused-variable] 1171 | MMLOGIN_S *l; | ^ imap.c:1169:17: warning: unused variable ‘port’ [-Wunused-variable] 1169 | char port[20], non_def_port[20]; | ^~~~ imap.c: In function ‘mm_login_work’: imap.c:1502:17: warning: the comparison will always evaluate as ‘true’ for the address of ‘service’ will never be NULL [-Waddress] 1502 | if(mb->port && mb->service && | ^~ ../pith/../c-client/mail.h:717:8: note: ‘service’ declared here 717 | char service[NETMAXSRV]; /* service name */ | ^~~~~~~ imap.c:1519:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1519 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:712:8: note: ‘orighost’ declared here 712 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c:1533:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘orighost’ will never be NULL [-Waddress] 1533 | if(mb->orighost && mb->orighost[0] && strucmp(mb->host, mb->orighost)){ | ^~ ../pith/../c-client/mail.h:712:8: note: ‘orighost’ declared here 712 | char orighost[NETMAXHOST]; /* host name before canonicalization */ | ^~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3751:48: warning: the address of ‘tmp’ will always evaluate as ‘true’ [-Waddress] 3751 | dprint((10, "read_passfile: %s\n", tmp ? tmp : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ imap.c:3601:17: warning: unused variable ‘sbuf’ [-Wunused-variable] 3601 | struct stat sbuf; | ^~~~ imap.c: In function ‘mm_diskerror’: imap.c:2314:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2314 | system("csh"); | ^~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3661:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3661 | fgets(tmp2, sizeof(tmp2), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26, from imap.c:29: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3739:12: warning: pointer ‘fp_135’ may be used after ‘fclose’ [-Wuse-after-free] 3739 | : (fgets(tmptext, len+1, fp) != NULL); n++){ | ^~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ imap.c: In function ‘pine_sslfailure’: imap.c:2773:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2773 | strncpy(buf, _("There was an SSL/TLS failure for the server"), sizeof(buf)); | ^ imap.c:2796:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2796 | strncpy(buf, _("The reason for the failure was"), sizeof(buf)); | ^ imap.c:2819:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2819 | strncpy(buf, _("This is just an informational message. With the current setup, SSL/TLS will not work. If this error re-occurs every time you run Alpine, your current setup is not compatible with the configuration of your mail server. You may want to add the option"), sizeof(buf)); | ^ imap.c:2842:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2842 | strncpy(buf, _("to the name of the mail server you are attempting to access. In other words, wherever you see the characters"), | ^ imap.c:2866:5: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2866 | strncpy(buf, _("in your configuration, replace those characters with"), | ^ imap.c:2893:9: warning: ‘strncpy’ specified bound 500 equals destination size [-Wstringop-truncation] 2893 | strncpy(buf, _("Type RETURN to continue."), sizeof(buf)); | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31: In function ‘sprintf’, inlined from ‘oauth2_get_access_code’ at imap.c:710:4: /usr/include/bits/stdio2.h:30:10: warning: ‘accesscodelabel’ may be used uninitialized [-Wmaybe-uninitialized] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ imap.c: In function ‘oauth2_get_access_code’: imap.c:653:15: note: ‘accesscodelabel’ was declared here 653 | char *accesscodelabel = _("Copy and Paste Access Code"); | ^~~~~~~~~~~~~~~ In function ‘fgets’, inlined from ‘read_passfile’ at imap.c:3739:5: /usr/include/bits/stdio2.h:202:12: warning: pointer ‘fp_161’ may be used after ‘fclose’ [-Wuse-after-free] 202 | return __fgets_chk_warn (__s, __sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ In function ‘fgets’, inlined from ‘read_passfile’ at imap.c:3739:5: /usr/include/bits/stdio2.h:203:10: warning: pointer ‘fp_161’ may be used after ‘fclose’ [-Wuse-after-free] 203 | return __fgets_chk (__s, __sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ In function ‘fgets’, inlined from ‘read_passfile’ at imap.c:3739:5: /usr/include/bits/stdio2.h:200:12: warning: pointer ‘fp_161’ may be used after ‘fclose’ [-Wuse-after-free] 200 | return __fgets_alias (__s, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function ‘read_passfile’: imap.c:3662:5: note: call to ‘fclose’ here 3662 | fclose(fp); | ^~~~~~~~~~ imap.c: In function ‘write_passfile’: imap.c:4011:9: warning: ‘strncat’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 4011 | strncat(text, tmp, strlen(tmp)); | ^ imap.c:4010:16: note: length computed here 4010 | len += strlen(tmp) + 1; | ^~~~~~~~~~~ imap.c: In function ‘mm_login_work’: imap.c:1723:11: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation] 1723 | strncpy(insecure, insec, sizeof(insecure)); | ^ imap.c:1964:7: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation] 1964 | strncpy(insecure, insec, sizeof(insecure)); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o init.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o kblock.o kblock.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keymenu.o keymenu.c keymenu.c: In function ‘output_keymenu’: keymenu.c:3188:26: warning: the address of ‘this_label’ will always evaluate as ‘true’ [-Waddress] 3188 | && this_label && !strcmp(this_label,last_time->label) | ^~ keymenu.c: In function ‘print_inverted_label’: keymenu.c:4179:8: warning: the address of ‘prename’ will always evaluate as ‘true’ [-Waddress] 4179 | if(prename) | ^~~~~~~ keymenu.c:4182:8: warning: the address of ‘namepart’ will always evaluate as ‘true’ [-Waddress] 4182 | if(namepart){ | ^~~~~~~~ keymenu.c:4189:8: warning: the address of ‘labelpart’ will always evaluate as ‘true’ [-Waddress] 4189 | if(labelpart){ | ^~~~~~~~~ In file included from mailcmd.h:26, from keymenu.c:17: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ keymenu.c: In function ‘output_keymenu’: keymenu.c:3226:21: warning: ‘strncpy’ output may be truncated copying 18 bytes from a string of length 3000 [-Wstringop-truncation] 3226 | strncpy(last_time->name, temp, 6*MAX_KEYNAME); | ^ keymenu.c:3289:21: warning: ‘strncpy’ output may be truncated copying 240 bytes from a string of length 240 [-Wstringop-truncation] 3289 | strncpy(last_time->label, this_label, 6*MAX_LABEL); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldapconf.o ldapconf.c In file included from context.h:23, from conftype.h:24, from ldapconf.h:21, from ldapconf.c:16: ldapconf.c: In function ‘dir_edit_screen’: ../pith/conf.h:866:25: warning: the address of ‘server_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1211:13: note: in expansion of macro ‘APVAL’ 1211 | apval = APVAL(&server_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘base_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1218:13: note: in expansion of macro ‘APVAL’ 1218 | apval = APVAL(&base_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘port_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1226:17: note: in expansion of macro ‘APVAL’ 1226 | apval = APVAL(&port_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘binddn_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1236:13: note: in expansion of macro ‘APVAL’ 1236 | apval = APVAL(&binddn_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘nick_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1243:13: note: in expansion of macro ‘APVAL’ 1243 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘srch_type_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1250:13: note: in expansion of macro ‘APVAL’ 1250 | apval = APVAL(&srch_type_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘srch_rule_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1261:13: note: in expansion of macro ‘APVAL’ 1261 | apval = APVAL(&srch_rule_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘time_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1272:17: note: in expansion of macro ‘APVAL’ 1272 | apval = APVAL(&time_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘size_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1283:17: note: in expansion of macro ‘APVAL’ 1283 | apval = APVAL(&size_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘mailattr_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1293:13: note: in expansion of macro ‘APVAL’ 1293 | apval = APVAL(&mailattr_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘cnattr_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1302:13: note: in expansion of macro ‘APVAL’ 1302 | apval = APVAL(&cnattr_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘snattr_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1311:13: note: in expansion of macro ‘APVAL’ 1311 | apval = APVAL(&snattr_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘gnattr_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1320:13: note: in expansion of macro ‘APVAL’ 1320 | apval = APVAL(&gnattr_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘cust_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ ldapconf.c:1329:13: note: in expansion of macro ‘APVAL’ 1329 | apval = APVAL(&cust_var, ew); | ^~~~~ In file included from ldapconf.c:27: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o listsel.o listsel.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c In file included from ../pith/headers.h:65, from headers.h:25, from mailcmd.c:27: mailcmd.c: In function ‘cmd_export’: mailcmd.c:3811:26: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 3811 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function ‘simple_export’: mailcmd.c:4132:26: warning: the address of ‘full_filename’ will always evaluate as ‘true’ [-Waddress] 4132 | full_filename ? full_filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function ‘broach_folder’: mailcmd.c:6067:22: warning: the address of ‘newfolder’ will always evaluate as ‘true’ [-Waddress] 6067 | newfolder ? newfolder : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c:6075:20: warning: the address of ‘expanded’ will always evaluate as ‘true’ [-Waddress] 6075 | expanded ? expanded : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailcmd.c: In function ‘cmd_delete_this_thread’: mailcmd.c:10131:33: warning: unused variable ‘nxthrd’ [-Wunused-variable] 10131 | PINETHRD_S *thrd = NULL, *nxthrd; | ^~~~~~ mailcmd.c: In function ‘cmd_delete_thread’: mailcmd.c:10159:33: warning: unused variable ‘nxthrd’ [-Wunused-variable] 10159 | PINETHRD_S *thrd = NULL, *nxthrd; | ^~~~~~ mailcmd.c:10158:49: warning: unused variable ‘save_kolapsed’ [-Wunused-variable] 10158 | unsigned long rawno, top, orig_top, topnxt, save_kolapsed; | ^~~~~~~~~~~~~ mailcmd.c:10158:41: warning: unused variable ‘topnxt’ [-Wunused-variable] 10158 | unsigned long rawno, top, orig_top, topnxt, save_kolapsed; | ^~~~~~ mailcmd.c: In function ‘collapse_this_thread’: mailcmd.c:10199:32: warning: unused variable ‘msgno’ [-Wunused-variable] 10199 | unsigned long rawno, orig, msgno; | ^~~~~ mailcmd.c:10199:26: warning: unused variable ‘orig’ [-Wunused-variable] 10199 | unsigned long rawno, orig, msgno; | ^~~~ mailcmd.c:10198:33: warning: unused variable ‘nthrd’ [-Wunused-variable] 10198 | PINETHRD_S *thrd = NULL, *nthrd; | ^~~~~ mailcmd.c:10197:28: warning: unused variable ‘done’ [-Wunused-variable] 10197 | int collapsed, rv = 1, done = 0; | ^~~~ mailcmd.c: In function ‘collapse_thread’: mailcmd.c:10258:20: warning: unused variable ‘rv’ [-Wunused-variable] 10258 | int collapsed, rv = 1, done = 0; | ^~ mailcmd.c:10258:9: warning: unused variable ‘collapsed’ [-Wunused-variable] 10258 | int collapsed, rv = 1, done = 0; | ^~~~~~~~~ mailcmd.c: In function ‘expand_this_thread’: mailcmd.c:10297:32: warning: unused variable ‘msgno’ [-Wunused-variable] 10297 | unsigned long rawno, orig, msgno; | ^~~~~ mailcmd.c:10296:33: warning: unused variable ‘nthrd’ [-Wunused-variable] 10296 | PINETHRD_S *thrd = NULL, *nthrd; | ^~~~~ mailcmd.c:10295:28: warning: unused variable ‘done’ [-Wunused-variable] 10295 | int collapsed, rv = 1, done = 0; | ^~~~ mailcmd.c: In function ‘expand_thread’: mailcmd.c:10358:19: warning: variable ‘orig’ set but not used [-Wunused-but-set-variable] 10358 | unsigned long orig, orig_top, top; | ^~~~ mailcmd.c:10356:20: warning: unused variable ‘rv’ [-Wunused-variable] 10356 | int collapsed, rv = 1, done = 0; | ^~ mailcmd.c:10356:9: warning: unused variable ‘collapsed’ [-Wunused-variable] 10356 | int collapsed, rv = 1, done = 0; | ^~~~~~~~~ In file included from mailcmd.c:72: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from mailcmd.c:28: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailcmd.c: In function ‘jump_to’: mailcmd.c:5293:19: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 5293 | strncpy(jump_num_string, long2string(closest), | ^ mailcmd.c: In function ‘select_sort’: mailcmd.c:9683:7: warning: ‘strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 9683 | strncpy(prompt, _("Choose type of sort, or 'R' to reverse current sort : "), | ^ mailcmd.c:9681:7: warning: ‘strncpy’ specified bound 200 equals destination size [-Wstringop-truncation] 9681 | strncpy(prompt, _("Choose type of sort : "), sizeof(prompt)); | ^ mailcmd.c: In function ‘broach_folder’: mailcmd.c:5837:9: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 5837 | strncpy(newfolder, (char *)f2, sizeof(newfolder)); | ^ In file included from /usr/include/string.h:548, from ../include/system.h:45, from ../pith/headers.h:25: In function ‘strncpy’, inlined from ‘get_export_filename’ at mailcmd.c:4762:7: /usr/include/bits/string_fortified.h:95:10: warning: ‘fn’ may be used uninitialized [-Wmaybe-uninitialized] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function ‘get_export_filename’: mailcmd.c:4260:54: note: ‘fn’ was declared here 4260 | char filename2[MAXPATH+1], tmp[MAXPATH+1], *fn, *ill; | ^~ mailcmd.c: In function ‘cmd_export’: mailcmd.c:4014:78: warning: ‘%.*s’ directive output may be truncated writing up to 1 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 4014 | snprintf(filename, sizeof(filename), "%.*s%.*s%.*s%.*s%.*d%.*s%.*s", | ^~~~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31: In function ‘snprintf’, inlined from ‘cmd_export’ at mailcmd.c:4014:6: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 3 and 12283 bytes into a destination of size 4097 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mailcmd.c: In function ‘cmd_expunge’: mailcmd.c:3318:74: warning: ‘%.*s’ directive output may be truncated writing up to 461 bytes into a region of size between 459 and 478 [-Wformat-truncation=] 3318 | snprintf(prompt, sizeof(prompt), "Exclude %ld message%s from %.*s", del_count, | ^~~~ In function ‘snprintf’, inlined from ‘cmd_expunge’ at mailcmd.c:3318:6: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 24 and 504 bytes into a destination of size 501 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c mailindx.c: In function ‘index_lister’: mailindx.c:1093:27: warning: variable ‘thrd’ set but not used [-Wunused-but-set-variable] 1093 | PINETHRD_S *thrd = NULL; | ^~~~ mailindx.c: In function ‘top_ent_calc’: mailindx.c:2798:39: warning: unused variable ‘branch’ [-Wunused-variable] 2798 | unsigned long branch; | ^~~~~~ In file included from mailcmd.h:26, from mailindx.c:17: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailpart.o mailpart.c mailpart.c: In function ‘attachment_screen’: mailpart.c:244:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘c_client_error’ will never be NULL [-Waddress] 244 | ps->c_client_error ? ps->c_client_error : "?"); | ^ In file included from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from mailpart.c:21: osdep/../../pith/../pith/state.h:294:18: note: ‘c_client_error’ declared here 294 | char c_client_error[300]; /* when nowhow_error is set and PARSE */ | ^~~~~~~~~~~~~~ mailpart.c:344:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘size’ will never be NULL [-Waddress] 344 | a->size ? a->size : "", | ^ In file included from osdep/../../pith/../pith/state.h:27: osdep/../../pith/../pith/../pith/atttype.h:31:17: note: ‘size’ declared here 31 | char size[25]; | ^~~~ In file included from ../pith/headers.h:65, from headers.h:25: mailpart.c: In function ‘write_attachment’: mailpart.c:1326:21: warning: the address of ‘filename’ will always evaluate as ‘true’ [-Waddress] 1326 | filename ? filename : "?")); | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ mailpart.c:1313:39: warning: variable ‘we_cancel’ set but not used [-Wunused-but-set-variable] 1313 | int r, rflags = GER_NONE, we_cancel = 0, flags; | ^~~~~~~~~ mailpart.c: In function ‘display_attachment’: mailpart.c:2305:8: warning: the address of ‘sender_filename’ will always evaluate as ‘true’ [-Waddress] 2305 | if(sender_filename){ | ^~~~~~~~~~~~~~~ mailpart.c: In function ‘write_attached_msg’: mailpart.c:1567:11: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1567 | ftruncate(fileno((FILE *)store->txt), (off_t) start_of_append); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26, from mailpart.c:32: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailpart.c: In function ‘update_att_screen_titlebar’: mailpart.c:1150:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 1150 | strncpy(titlecolor->fg, titlecolor->bg, MAXCOLORLEN); | ^ mailpart.c: In function ‘attachment_screen’: mailpart.c:232:24: warning: storing the address of local variable ‘screen’ in ‘att_screen’ [-Wdangling-pointer=] 232 | att_screen = &screen; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ mailpart.c:185:19: note: ‘screen’ declared here 185 | ATT_SCREEN_S screen; | ^~~~~~ mailpart.c:90:22: note: ‘att_screen’ declared here 90 | static ATT_SCREEN_S *att_screen; | ^~~~~~~~~~ mailpart.c:739:57: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 50 and 51 [-Wformat-truncation=] 739 | snprintf(tmp, sizeof(tmp), "Word to find %s%s%s: ", | ^~ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘snprintf’, inlined from ‘attachment_screen’ at mailpart.c:739:7: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 16 and 81 bytes into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c In file included from mailcmd.h:26, from mailview.c:25: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ mailview.c: In function ‘img_handler’: mailview.c:1855:9: warning: ‘cmd’ may be used uninitialized [-Wmaybe-uninitialized] 1855 | char *cmd, *subtype; | ^~~ mailview.c: In function ‘update_scroll_titlebar’: mailview.c:4117:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 4117 | strncpy(cbuf, titlecolor->fg, MAXCOLORLEN); | ^ mailview.c:4118:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 4118 | strncpy(titlecolor->fg, titlecolor->bg, MAXCOLORLEN); | ^ mailview.c:4119:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 4119 | strncpy(titlecolor->bg, cbuf, MAXCOLORLEN); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newuser.o newuser.c newuser.c: In function ‘new_user_or_version’: newuser.c:54:35: warning: the comparison will always evaluate as ‘true’ for the address of ‘pine_pre_vers’ will never be NULL [-Waddress] 54 | || (ps->pine_pre_vers | ^~ In file included from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from newuser.c:16: osdep/../../pith/../pith/state.h:109:18: note: ‘pine_pre_vers’ declared here 109 | char pine_pre_vers[10]; /* highest version previously run */ | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c In file included from print.c:22: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o radio.o radio.c In file included from mailcmd.h:26, from radio.c:20: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c remote.c: In function ‘rd_metadata_name’: remote.c:311:33: warning: the address of ‘pinerc_dir’ will always evaluate as ‘true’ [-Waddress] 311 | build_path(path, pinerc_dir ? pinerc_dir : NULL, | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c In file included from reply.c:62: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from reply.c:42: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o roleconf.o roleconf.c In file included from context.h:23, from conftype.h:24, from roleconf.h:21, from roleconf.c:16: roleconf.c: In function ‘role_config_edit_screen’: ../pith/conf.h:866:25: warning: the address of ‘nick_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2932:13: note: in expansion of macro ‘APVAL’ 2932 | apval = APVAL(&nick_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘comment_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2951:13: note: in expansion of macro ‘APVAL’ 2951 | apval = APVAL(&comment_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘age_pat_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:2997:17: note: in expansion of macro ‘APVAL’ 2997 | apval = APVAL(&age_pat_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘size_pat_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3008:17: note: in expansion of macro ‘APVAL’ 3008 | apval = APVAL(&size_pat_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘scorei_pat_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3021:17: note: in expansion of macro ‘APVAL’ 3021 | apval = APVAL(&scorei_pat_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_del_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3031:13: note: in expansion of macro ‘APVAL’ 3031 | apval = APVAL(&stat_del_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_new_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3039:13: note: in expansion of macro ‘APVAL’ 3039 | apval = APVAL(&stat_new_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_imp_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3047:13: note: in expansion of macro ‘APVAL’ 3047 | apval = APVAL(&stat_imp_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_ans_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3055:13: note: in expansion of macro ‘APVAL’ 3055 | apval = APVAL(&stat_ans_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_8bit_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3063:13: note: in expansion of macro ‘APVAL’ 3063 | apval = APVAL(&stat_8bit_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_rec_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3071:13: note: in expansion of macro ‘APVAL’ 3071 | apval = APVAL(&stat_rec_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_bom_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3079:13: note: in expansion of macro ‘APVAL’ 3079 | apval = APVAL(&stat_bom_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘stat_boy_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3087:13: note: in expansion of macro ‘APVAL’ 3087 | apval = APVAL(&stat_boy_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘filt_del_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3099:13: note: in expansion of macro ‘APVAL’ 3099 | apval = APVAL(&filt_del_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘filt_new_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3107:13: note: in expansion of macro ‘APVAL’ 3107 | apval = APVAL(&filt_new_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘filt_imp_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3115:13: note: in expansion of macro ‘APVAL’ 3115 | apval = APVAL(&filt_imp_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘filt_ans_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3123:13: note: in expansion of macro ‘APVAL’ 3123 | apval = APVAL(&filt_ans_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘inick_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3130:13: note: in expansion of macro ‘APVAL’ 3130 | apval = APVAL(&inick_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘fldr_type_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3139:13: note: in expansion of macro ‘APVAL’ 3139 | apval = APVAL(&fldr_type_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘folder_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3146:13: note: in expansion of macro ‘ALVAL’ 3146 | alval = ALVAL(&folder_pat_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘abook_type_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3161:13: note: in expansion of macro ‘APVAL’ 3161 | apval = APVAL(&abook_type_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘cat_cmd_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3178:13: note: in expansion of macro ‘ALVAL’ 3178 | alval = ALVAL(&cat_cmd_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘cati_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3190:17: note: in expansion of macro ‘APVAL’ 3190 | apval = APVAL(&cati_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘cat_lim_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3201:13: note: in expansion of macro ‘APVAL’ 3201 | apval = APVAL(&cat_lim_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘from_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3220:17: note: in expansion of macro ‘APVAL’ 3220 | apval = APVAL(&from_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘replyto_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3237:17: note: in expansion of macro ‘APVAL’ 3237 | apval = APVAL(&replyto_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘fcc_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3248:13: note: in expansion of macro ‘APVAL’ 3248 | apval = APVAL(&fcc_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘sort_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3255:13: note: in expansion of macro ‘APVAL’ 3255 | apval = APVAL(&sort_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘iform_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3269:13: note: in expansion of macro ‘APVAL’ 3269 | apval = APVAL(&iform_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘startup_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3282:13: note: in expansion of macro ‘APVAL’ 3282 | apval = APVAL(&startup_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘litsig_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3299:13: note: in expansion of macro ‘APVAL’ 3299 | apval = APVAL(&litsig_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘sig_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3306:13: note: in expansion of macro ‘APVAL’ 3306 | apval = APVAL(&sig_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘templ_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3315:13: note: in expansion of macro ‘APVAL’ 3315 | apval = APVAL(&templ_act_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘cstm_act_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3324:13: note: in expansion of macro ‘ALVAL’ 3324 | alval = ALVAL(&cstm_act_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘smtp_act_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3332:13: note: in expansion of macro ‘ALVAL’ 3332 | alval = ALVAL(&smtp_act_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘nntp_act_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:3340:13: note: in expansion of macro ‘ALVAL’ 3340 | alval = ALVAL(&nntp_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘score_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3354:17: note: in expansion of macro ‘APVAL’ 3354 | apval = APVAL(&score_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘hdrtok_act_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3366:17: note: in expansion of macro ‘APVAL’ 3366 | apval = APVAL(&hdrtok_act_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘repl_type_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3378:13: note: in expansion of macro ‘APVAL’ 3378 | apval = APVAL(&repl_type_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘forw_type_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3386:13: note: in expansion of macro ‘APVAL’ 3386 | apval = APVAL(&forw_type_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘comp_type_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:3393:13: note: in expansion of macro ‘APVAL’ 3393 | apval = APVAL(&comp_type_var, ew); | ^~~~~ ../pith/conf.h:866:25: warning: the address of ‘filter_type_var’ will always evaluate as ‘true’ [-Waddress] 866 | #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ | ^ roleconf.c:4340:17: note: in expansion of macro ‘APVAL’ 4340 | apval = APVAL(&filter_type_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘to_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4934:17: note: in expansion of macro ‘ALVAL’ 4934 | alval = ALVAL(&to_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘from_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4938:17: note: in expansion of macro ‘ALVAL’ 4938 | alval = ALVAL(&from_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘sender_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4942:17: note: in expansion of macro ‘ALVAL’ 4942 | alval = ALVAL(&sender_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘cc_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4946:17: note: in expansion of macro ‘ALVAL’ 4946 | alval = ALVAL(&cc_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘recip_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4950:17: note: in expansion of macro ‘ALVAL’ 4950 | alval = ALVAL(&recip_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘partic_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4954:17: note: in expansion of macro ‘ALVAL’ 4954 | alval = ALVAL(&partic_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘news_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4958:17: note: in expansion of macro ‘ALVAL’ 4958 | alval = ALVAL(&news_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘subj_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4962:17: note: in expansion of macro ‘ALVAL’ 4962 | alval = ALVAL(&subj_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘alltext_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4966:17: note: in expansion of macro ‘ALVAL’ 4966 | alval = ALVAL(&alltext_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘bodytext_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4970:17: note: in expansion of macro ‘ALVAL’ 4970 | alval = ALVAL(&bodytext_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘keyword_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4974:17: note: in expansion of macro ‘ALVAL’ 4974 | alval = ALVAL(&keyword_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘charset_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:4978:17: note: in expansion of macro ‘ALVAL’ 4978 | alval = ALVAL(&charset_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘abook_pat_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5051:17: note: in expansion of macro ‘ALVAL’ 5051 | alval = ALVAL(&abook_pat_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘folder_act_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5155:17: note: in expansion of macro ‘ALVAL’ 5155 | alval = ALVAL(&folder_act_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘keyword_set_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5159:17: note: in expansion of macro ‘ALVAL’ 5159 | alval = ALVAL(&keyword_set_var, ew); | ^~~~~ ../pith/conf.h:870:25: warning: the address of ‘keyword_clr_var’ will always evaluate as ‘true’ [-Waddress] 870 | #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ | ^ roleconf.c:5163:17: note: in expansion of macro ‘ALVAL’ 5163 | alval = ALVAL(&keyword_clr_var, ew); | ^~~~~ roleconf.c: In function ‘check_role_folders’: roleconf.c:6423:44: warning: the comparison will always evaluate as ‘true’ for the address of ‘c_client_error’ will never be NULL [-Waddress] 6423 | if(ps_global->mm_log_error && ps_global->c_client_error) | ^~ In file included from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from roleconf.c:15: osdep/../../pith/../pith/state.h:294:18: note: ‘c_client_error’ declared here 294 | char c_client_error[300]; /* when nowhow_error is set and PARSE */ | ^~~~~~~~~~~~~~ In file included from mailcmd.h:26, from roleconf.c:26: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ roleconf.c: In function ‘role_text_tool’: roleconf.c:7203:9: warning: ‘strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 7203 | strncpy(dir2, pdir, MAXPATH); | ^ roleconf.c: In function ‘role_take’: roleconf.c:605:7: warning: ‘strncpy’ output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 605 | strncpy(specific_fldr, ps->cur_folder, sizeof(specific_fldr)-1); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c send.c: In function ‘pine_send’: send.c:2183:24: warning: the address of ‘pf_template’ will always evaluate as ‘true’ [-Waddress] 2183 | for(fixed_cnt = 0; pf_template && pf_template[fixed_cnt].name; fixed_cnt++) | ^~~~~~~~~~~ In file included from ../pith/headers.h:65, from headers.h:25, from send.c:21: send.c:3418:39: warning: the address of ‘folder’ will always evaluate as ‘true’ [-Waddress] 3418 | folder ? folder : "?", | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ send.c:3781:31: warning: the comparison will always evaluate as ‘true’ for the address of ‘folder’ will never be NULL [-Waddress] 3781 | if(fcc_result && folder) | ^~ send.c:3286:24: note: ‘folder’ declared here 3286 | char folder[MAXPATH+1]; | ^~~~~~ send.c: In function ‘choose_a_priority’: send.c:5220:16: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] 5220 | int i, cnt; | ^ send.c: In function ‘upload_msg_to_pico’: send.c:5358:24: warning: the address of ‘cmd’ will always evaluate as ‘true’ [-Waddress] 5358 | cmd ? cmd : "?", | ^ ../pith/debug.h:40:44: note: in definition of macro ‘dprint’ 40 | #define dprint(x) { output_debug_msg x ; } | ^ In file included from send.c:63: ../pith/rules.h: At top level: ../pith/rules.h:94:23: warning: ‘tokens_use’ defined but not used [-Wunused-variable] 94 | static USE_IN_CONTEXT tokens_use[] = { | ^~~~~~~~~~ In file included from mailcmd.h:26, from send.c:34: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ send.c: In function ‘pine_send’: send.c:3006:9: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 3006 | strncpy(he->prompt, he->name, MIN(strlen(he->name), he->prwid - 2)); | ^ In file included from ../pith/headers.h:26: send.c:3006:43: note: length computed here 3006 | strncpy(he->prompt, he->name, MIN(strlen(he->name), he->prwid - 2)); gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o setup.o setup.c setup.c: In function ‘inbox_path_text_tool’: setup.c:671:22: warning: variable ‘apval’ set but not used [-Wunused-but-set-variable] 671 | char **apval; | ^~~~~ setup.c: In function ‘adjust_list_of_monitored_incoming’: setup.c:865:73: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 865 | snprintf(buf, sizeof(buf), "%s (%s)", f->nickname, f->name ? f->name : "?"); | ^ In file included from osdep/../../pith/../pith/../pith/context.h:21, from osdep/../../pith/../pith/state.h:25, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from setup.c:15: osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ setup.c:869:32: warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress] 869 | ls->item = cpystr((f && f->name) ? f->name : "?"); | ^~ osdep/../../pith/../pith/../pith/../pith/foldertype.h:57:21: note: ‘name’ declared here 57 | char name[1]; /* folder's name */ | ^~~~ In file included from mailcmd.h:26, from setup.c:25: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signal.o signal.c signal.c: In function ‘usr2_signal’: signal.c:413:64: warning: the comparison will always evaluate as ‘true’ for the address of ‘mailbox’ will never be NULL [-Waddress] 413 | else if(mail_valid_net_parse(stream->mailbox, &mb) && mb.mailbox) | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from signal.c:26: ../pith/../c-client/mail.h:716:8: note: ‘mailbox’ declared here 716 | char mailbox[NETMAXMBX]; /* mailbox name */ | ^~~~~~~ In file included from mailcmd.h:26, from signal.c:33: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c In file included from mailcmd.h:26, from status.c:28: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c In file included from mailcmd.h:26, from takeaddr.c:32: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ takeaddr.c: In function ‘take_without_edit’: takeaddr.c:2431:60: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 2431 | snprintf(tmp, sizeof(tmp), "Saved %d %s to \"%.*s\"", | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from takeaddr.c:21: In function ‘snprintf’, inlined from ‘take_without_edit’ at takeaddr.c:2431:2: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 20 and 201 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o titlebar.o titlebar.c titlebar.c: In function ‘set_titlebar’: titlebar.c:216:16: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 216 | if(color->fg){ | ^~~~~ In file included from ../pith/headers.h:43, from headers.h:25, from titlebar.c:15: ../pith/osdep/color.h:43:14: note: ‘fg’ declared here 43 | char fg[MAXCOLORLEN+1]; | ^~ titlebar.c:221:16: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 221 | if(color->bg){ | ^~~~~ ../pith/osdep/color.h:44:14: note: ‘bg’ declared here 44 | char bg[MAXCOLORLEN+1]; | ^~ titlebar.c: In function ‘output_titlebar’: titlebar.c:359:11: warning: the comparison will always evaluate as ‘true’ for the address of ‘titlebar_line’ will never be NULL [-Waddress] 359 | if(tc && tc->titlebar_line) | ^~ In file included from titlebar.c:16: titlebar.h:27:16: note: ‘titlebar_line’ declared here 27 | char titlebar_line[6*MAX_SCREEN_COLS+1]; | ^~~~~~~~~~~~~ titlebar.c: In function ‘current_titlebar_color’: titlebar.c:391:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘fg’ will never be NULL [-Waddress] 391 | if(col && col->fg && col->fg[0] && col->bg && col->bg[0]) | ^~ ../pith/osdep/color.h:43:14: note: ‘fg’ declared here 43 | char fg[MAXCOLORLEN+1]; | ^~ titlebar.c:391:37: warning: the comparison will always evaluate as ‘true’ for the address of ‘bg’ will never be NULL [-Waddress] 391 | if(col && col->fg && col->fg[0] && col->bg && col->bg[0]) | ^~ ../pith/osdep/color.h:44:14: note: ‘bg’ declared here 44 | char bg[MAXCOLORLEN+1]; | ^~ titlebar.c: In function ‘format_titlebar’: titlebar.c:428:21: warning: variable ‘thd_len’ set but not used [-Wunused-but-set-variable] 428 | ss_len, thd_len, is_context, avail, extra; | ^~~~~~~ titlebar.c:737:29: warning: ‘strncpy’ specified bound 24576 equals destination size [-Wstringop-truncation] 737 | strncpy(q, as.context_name, sizeof(fold_tmp)-(q-fold_tmp)); | ^ titlebar.c:804:33: warning: ‘strncpy’ specified bound 24577 equals destination size [-Wstringop-truncation] 804 | strncpy(q, as.folder_name, sizeof(fold_tmp)-(q-fold_tmp)); | ^ In file included from /usr/include/stdio.h:980, from ../include/system.h:31, from ../pith/headers.h:25: In function ‘snprintf’, inlined from ‘format_titlebar’ at titlebar.c:626:3: /usr/include/bits/stdio2.h:54:10: warning: ‘thd_label’ may be used uninitialized [-Wmaybe-uninitialized] 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ titlebar.c: In function ‘format_titlebar’: titlebar.c:423:40: note: ‘thd_label’ was declared here 423 | loc1[200], loc_label[10], *thd_label, *ss_string, *q, | ^~~~~~~~~ titlebar.c: In function ‘set_titlebar’: titlebar.c:217:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 217 | strncpy(as.titlecontainer.color.fg, color->fg, MAXCOLORLEN); | ^ titlebar.c:222:17: warning: ‘strncpy’ output may be truncated copying 11 bytes from a string of length 11 [-Wstringop-truncation] 222 | strncpy(as.titlecontainer.color.bg, color->bg, MAXCOLORLEN); | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c In file included from smime.c:33: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ smime.c: In function ‘smime_manage_password_file_certs_init’: smime.c:1626:7: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 1626 | strncpy((*ctmp)->d.s.address, cl->name, sizeof((*ctmp)->d.s.address)); | ^ smime.c: In function ‘smime_manage_certs_init’: smime.c:1724:13: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 1724 | strncpy((*ctmp)->d.s.address, cl->name, sizeof((*ctmp)->d.s.address)); | ^ smime.c:1724:13: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c newmail.c: In function ‘new_mail_mess’: newmail.c:153:23: warning: the address of ‘from’ will always evaluate as ‘true’ [-Waddress] 153 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ newmail.c:154:23: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 154 | from && from[0] ? "rom " : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:155:23: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 155 | from && from[0] ? from : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:193:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 193 | from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:194:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 194 | from && from[0] ? "rom " : "", | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ newmail.c:195:20: warning: the comparison will always evaluate as ‘true’ for the address of ‘from’ will never be NULL [-Waddress] 195 | from && from[0] ? from : ""); | ^~~~ newmail.c:131:62: note: ‘from’ declared here 131 | char subject[MAILTMPLEN+1], subjtext[MAILTMPLEN+1], from[MAILTMPLEN+1], | ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o xoauth2conf.o xoauth2conf.c xoauth2conf.c: In function ‘oauth2_get_client_info’: xoauth2conf.c:363:22: warning: unused variable ‘len’ [-Wunused-variable] 363 | int i, j, matches, len; | ^~~ In file included from xoauth2conf.c:24: ../pith/mailcmd.h: At top level: ../pith/mailcmd.h:46:23: warning: ‘rule_curpos’ defined but not used [-Wunused-variable] 46 | static unsigned long rule_curpos = 0L; | ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: ‘saved_stream’ defined but not used [-Wunused-variable] 45 | static MAILSTREAM *saved_stream; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o date.o date.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o newmail.o xoauth2conf.o date.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o newmail.o xoauth2conf.o date.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 ../pico/file.c: In function 'insfile.part.0': ../pico/file.c:272:31: warning: '__builtin___strncat_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 272 | strncat(infile, fname, len+1-1-strlen(infile)); | ^ ../pico/file.c:266:65: note: length computed here 266 | len = strlen(dir)+strlen(S_FILESEP)+strlen(fname); | ^ imap.c: In function 'write_passfile': imap.c:4011:9: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 4011 | strncat(text, tmp, strlen(tmp)); | ^ imap.c:4010:16: note: length computed here 4010 | len += strlen(tmp) + 1; | ^ In function 'strncat', inlined from 'reply_signature' at ../pith/reply.c:1499:2: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin_strncat' specified bound 1 equals source length [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpdump.o rpdump.c rpdump.c: In function ‘mm_login’: rpdump.c:558:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 558 | if(mb->user && *mb->user){ | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from rpdump.c:15: ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rpdump rpdump.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rpdump rpdump.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpload.o rpload.c rpload.c: In function ‘mm_login’: rpload.c:797:12: warning: the comparison will always evaluate as ‘true’ for the address of ‘user’ will never be NULL [-Waddress] 797 | if(mb->user && *mb->user){ | ^~ In file included from ../pith/headers.h:28, from headers.h:25, from rpload.c:15: ../pith/../c-client/mail.h:713:8: note: ‘user’ declared here 713 | char user[NETMAXUSER]; /* user name */ | ^~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rpload rpload.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 libtool: link: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o rpload rpload.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5 make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KNRNur + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64 ++ dirname /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd alpine-2.26 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64 'INSTALL=/usr/bin/install -p' if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5" EXTRAAUTHENTICATORS="gss " EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private " BUNDLED="no" make[1]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private ' BUNDLED='no' BUILDTYPE=lnpno IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' Rebuilding c-client for lnpno... cd c-client;make all CC=`cat CCTYPE` \ CFLAGS="`cat CFLAGS`" `cat SPECIALS` make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap/c-client' sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.26' Making install in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/m4' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/m4' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/m4' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/m4' Making install in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share if test "alpine" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/po' Making install in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/osdep' Making install in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/pith' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pith' Making install in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' Making install in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/pico' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p pico pilot '/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin' libtool: install: /usr/bin/install -p pico /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin/pico libtool: install: /usr/bin/install -p pilot /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin/pilot make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/pico' Making install in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.26/alpine' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p alpine rpdump rpload '/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin' libtool: install: /usr/bin/install -p alpine /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin/alpine libtool: install: /usr/bin/install -p rpdump /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin/rpdump libtool: install: /usr/bin/install -p rpload /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin/rpload make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26' cd imap && /usr/bin/make install-mailutil BUNDLED="no" DESTDIR="/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64" bindir="/usr/bin" mandir="/usr/share/man" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26/imap' Not building bundled tools. Installing mailutil... BUNDLED=no if test x"no" = x""; then \ /usr/bin/install -p -d /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin; \ /usr/bin/install -p mailutil/mailutil /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/bin/mailutil; \ /usr/bin/install -p -d /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/man/man1; \ /usr/bin/install -p src/mailutil/mailutil.1 /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/man/man1/mailutil.1; \ fi make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26/imap' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 doc/man1/alpine.1 doc/man1/pico.1 doc/man1/pilot.1 doc/man1/rpdump.1 doc/man1/rpload.1 '/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26' + mkdir -p /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/etc + touch /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/etc/pine.conf + touch /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/etc/pine.conf.fixed + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.26-15.el10 --unique-debug-suffix -2.26-15.el10.x86_64 --unique-debug-src-base alpine-2.26-15.el10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/alpine-2.26 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/alpine-2.26-15.el10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: alpine-2.26-15.el10.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HYACRh + umask 022 + cd /builddir/build/BUILD + cd alpine-2.26 + DOCDIR=/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/doc/alpine + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/doc/alpine + cp -pr /builddir/build/BUILD/alpine-2.26/README /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/doc/alpine + cp -pr /builddir/build/BUILD/alpine-2.26/README.fedora /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/doc/alpine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.peOIY0 + umask 022 + cd /builddir/build/BUILD + cd alpine-2.26 + LICENSEDIR=/builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/licenses/alpine + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/licenses/alpine + cp -pr /builddir/build/BUILD/alpine-2.26/LICENSE /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64/usr/share/licenses/alpine + RPM_EC=0 ++ jobs -p + exit 0 Provides: alpine = 2.26-15.el10 alpine(x86-64) = 2.26-15.el10 config(alpine) = 2.26-15.el10 re-alpine = 2.26-15.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber.so.2()(64bit) liblber.so.2(OPENLDAP_2.200)(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: pine Processing files: alpine-debugsource-2.26-15.el10.x86_64 Provides: alpine-debugsource = 2.26-15.el10 alpine-debugsource(x86-64) = 2.26-15.el10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: alpine-debuginfo-2.26-15.el10.x86_64 Provides: alpine-debuginfo = 2.26-15.el10 alpine-debuginfo(x86-64) = 2.26-15.el10 debuginfo(build-id) = 1210fc13ae761e4cebafb87edbf1a292222a6beb debuginfo(build-id) = 170c95b665a333b8d18205b220e99d6111eceda0 debuginfo(build-id) = 708fa5afdd0bfa47ef0c5722310ebe6ef85cb78c debuginfo(build-id) = 7676845ae40f1e8700d1c16e28b930be3bb75aaa debuginfo(build-id) = 8f9bebd73cb257b89f9ba54350fd054eadfb7409 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: alpine-debugsource(x86-64) = 2.26-15.el10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64 Wrote: /builddir/build/RPMS/alpine-2.26-15.el10.x86_64.rpm Wrote: /builddir/build/RPMS/alpine-debugsource-2.26-15.el10.x86_64.rpm Wrote: /builddir/build/RPMS/alpine-debuginfo-2.26-15.el10.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.csvFOI + umask 022 + cd /builddir/build/BUILD + cd alpine-2.26 + /usr/bin/rm -rf /builddir/build/BUILDROOT/alpine-2.26-15.el10.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.GK9TJz + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/alpine-2.26-SPECPARTS + rm -rf alpine-2.26 alpine-2.26.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild alpine-2.26-15.el10.src.rpm Finish: build phase for alpine-2.26-15.el10.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root/var/log/dnf.log /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root/var/log/dnf.librepo.log /var/lib/mock/centos-stream+epel-10-x86_64-1741899238.902675/root/var/log/dnf.rpm.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/alpine-2.26-15.el10.src.rpm) Config(child) 2 minutes 37 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "alpine-debugsource", "epoch": null, "version": "2.26", "release": "15.el10", "arch": "x86_64" }, { "name": "alpine", "epoch": null, "version": "2.26", "release": "15.el10", "arch": "x86_64" }, { "name": "alpine-debuginfo", "epoch": null, "version": "2.26", "release": "15.el10", "arch": "x86_64" }, { "name": "alpine", "epoch": null, "version": "2.26", "release": "15.el10", "arch": "src" } ] } RPMResults finished