Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c18b' (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/8411614-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.2 PID: 9753 Logging PID: 9754 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 8411614, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'fa3f019ed7ecb3702dfc49f62360c09f5d4aceff', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/dmalcolm/gcc-15-smoketest-3/alpine', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'alpine', 'package_version': '2.26-15', 'project_dirname': 'gcc-15-smoketest-3', 'project_name': 'gcc-15-smoketest-3', 'project_owner': 'dmalcolm', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-15-smoketest-3/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}, {'baseurl': 'https://fedorapeople.org/~dmalcolm/gcc/gcc-15-mass-prebuild/$basearch', 'id': 'https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch', 'name': 'Additional repo https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch'}], 'sandbox': 'dmalcolm/gcc-15-smoketest-3--dmalcolm', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'dmalcolm', 'tags': [], 'task_id': '8411614-fedora-rawhide-x86_64', 'timeout': 115200, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/dmalcolm/gcc-15-smoketest-3/alpine /var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/dmalcolm/gcc-15-smoketest-3/alpine', '/var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine'... Running: git checkout fa3f019ed7ecb3702dfc49f62360c09f5d4aceff -- cmd: ['git', 'checkout', 'fa3f019ed7ecb3702dfc49f62360c09f5d4aceff', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine rc: 0 stdout: stderr: Note: switching to 'fa3f019ed7ecb3702dfc49f62360c09f5d4aceff'. 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 fa3f019 automatic import of alpine Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/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/dmalcolm/gcc-15-smoketest-3/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 39.0M 0 --:--:-- --:--:-- --:--:-- 39.3M 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=115200): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine/alpine.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734547885.428469 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.9 starting (python version = 3.13.0, NVR = mock-5.9-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine/alpine.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-qwcqz2cp/alpine --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1734547885.428469 -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-qwcqz2cp/alpine/alpine.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734547885.428469/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 bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734547885.428469/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/20264d84b038c0676961d488450f3d7ec1848d7a526bdc9503d1c1a787d88a3c/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/20264d84b038c0676961d488450f3d7ec1848d7a526bdc9503d1c1a787d88a3c/merged) with podman image umount INFO: Package manager dnf5 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/fedora-rawhide-x86_64-1734547885.428469/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 dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-3.fc42.x86_64 dnf5-5.2.8.1-2.fc42.x86_64 dnf5-plugins-5.2.8.1-2.fc42.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 12.2 MiB/s | 21.9 MiB | 00m02s Copr repository 100% | 3.0 MiB/s | 402.6 KiB | 00m00s Additional repo https_fedorapeople_org 100% | 136.1 KiB/s | 18.2 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-1.fc42 fedora 8.2 MiB bzip2 x86_64 1.0.8-19.fc41 fedora 95.7 KiB coreutils x86_64 9.5-11.fc42 fedora 5.4 MiB cpio x86_64 2.15-2.fc41 fedora 1.1 MiB diffutils x86_64 3.10-8.fc41 fedora 1.6 MiB fedora-release-common noarch 42-0.11 fedora 19.8 KiB findutils x86_64 1:4.10.0-4.fc41 fedora 1.8 MiB gawk x86_64 5.3.0-4.fc41 fedora 1.7 MiB glibc-minimal-langpack x86_64 2.40.9000-24.fc42 fedora 0.0 B grep x86_64 3.11-9.fc41 fedora 1.0 MiB gzip x86_64 1.13-2.fc41 fedora 389.0 KiB info x86_64 7.1.1-2.fc42 fedora 361.8 KiB patch x86_64 2.7.6-25.fc41 fedora 266.7 KiB redhat-rpm-config noarch 300-1.no_annobin.0.fc42 copr_base 186.6 KiB rpm-build x86_64 4.20.0-1.fc42 fedora 194.3 KiB sed x86_64 4.9-3.fc41 fedora 861.5 KiB shadow-utils x86_64 2:4.17.0~rc1-1.fc42 fedora 4.1 MiB tar x86_64 2:1.35-4.fc41 fedora 2.9 MiB unzip x86_64 6.0-65.fc42 fedora 398.2 KiB util-linux x86_64 2.40.2-8.fc42 fedora 3.7 MiB which x86_64 2.21-42.fc41 fedora 80.2 KiB xz x86_64 1:5.6.3-2.fc42 fedora 1.2 MiB Installing dependencies: add-determinism x86_64 0.4.3-1.fc42 fedora 2.4 MiB alternatives x86_64 1.30-1.fc41 fedora 66.3 KiB ansible-srpm-macros noarch 1-16.fc41 fedora 35.7 KiB audit-libs x86_64 4.0.2-1.fc41 fedora 331.3 KiB authselect x86_64 1.5.0-8.fc42 fedora 157.5 KiB authselect-libs x86_64 1.5.0-8.fc42 fedora 822.2 KiB basesystem noarch 11-21.fc41 fedora 0.0 B binutils x86_64 2.43.50-9.fc42 fedora 25.8 MiB build-reproducibility-srpm-macros noarch 0.4.3-1.fc42 fedora 735.0 B bzip2-libs x86_64 1.0.8-19.fc41 fedora 80.7 KiB ca-certificates noarch 2024.2.69_v8.0.401-3.fc42 fedora 2.6 MiB coreutils-common x86_64 9.5-11.fc42 fedora 11.2 MiB cracklib x86_64 2.9.11-6.fc41 fedora 238.9 KiB crypto-policies noarch 20241128-1.gitbb7b0b0.fc42 fedora 137.3 KiB curl x86_64 8.11.1-2.fc42 fedora 452.0 KiB cyrus-sasl-lib x86_64 2.1.28-27.fc41 fedora 2.3 MiB debugedit x86_64 5.1-2.fc42 fedora 200.3 KiB dwz x86_64 0.15-8.fc42 fedora 299.2 KiB ed x86_64 1.20.2-2.fc41 fedora 146.9 KiB efi-srpm-macros noarch 5-13.fc42 fedora 40.2 KiB elfutils x86_64 0.192-7.fc42 fedora 2.6 MiB elfutils-debuginfod-client x86_64 0.192-7.fc42 fedora 81.4 KiB elfutils-default-yama-scope noarch 0.192-7.fc42 fedora 1.8 KiB elfutils-libelf x86_64 0.192-7.fc42 fedora 1.2 MiB elfutils-libs x86_64 0.192-7.fc42 fedora 662.9 KiB fedora-gpg-keys noarch 42-0.3 fedora 126.4 KiB fedora-release noarch 42-0.11 fedora 0.0 B fedora-release-identity-basic noarch 42-0.11 fedora 719.0 B fedora-repos noarch 42-0.3 fedora 4.9 KiB fedora-repos-rawhide noarch 42-0.3 fedora 2.2 KiB file x86_64 5.45-8.fc42 fedora 103.7 KiB file-libs x86_64 5.45-8.fc42 fedora 9.9 MiB filesystem x86_64 3.18-29.fc42 fedora 106.0 B filesystem-srpm-macros noarch 3.18-29.fc42 fedora 36.1 KiB fonts-srpm-macros noarch 1:2.0.5-17.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-1.fc42 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-13.fc41 fedora 144.0 B gdb-minimal x86_64 15.2-4.fc42 fedora 12.7 MiB gdbm x86_64 1:1.23-7.fc41 fedora 460.9 KiB gdbm-libs x86_64 1:1.23-7.fc41 fedora 121.9 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 fedora 779.0 B glibc x86_64 2.40.9000-24.fc42 fedora 6.7 MiB glibc-common x86_64 2.40.9000-24.fc42 fedora 1.0 MiB glibc-gconv-extra x86_64 2.40.9000-24.fc42 fedora 8.0 MiB gmp x86_64 1:6.3.0-2.fc41 fedora 811.4 KiB gnat-srpm-macros noarch 6-6.fc41 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-5.fc42 fedora 60.8 KiB jansson x86_64 2.14-1.fc42 fedora 93.1 KiB json-c x86_64 0.18-1.fc42 fedora 83.3 KiB kernel-srpm-macros noarch 1.0-24.fc41 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-4.fc41 fedora 54.4 KiB krb5-libs x86_64 1.21.3-3.fc42 fedora 2.3 MiB libacl x86_64 2.3.2-2.fc42 copr_base 38.3 KiB libarchive x86_64 3.7.7-1.fc42 fedora 932.3 KiB libattr x86_64 2.5.2-4.fc41 fedora 28.5 KiB libblkid x86_64 2.40.2-8.fc42 fedora 262.5 KiB libbrotli x86_64 1.1.0-5.fc41 fedora 837.6 KiB libcap x86_64 2.71-1.fc42 fedora 210.8 KiB libcap-ng x86_64 0.8.5-3.fc41 fedora 69.2 KiB libcom_err x86_64 1.47.1-6.fc42 fedora 67.2 KiB libcurl x86_64 8.11.1-2.fc42 fedora 817.3 KiB libeconf x86_64 0.7.5-1.fc42 fedora 66.7 KiB libevent x86_64 2.1.12-14.fc41 fedora 895.7 KiB libfdisk x86_64 2.40.2-8.fc42 fedora 362.9 KiB libffi x86_64 3.4.6-3.fc42 fedora 86.4 KiB libgcc x86_64 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 266.9 KiB libgomp x86_64 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 529.3 KiB libidn2 x86_64 2.3.7-2.fc41 fedora 329.1 KiB libmount x86_64 2.40.2-8.fc42 fedora 355.8 KiB libnghttp2 x86_64 1.64.0-1.fc42 fedora 174.5 KiB libnsl2 x86_64 2.0.1-2.fc41 fedora 57.9 KiB libpkgconf x86_64 2.3.0-1.fc42 fedora 78.2 KiB libpsl x86_64 0.21.5-4.fc41 fedora 80.5 KiB libpwquality x86_64 1.4.5-11.fc41 fedora 417.8 KiB libselinux x86_64 3.8-0.rc1.2.fc42 fedora 191.6 KiB libsemanage x86_64 3.8-0.rc1.1.fc42 fedora 305.3 KiB libsepol x86_64 3.8-0.rc1.1.fc42 fedora 822.0 KiB libsmartcols x86_64 2.40.2-8.fc42 fedora 180.4 KiB libssh x86_64 0.11.1-1.fc42 fedora 569.6 KiB libssh-config noarch 0.11.1-1.fc42 fedora 277.0 B libstdc++ x86_64 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 2.7 MiB libtasn1 x86_64 4.19.0-9.fc41 fedora 175.7 KiB libtirpc x86_64 1.3.6-1.fc42 fedora 205.5 KiB libtool-ltdl x86_64 2.5.4-1.fc42 copr_base 68.1 KiB libunistring x86_64 1.1-8.fc41 fedora 1.7 MiB libuuid x86_64 2.40.2-8.fc42 fedora 41.4 KiB libverto x86_64 0.3.2-9.fc41 fedora 29.5 KiB libxcrypt x86_64 4.4.36-11.fc42 fedora 271.4 KiB libxml2 x86_64 2.12.8-2.fc41 fedora 1.7 MiB libzstd x86_64 1.5.6-2.fc41 fedora 795.9 KiB lua-libs x86_64 5.4.7-1.fc42 fedora 285.0 KiB lua-srpm-macros noarch 1-14.fc41 fedora 1.3 KiB lz4-libs x86_64 1.10.0-1.fc41 fedora 145.5 KiB mpfr x86_64 4.2.1-5.fc41 fedora 832.1 KiB ncurses-base noarch 6.5-2.20240629.fc41 fedora 326.3 KiB ncurses-libs x86_64 6.5-2.20240629.fc41 fedora 975.2 KiB ocaml-srpm-macros noarch 10-3.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 fedora 112.0 B openldap x86_64 2.6.8-6.fc42 fedora 647.4 KiB openssl-libs x86_64 1:3.2.2-8.fc42 fedora 7.8 MiB p11-kit x86_64 0.25.5-4.fc42 fedora 2.2 MiB p11-kit-trust x86_64 0.25.5-4.fc42 fedora 403.8 KiB package-notes-srpm-macros noarch 0.5-12.fc41 fedora 1.6 KiB pam x86_64 1.7.0-3.fc42 fedora 1.8 MiB pam-libs x86_64 1.7.0-3.fc42 fedora 139.4 KiB pcre2 x86_64 10.44-1.fc41.1 fedora 653.5 KiB pcre2-syntax noarch 10.44-1.fc41.1 fedora 251.6 KiB perl-srpm-macros noarch 1-56.fc41 fedora 861.0 B pkgconf x86_64 2.3.0-1.fc42 fedora 88.6 KiB pkgconf-m4 noarch 2.3.0-1.fc42 fedora 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-1.fc42 fedora 989.0 B popt x86_64 1.19-7.fc41 fedora 136.9 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 fedora 67.5 KiB pyproject-srpm-macros noarch 1.16.3-1.fc42 fedora 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 fedora 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 fedora 500.0 B qt6-srpm-macros noarch 6.8.1-4.fc42 fedora 456.0 B readline x86_64 8.2-11.fc42 fedora 493.1 KiB rpm x86_64 4.20.0-1.fc42 fedora 3.1 MiB rpm-build-libs x86_64 4.20.0-1.fc42 fedora 206.7 KiB rpm-libs x86_64 4.20.0-1.fc42 fedora 726.1 KiB rpm-sequoia x86_64 1.7.0-3.fc42 fedora 2.3 MiB rust-srpm-macros noarch 26.3-3.fc42 fedora 4.8 KiB setup noarch 2.15.0-5.fc41 fedora 720.7 KiB sqlite-libs x86_64 3.47.2-1.fc42 fedora 1.4 MiB systemd-libs x86_64 257-1.fc42 fedora 2.2 MiB util-linux-core x86_64 2.40.2-8.fc42 fedora 1.5 MiB xxhash-libs x86_64 0.8.2-4.fc42 fedora 88.4 KiB xz-libs x86_64 1:5.6.3-2.fc42 fedora 218.4 KiB zig-srpm-macros noarch 1-3.fc41 fedora 1.1 KiB zip x86_64 3.0-42.fc42 fedora 695.9 KiB zlib-ng-compat x86_64 2.2.2-1.fc42 fedora 134.0 KiB zstd x86_64 1.5.6-2.fc41 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 155 packages Total size of inbound packages is 52 MiB. Need to download 52 MiB. After this operation, 179 MiB extra will be used (install 179 MiB, remove 0 B). [ 1/155] bzip2-0:1.0.8-19.fc41.x86_64 100% | 632.8 KiB/s | 52.5 KiB | 00m00s [ 2/155] coreutils-0:9.5-11.fc42.x86_6 100% | 7.8 MiB/s | 1.1 MiB | 00m00s [ 3/155] cpio-0:2.15-2.fc41.x86_64 100% | 4.1 MiB/s | 291.8 KiB | 00m00s [ 4/155] diffutils-0:3.10-8.fc41.x86_6 100% | 17.2 MiB/s | 405.4 KiB | 00m00s [ 5/155] fedora-release-common-0:42-0. 100% | 1.0 MiB/s | 23.9 KiB | 00m00s [ 6/155] findutils-1:4.10.0-4.fc41.x86 100% | 21.4 MiB/s | 548.6 KiB | 00m00s [ 7/155] bash-0:5.2.37-1.fc42.x86_64 100% | 9.1 MiB/s | 1.8 MiB | 00m00s [ 8/155] glibc-minimal-langpack-0:2.40 100% | 5.0 MiB/s | 122.0 KiB | 00m00s [ 9/155] grep-0:3.11-9.fc41.x86_64 100% | 13.3 MiB/s | 299.8 KiB | 00m00s [ 10/155] gzip-0:1.13-2.fc41.x86_64 100% | 6.9 MiB/s | 170.2 KiB | 00m00s [ 11/155] info-0:7.1.1-2.fc42.x86_64 100% | 7.5 MiB/s | 183.2 KiB | 00m00s [ 12/155] patch-0:2.7.6-25.fc41.x86_64 100% | 6.1 MiB/s | 131.0 KiB | 00m00s [ 13/155] rpm-build-0:4.20.0-1.fc42.x86 100% | 3.4 MiB/s | 82.7 KiB | 00m00s [ 14/155] sed-0:4.9-3.fc41.x86_64 100% | 6.7 MiB/s | 317.7 KiB | 00m00s [ 15/155] shadow-utils-2:4.17.0~rc1-1.f 100% | 28.4 MiB/s | 1.3 MiB | 00m00s [ 16/155] tar-2:1.35-4.fc41.x86_64 100% | 24.7 MiB/s | 860.7 KiB | 00m00s [ 17/155] unzip-0:6.0-65.fc42.x86_64 100% | 6.4 MiB/s | 184.5 KiB | 00m00s [ 18/155] which-0:2.21-42.fc41.x86_64 100% | 1.9 MiB/s | 41.6 KiB | 00m00s [ 19/155] xz-1:5.6.3-2.fc42.x86_64 100% | 16.6 MiB/s | 475.4 KiB | 00m00s [ 20/155] util-linux-0:2.40.2-8.fc42.x8 100% | 30.6 MiB/s | 1.2 MiB | 00m00s [ 21/155] redhat-rpm-config-0:300-1.no_ 100% | 1.1 MiB/s | 76.6 KiB | 00m00s [ 22/155] filesystem-0:3.18-29.fc42.x86 100% | 25.3 MiB/s | 1.1 MiB | 00m00s [ 23/155] gawk-0:5.3.0-4.fc41.x86_64 100% | 9.2 MiB/s | 1.1 MiB | 00m00s [ 24/155] glibc-0:2.40.9000-24.fc42.x86 100% | 41.3 MiB/s | 2.2 MiB | 00m00s [ 25/155] ncurses-libs-0:6.5-2.20240629 100% | 10.5 MiB/s | 334.0 KiB | 00m00s [ 26/155] bzip2-libs-0:1.0.8-19.fc41.x8 100% | 1.8 MiB/s | 41.1 KiB | 00m00s [ 27/155] libattr-0:2.5.2-4.fc41.x86_64 100% | 534.5 KiB/s | 18.2 KiB | 00m00s [ 28/155] coreutils-common-0:9.5-11.fc4 100% | 37.9 MiB/s | 2.1 MiB | 00m00s [ 29/155] gmp-1:6.3.0-2.fc41.x86_64 100% | 6.5 MiB/s | 318.0 KiB | 00m00s [ 30/155] libcap-0:2.71-1.fc42.x86_64 100% | 2.8 MiB/s | 86.4 KiB | 00m00s [ 31/155] libselinux-0:3.8-0.rc1.2.fc42 100% | 2.1 MiB/s | 90.7 KiB | 00m00s [ 32/155] openssl-libs-1:3.2.2-8.fc42.x 100% | 47.1 MiB/s | 2.3 MiB | 00m00s [ 33/155] systemd-libs-0:257-1.fc42.x86 100% | 22.8 MiB/s | 770.3 KiB | 00m00s [ 34/155] fedora-repos-0:42-0.3.noarch 100% | 399.6 KiB/s | 9.2 KiB | 00m00s [ 35/155] glibc-common-0:2.40.9000-24.f 100% | 15.5 MiB/s | 396.0 KiB | 00m00s [ 36/155] pcre2-0:10.44-1.fc41.1.x86_64 100% | 7.7 MiB/s | 243.1 KiB | 00m00s [ 37/155] ed-0:1.20.2-2.fc41.x86_64 100% | 3.1 MiB/s | 81.8 KiB | 00m00s [ 38/155] debugedit-0:5.1-2.fc42.x86_64 100% | 3.6 MiB/s | 78.2 KiB | 00m00s [ 39/155] elfutils-libelf-0:0.192-7.fc4 100% | 6.2 MiB/s | 204.6 KiB | 00m00s [ 40/155] elfutils-0:0.192-7.fc42.x86_6 100% | 14.9 MiB/s | 504.7 KiB | 00m00s [ 41/155] file-0:5.45-8.fc42.x86_64 100% | 1.6 MiB/s | 48.6 KiB | 00m00s [ 42/155] readline-0:8.2-11.fc42.x86_64 100% | 8.3 MiB/s | 213.4 KiB | 00m00s [ 43/155] libarchive-0:3.7.7-1.fc42.x86 100% | 13.0 MiB/s | 413.9 KiB | 00m00s [ 44/155] popt-0:1.19-7.fc41.x86_64 100% | 2.1 MiB/s | 65.9 KiB | 00m00s [ 45/155] rpm-0:4.20.0-1.fc42.x86_64 100% | 16.2 MiB/s | 547.3 KiB | 00m00s [ 46/155] rpm-build-libs-0:4.20.0-1.fc4 100% | 3.1 MiB/s | 98.7 KiB | 00m00s [ 47/155] rpm-libs-0:4.20.0-1.fc42.x86_ 100% | 8.6 MiB/s | 309.5 KiB | 00m00s [ 48/155] zstd-0:1.5.6-2.fc41.x86_64 100% | 16.8 MiB/s | 481.5 KiB | 00m00s [ 49/155] audit-libs-0:4.0.2-1.fc41.x86 100% | 4.0 MiB/s | 126.2 KiB | 00m00s [ 50/155] libeconf-0:0.7.5-1.fc42.x86_6 100% | 1.2 MiB/s | 33.1 KiB | 00m00s [ 51/155] libsemanage-0:3.8-0.rc1.1.fc4 100% | 4.7 MiB/s | 115.9 KiB | 00m00s [ 52/155] libxcrypt-0:4.4.36-11.fc42.x8 100% | 4.1 MiB/s | 118.1 KiB | 00m00s [ 53/155] pam-libs-0:1.7.0-3.fc42.x86_6 100% | 2.0 MiB/s | 58.0 KiB | 00m00s [ 54/155] setup-0:2.15.0-5.fc41.noarch 100% | 6.0 MiB/s | 154.4 KiB | 00m00s [ 55/155] xz-libs-1:5.6.3-2.fc42.x86_64 100% | 3.9 MiB/s | 111.9 KiB | 00m00s [ 56/155] mpfr-0:4.2.1-5.fc41.x86_64 100% | 10.6 MiB/s | 346.3 KiB | 00m00s [ 57/155] ansible-srpm-macros-0:1-16.fc 100% | 769.4 KiB/s | 20.8 KiB | 00m00s [ 58/155] build-reproducibility-srpm-ma 100% | 372.7 KiB/s | 11.2 KiB | 00m00s [ 59/155] dwz-0:0.15-8.fc42.x86_64 100% | 4.5 MiB/s | 139.1 KiB | 00m00s [ 60/155] efi-srpm-macros-0:5-13.fc42.n 100% | 1.0 MiB/s | 22.5 KiB | 00m00s [ 61/155] filesystem-srpm-macros-0:3.18 100% | 954.4 KiB/s | 23.9 KiB | 00m00s [ 62/155] fonts-srpm-macros-1:2.0.5-17. 100% | 1.1 MiB/s | 27.0 KiB | 00m00s [ 63/155] forge-srpm-macros-0:0.4.0-1.f 100% | 859.1 KiB/s | 19.8 KiB | 00m00s [ 64/155] gnat-srpm-macros-0:6-6.fc41.n 100% | 373.0 KiB/s | 9.0 KiB | 00m00s [ 65/155] fpc-srpm-macros-0:1.3-13.fc41 100% | 294.9 KiB/s | 8.0 KiB | 00m00s [ 66/155] ghc-srpm-macros-0:1.9.2-1.fc4 100% | 337.7 KiB/s | 9.1 KiB | 00m00s [ 67/155] lua-srpm-macros-0:1-14.fc41.n 100% | 286.4 KiB/s | 8.9 KiB | 00m00s [ 68/155] go-srpm-macros-0:3.6.0-5.fc42 100% | 798.9 KiB/s | 28.0 KiB | 00m00s [ 69/155] kernel-srpm-macros-0:1.0-24.f 100% | 281.9 KiB/s | 9.9 KiB | 00m00s [ 70/155] ocaml-srpm-macros-0:10-3.fc41 100% | 400.0 KiB/s | 9.2 KiB | 00m00s [ 71/155] openblas-srpm-macros-0:2-18.f 100% | 275.5 KiB/s | 7.7 KiB | 00m00s [ 72/155] package-notes-srpm-macros-0:0 100% | 351.0 KiB/s | 9.8 KiB | 00m00s [ 73/155] perl-srpm-macros-0:1-56.fc41. 100% | 354.7 KiB/s | 8.5 KiB | 00m00s [ 74/155] python-srpm-macros-0:3.13-3.f 100% | 878.6 KiB/s | 23.7 KiB | 00m00s [ 75/155] pyproject-srpm-macros-0:1.16. 100% | 495.2 KiB/s | 13.9 KiB | 00m00s [ 76/155] qt5-srpm-macros-0:5.15.15-1.f 100% | 370.8 KiB/s | 8.9 KiB | 00m00s [ 77/155] qt6-srpm-macros-0:6.8.1-4.fc4 100% | 343.2 KiB/s | 9.3 KiB | 00m00s [ 78/155] rust-srpm-macros-0:26.3-3.fc4 100% | 432.1 KiB/s | 12.1 KiB | 00m00s [ 79/155] zig-srpm-macros-0:1-3.fc41.no 100% | 353.2 KiB/s | 8.1 KiB | 00m00s [ 80/155] zip-0:3.0-42.fc42.x86_64 100% | 8.4 MiB/s | 256.7 KiB | 00m00s [ 81/155] libblkid-0:2.40.2-8.fc42.x86_ 100% | 4.1 MiB/s | 125.0 KiB | 00m00s [ 82/155] libcap-ng-0:0.8.5-3.fc41.x86_ 100% | 1.3 MiB/s | 32.6 KiB | 00m00s [ 83/155] libsmartcols-0:2.40.2-8.fc42. 100% | 3.4 MiB/s | 83.9 KiB | 00m00s [ 84/155] libfdisk-0:2.40.2-8.fc42.x86_ 100% | 5.2 MiB/s | 159.6 KiB | 00m00s [ 85/155] libmount-0:2.40.2-8.fc42.x86_ 100% | 5.1 MiB/s | 156.1 KiB | 00m00s [ 86/155] libuuid-0:2.40.2-8.fc42.x86_6 100% | 1.2 MiB/s | 29.0 KiB | 00m00s [ 87/155] zlib-ng-compat-0:2.2.2-1.fc42 100% | 239.7 KiB/s | 76.9 KiB | 00m00s [ 88/155] util-linux-core-0:2.40.2-8.fc 100% | 1.6 MiB/s | 537.3 KiB | 00m00s [ 89/155] glibc-gconv-extra-0:2.40.9000 100% | 4.9 MiB/s | 1.5 MiB | 00m00s [ 90/155] basesystem-0:11-21.fc41.noarc 100% | 273.0 KiB/s | 7.4 KiB | 00m00s [ 91/155] ncurses-base-0:6.5-2.20240629 100% | 3.0 MiB/s | 88.4 KiB | 00m00s [ 92/155] libsepol-0:3.8-0.rc1.1.fc42.x 100% | 10.9 MiB/s | 345.7 KiB | 00m00s [ 93/155] fedora-gpg-keys-0:42-0.3.noar 100% | 2.2 MiB/s | 133.6 KiB | 00m00s [ 94/155] ca-certificates-0:2024.2.69_v 100% | 12.5 MiB/s | 944.5 KiB | 00m00s [ 95/155] crypto-policies-0:20241128-1. 100% | 1.0 MiB/s | 98.4 KiB | 00m00s [ 96/155] fedora-repos-rawhide-0:42-0.3 100% | 313.0 KiB/s | 8.8 KiB | 00m00s [ 97/155] elfutils-debuginfod-client-0: 100% | 1.4 MiB/s | 43.9 KiB | 00m00s [ 98/155] libzstd-0:1.5.6-2.fc41.x86_64 100% | 13.2 MiB/s | 310.3 KiB | 00m00s [ 99/155] file-libs-0:5.45-8.fc42.x86_6 100% | 21.3 MiB/s | 763.6 KiB | 00m00s [100/155] libxml2-0:2.12.8-2.fc41.x86_6 100% | 9.1 MiB/s | 687.3 KiB | 00m00s [101/155] elfutils-libs-0:0.192-7.fc42. 100% | 1.5 MiB/s | 251.9 KiB | 00m00s [102/155] lz4-libs-0:1.10.0-1.fc41.x86_ 100% | 2.6 MiB/s | 70.7 KiB | 00m00s [103/155] curl-0:8.11.1-2.fc42.x86_64 100% | 6.9 MiB/s | 220.2 KiB | 00m00s [104/155] lua-libs-0:5.4.7-1.fc42.x86_6 100% | 4.4 MiB/s | 132.1 KiB | 00m00s [105/155] rpm-sequoia-0:1.7.0-3.fc42.x8 100% | 22.4 MiB/s | 826.0 KiB | 00m00s [106/155] pcre2-syntax-0:10.44-1.fc41.1 100% | 578.8 KiB/s | 149.9 KiB | 00m00s [107/155] add-determinism-0:0.4.3-1.fc4 100% | 23.9 MiB/s | 904.4 KiB | 00m00s [108/155] elfutils-default-yama-scope-0 100% | 377.7 KiB/s | 12.5 KiB | 00m00s [109/155] json-c-0:0.18-1.fc42.x86_64 100% | 1.7 MiB/s | 44.4 KiB | 00m00s [110/155] sqlite-libs-0:3.47.2-1.fc42.x 100% | 3.9 MiB/s | 699.8 KiB | 00m00s [111/155] libgcc-0:15.0.0-0.2.fc42.x86_ 100% | 410.8 KiB/s | 104.8 KiB | 00m00s [112/155] p11-kit-trust-0:0.25.5-4.fc42 100% | 807.1 KiB/s | 133.2 KiB | 00m00s [113/155] binutils-0:2.43.50-9.fc42.x86 100% | 13.9 MiB/s | 5.8 MiB | 00m00s [114/155] pam-0:1.7.0-3.fc42.x86_64 100% | 1.7 MiB/s | 554.3 KiB | 00m00s [115/155] p11-kit-0:0.25.5-4.fc42.x86_6 100% | 15.0 MiB/s | 492.0 KiB | 00m00s [116/155] libffi-0:3.4.6-3.fc42.x86_64 100% | 1.7 MiB/s | 40.0 KiB | 00m00s [117/155] alternatives-0:1.30-1.fc41.x8 100% | 1.7 MiB/s | 42.5 KiB | 00m00s [118/155] jansson-0:2.14-1.fc42.x86_64 100% | 1.5 MiB/s | 45.3 KiB | 00m00s [119/155] pkgconf-pkg-config-0:2.3.0-1. 100% | 357.5 KiB/s | 10.0 KiB | 00m00s [120/155] authselect-0:1.5.0-8.fc42.x86 100% | 6.5 MiB/s | 145.8 KiB | 00m00s [121/155] gdbm-1:1.23-7.fc41.x86_64 100% | 7.1 MiB/s | 151.8 KiB | 00m00s [122/155] authselect-libs-0:1.5.0-8.fc4 100% | 2.3 MiB/s | 218.0 KiB | 00m00s [123/155] gdbm-libs-1:1.23-7.fc41.x86_6 100% | 2.7 MiB/s | 56.3 KiB | 00m00s [124/155] libnsl2-0:2.0.1-2.fc41.x86_64 100% | 1.4 MiB/s | 29.6 KiB | 00m00s [125/155] libtirpc-0:1.3.6-1.fc42.x86_6 100% | 2.9 MiB/s | 94.9 KiB | 00m00s [126/155] libtasn1-0:4.19.0-9.fc41.x86_ 100% | 2.0 MiB/s | 74.2 KiB | 00m00s [127/155] pkgconf-m4-0:2.3.0-1.fc42.noa 100% | 530.4 KiB/s | 14.3 KiB | 00m00s [128/155] libpwquality-0:1.4.5-11.fc41. 100% | 1.5 MiB/s | 119.1 KiB | 00m00s [129/155] cracklib-0:2.9.11-6.fc41.x86_ 100% | 4.7 MiB/s | 92.0 KiB | 00m00s [130/155] pkgconf-0:2.3.0-1.fc42.x86_64 100% | 664.4 KiB/s | 45.2 KiB | 00m00s [131/155] libcom_err-0:1.47.1-6.fc42.x8 100% | 1.1 MiB/s | 26.6 KiB | 00m00s [132/155] libpkgconf-0:2.3.0-1.fc42.x86 100% | 1.3 MiB/s | 38.5 KiB | 00m00s [133/155] libverto-0:0.3.2-9.fc41.x86_6 100% | 739.0 KiB/s | 20.7 KiB | 00m00s [134/155] keyutils-libs-0:1.6.3-4.fc41. 100% | 162.3 KiB/s | 31.6 KiB | 00m00s [135/155] libacl-0:2.3.2-2.fc42.x86_64 100% | 1.1 MiB/s | 23.5 KiB | 00m00s [136/155] libgomp-0:15.0.0-0.2.fc42.x86 100% | 1.2 MiB/s | 331.8 KiB | 00m00s [137/155] fedora-release-0:42-0.11.noar 100% | 463.6 KiB/s | 13.0 KiB | 00m00s [138/155] gdb-minimal-0:15.2-4.fc42.x86 100% | 6.3 MiB/s | 4.0 MiB | 00m01s [139/155] xxhash-libs-0:0.8.2-4.fc42.x8 100% | 1.9 MiB/s | 36.8 KiB | 00m00s [140/155] fedora-release-identity-basic 100% | 599.4 KiB/s | 13.8 KiB | 00m00s [141/155] krb5-libs-0:1.21.3-3.fc42.x86 100% | 613.2 KiB/s | 760.4 KiB | 00m01s [142/155] libcurl-0:8.11.1-2.fc42.x86_6 100% | 9.2 MiB/s | 356.7 KiB | 00m00s [143/155] libidn2-0:2.3.7-2.fc41.x86_64 100% | 5.8 MiB/s | 118.4 KiB | 00m00s [144/155] libnghttp2-0:1.64.0-1.fc42.x8 100% | 3.8 MiB/s | 77.4 KiB | 00m00s [145/155] libpsl-0:0.21.5-4.fc41.x86_64 100% | 3.3 MiB/s | 64.1 KiB | 00m00s [146/155] libssh-0:0.11.1-1.fc42.x86_64 100% | 9.8 MiB/s | 231.9 KiB | 00m00s [147/155] openldap-0:2.6.8-6.fc42.x86_6 100% | 2.5 MiB/s | 243.4 KiB | 00m00s [148/155] libstdc++-0:15.0.0-0.2.fc42.x 100% | 594.0 KiB/s | 814.9 KiB | 00m01s [149/155] publicsuffix-list-dafsa-0:202 100% | 1.5 MiB/s | 58.3 KiB | 00m00s [150/155] libunistring-0:1.1-8.fc41.x86 100% | 9.3 MiB/s | 544.8 KiB | 00m00s [151/155] libssh-config-0:0.11.1-1.fc42 100% | 521.4 KiB/s | 9.4 KiB | 00m00s [152/155] libbrotli-0:1.1.0-5.fc41.x86_ 100% | 1.1 MiB/s | 340.5 KiB | 00m00s [153/155] libtool-ltdl-0:2.5.4-1.fc42.x 100% | 2.8 MiB/s | 34.7 KiB | 00m00s [154/155] libevent-0:2.1.12-14.fc41.x86 100% | 4.4 MiB/s | 257.5 KiB | 00m00s [155/155] cyrus-sasl-lib-0:2.1.28-27.fc 100% | 9.8 MiB/s | 794.9 KiB | 00m00s -------------------------------------------------------------------------------- [155/155] Total 100% | 13.0 MiB/s | 51.9 MiB | 00m04s Running transaction Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0xE99D6AD1: UserID : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. [ 1/157] Verify package files 100% | 724.0 B/s | 155.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-29.fc42.x86_64 >>> Finished pre-transaction scriptlet: filesystem-0:3.18-29.fc42.x86_64 >>> [RPM] /var/lib/mock/fedora-rawhide-x86_64-1734547885.428469/root/var/cache/d [ 2/157] Prepare transaction 100% | 1.8 KiB/s | 155.0 B | 00m00s [ 3/157] Installing libgcc-0:15.0.0-0. 100% | 87.4 MiB/s | 268.6 KiB | 00m00s [ 4/157] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/157] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 6/157] Installing fedora-release-ide 100% | 0.0 B/s | 976.0 B | 00m00s [ 7/157] Installing fedora-repos-rawhi 100% | 2.4 MiB/s | 2.4 KiB | 00m00s [ 8/157] Installing fedora-gpg-keys-0: 100% | 16.8 MiB/s | 172.2 KiB | 00m00s [ 9/157] Installing fedora-repos-0:42- 100% | 5.6 MiB/s | 5.7 KiB | 00m00s [ 10/157] Installing fedora-release-com 100% | 2.0 MiB/s | 24.1 KiB | 00m00s [ 11/157] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/157] Installing setup-0:2.15.0-5.f 100% | 41.7 MiB/s | 726.1 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/157] Installing filesystem-0:3.18- 100% | 1.0 MiB/s | 212.6 KiB | 00m00s [ 14/157] Installing basesystem-0:11-21 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/157] Installing pkgconf-m4-0:2.3.0 100% | 14.5 MiB/s | 14.8 KiB | 00m00s [ 16/157] Installing pcre2-syntax-0:10. 100% | 82.7 MiB/s | 254.1 KiB | 00m00s [ 17/157] Installing ncurses-base-0:6.5 100% | 26.4 MiB/s | 351.7 KiB | 00m00s [ 18/157] Installing glibc-minimal-lang 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 19/157] Installing ncurses-libs-0:6.5 100% | 119.9 MiB/s | 981.8 KiB | 00m00s [ 20/157] Installing glibc-0:2.40.9000- 100% | 148.3 MiB/s | 6.7 MiB | 00m00s [ 21/157] Installing bash-0:5.2.37-1.fc 100% | 72.9 MiB/s | 8.2 MiB | 00m00s [ 22/157] Installing glibc-common-0:2.4 100% | 4.7 MiB/s | 1.0 MiB | 00m00s [ 23/157] Installing glibc-gconv-extra- 100% | 54.6 MiB/s | 8.1 MiB | 00m00s [ 24/157] Installing zlib-ng-compat-0:2 100% | 131.7 MiB/s | 134.9 KiB | 00m00s [ 25/157] Installing bzip2-libs-0:1.0.8 100% | 79.9 MiB/s | 81.8 KiB | 00m00s [ 26/157] Installing xz-libs-1:5.6.3-2. 100% | 107.2 MiB/s | 219.5 KiB | 00m00s [ 27/157] Installing popt-0:1.19-7.fc41 100% | 28.0 MiB/s | 143.5 KiB | 00m00s [ 28/157] Installing readline-0:8.2-11. 100% | 96.7 MiB/s | 495.3 KiB | 00m00s [ 29/157] Installing libuuid-0:2.40.2-8 100% | 41.5 MiB/s | 42.5 KiB | 00m00s [ 30/157] Installing libblkid-0:2.40.2- 100% | 128.7 MiB/s | 263.6 KiB | 00m00s [ 31/157] Installing gmp-1:6.3.0-2.fc41 100% | 158.9 MiB/s | 813.7 KiB | 00m00s [ 32/157] Installing libattr-0:2.5.2-4. 100% | 28.8 MiB/s | 29.5 KiB | 00m00s [ 33/157] Installing libacl-0:2.3.2-2.f 100% | 38.2 MiB/s | 39.2 KiB | 00m00s [ 34/157] Installing libxcrypt-0:4.4.36 100% | 66.9 MiB/s | 274.1 KiB | 00m00s [ 35/157] Installing libzstd-0:1.5.6-2. 100% | 194.6 MiB/s | 797.2 KiB | 00m00s [ 36/157] Installing elfutils-libelf-0: 100% | 10.3 MiB/s | 1.2 MiB | 00m00s [ 37/157] Installing libstdc++-0:15.0.0 100% | 171.9 MiB/s | 2.8 MiB | 00m00s [ 38/157] Installing libeconf-0:0.7.5-1 100% | 66.8 MiB/s | 68.4 KiB | 00m00s [ 39/157] Installing gdbm-libs-1:1.23-7 100% | 3.2 MiB/s | 123.6 KiB | 00m00s [ 40/157] Installing dwz-0:0.15-8.fc42. 100% | 97.8 MiB/s | 300.6 KiB | 00m00s [ 41/157] Installing mpfr-0:4.2.1-5.fc4 100% | 162.8 MiB/s | 833.7 KiB | 00m00s [ 42/157] Installing gawk-0:5.3.0-4.fc4 100% | 115.5 MiB/s | 1.7 MiB | 00m00s [ 43/157] Installing unzip-0:6.0-65.fc4 100% | 24.5 MiB/s | 401.7 KiB | 00m00s [ 44/157] Installing file-libs-0:5.45-8 100% | 180.7 MiB/s | 9.9 MiB | 00m00s [ 45/157] Installing file-0:5.45-8.fc42 100% | 5.7 MiB/s | 105.2 KiB | 00m00s [ 46/157] Installing crypto-policies-0: 100% | 12.3 MiB/s | 163.7 KiB | 00m00s [ 47/157] Installing pcre2-0:10.44-1.fc 100% | 17.3 MiB/s | 654.9 KiB | 00m00s [ 48/157] Installing grep-0:3.11-9.fc41 100% | 91.2 MiB/s | 1.0 MiB | 00m00s [ 49/157] Installing xz-1:5.6.3-2.fc42. 100% | 31.7 MiB/s | 1.2 MiB | 00m00s [ 50/157] Installing libcap-ng-0:0.8.5- 100% | 34.7 MiB/s | 71.0 KiB | 00m00s [ 51/157] Installing audit-libs-0:4.0.2 100% | 108.5 MiB/s | 333.4 KiB | 00m00s [ 52/157] Installing pam-libs-0:1.7.0-3 100% | 10.7 MiB/s | 141.8 KiB | 00m00s [ 53/157] Installing libcap-0:2.71-1.fc 100% | 52.7 MiB/s | 215.8 KiB | 00m00s [ 54/157] Installing systemd-libs-0:257 100% | 100.9 MiB/s | 2.2 MiB | 00m00s [ 55/157] Installing libsmartcols-0:2.4 100% | 88.6 MiB/s | 181.4 KiB | 00m00s [ 56/157] Installing libsepol-0:3.8-0.r 100% | 42.3 MiB/s | 823.0 KiB | 00m00s [ 57/157] Installing libselinux-0:3.8-0 100% | 94.2 MiB/s | 192.9 KiB | 00m00s [ 58/157] Installing sed-0:4.9-3.fc41.x 100% | 77.2 MiB/s | 869.7 KiB | 00m00s [ 59/157] Installing findutils-1:4.10.0 100% | 116.1 MiB/s | 1.9 MiB | 00m00s [ 60/157] Installing libmount-0:2.40.2- 100% | 174.3 MiB/s | 356.9 KiB | 00m00s [ 61/157] Installing lz4-libs-0:1.10.0- 100% | 71.6 MiB/s | 146.6 KiB | 00m00s [ 62/157] Installing lua-libs-0:5.4.7-1 100% | 93.2 MiB/s | 286.2 KiB | 00m00s [ 63/157] Installing libffi-0:3.4.6-3.f 100% | 85.7 MiB/s | 87.8 KiB | 00m00s [ 64/157] Installing alternatives-0:1.3 100% | 1.7 MiB/s | 67.9 KiB | 00m00s [ 65/157] Installing libtasn1-0:4.19.0- 100% | 86.7 MiB/s | 177.5 KiB | 00m00s [ 66/157] Installing p11-kit-0:0.25.5-4 100% | 110.8 MiB/s | 2.2 MiB | 00m00s [ 67/157] Installing libcom_err-0:1.47. 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 68/157] Installing libunistring-0:1.1 100% | 173.1 MiB/s | 1.7 MiB | 00m00s [ 69/157] Installing libidn2-0:2.3.7-2. 100% | 36.4 MiB/s | 335.1 KiB | 00m00s [ 70/157] Installing libpsl-0:0.21.5-4. 100% | 79.7 MiB/s | 81.7 KiB | 00m00s [ 71/157] Installing p11-kit-trust-0:0. 100% | 20.8 MiB/s | 405.5 KiB | 00m00s [ 72/157] Installing zstd-0:1.5.6-2.fc4 100% | 25.2 MiB/s | 1.7 MiB | 00m00s [ 73/157] Installing util-linux-core-0: 100% | 16.8 MiB/s | 1.5 MiB | 00m00s [ 74/157] Installing tar-2:1.35-4.fc41. 100% | 92.4 MiB/s | 3.0 MiB | 00m00s [ 75/157] Installing libsemanage-0:3.8- 100% | 42.8 MiB/s | 307.1 KiB | 00m00s [ 76/157] Installing shadow-utils-2:4.1 100% | 38.9 MiB/s | 4.1 MiB | 00m00s [ 77/157] Installing zip-0:3.0-42.fc42. 100% | 38.0 MiB/s | 699.8 KiB | 00m00s [ 78/157] Installing gdbm-1:1.23-7.fc41 100% | 45.5 MiB/s | 465.8 KiB | 00m00s [ 79/157] Installing cyrus-sasl-lib-0:2 100% | 62.3 MiB/s | 2.3 MiB | 00m00s [ 80/157] Installing libfdisk-0:2.40.2- 100% | 50.8 MiB/s | 364.0 KiB | 00m00s [ 81/157] Installing libxml2-0:2.12.8-2 100% | 85.6 MiB/s | 1.7 MiB | 00m00s [ 82/157] Installing bzip2-0:1.0.8-19.f 100% | 16.3 MiB/s | 100.2 KiB | 00m00s [ 83/157] Installing sqlite-libs-0:3.47 100% | 119.5 MiB/s | 1.4 MiB | 00m00s [ 84/157] Installing add-determinism-0: 100% | 78.4 MiB/s | 2.4 MiB | 00m00s [ 85/157] Installing build-reproducibil 100% | 500.0 KiB/s | 1.0 KiB | 00m00s [ 86/157] Installing ed-0:1.20.2-2.fc41 100% | 36.4 MiB/s | 149.2 KiB | 00m00s [ 87/157] Installing patch-0:2.7.6-25.f 100% | 37.4 MiB/s | 268.2 KiB | 00m00s [ 88/157] Installing filesystem-srpm-ma 100% | 18.0 MiB/s | 36.8 KiB | 00m00s [ 89/157] Installing elfutils-default-y 100% | 102.1 KiB/s | 2.0 KiB | 00m00s [ 90/157] Installing elfutils-libs-0:0. 100% | 81.1 MiB/s | 664.7 KiB | 00m00s [ 91/157] Installing cpio-0:2.15-2.fc41 100% | 50.0 MiB/s | 1.1 MiB | 00m00s [ 92/157] Installing diffutils-0:3.10-8 100% | 66.3 MiB/s | 1.6 MiB | 00m00s [ 93/157] Installing json-c-0:0.18-1.fc 100% | 16.5 MiB/s | 84.6 KiB | 00m00s [ 94/157] Installing jansson-0:2.14-1.f 100% | 30.8 MiB/s | 94.5 KiB | 00m00s [ 95/157] Installing libpkgconf-0:2.3.0 100% | 25.8 MiB/s | 79.3 KiB | 00m00s [ 96/157] Installing pkgconf-0:2.3.0-1. 100% | 22.2 MiB/s | 91.1 KiB | 00m00s [ 97/157] Installing pkgconf-pkg-config 100% | 886.7 KiB/s | 1.8 KiB | 00m00s [ 98/157] Installing keyutils-libs-0:1. 100% | 27.2 MiB/s | 55.8 KiB | 00m00s [ 99/157] Installing libverto-0:0.3.2-9 100% | 10.2 MiB/s | 31.3 KiB | 00m00s [100/157] Installing libgomp-0:15.0.0-0 100% | 64.8 MiB/s | 530.7 KiB | 00m00s [101/157] Installing xxhash-libs-0:0.8. 100% | 29.2 MiB/s | 89.8 KiB | 00m00s [102/157] Installing libbrotli-0:1.1.0- 100% | 117.2 MiB/s | 839.9 KiB | 00m00s [103/157] Installing libnghttp2-0:1.64. 100% | 57.2 MiB/s | 175.6 KiB | 00m00s [104/157] Installing libtool-ltdl-0:2.5 100% | 16.9 MiB/s | 69.2 KiB | 00m00s [105/157] Installing rust-srpm-macros-0 100% | 2.7 MiB/s | 5.6 KiB | 00m00s [106/157] Installing qt6-srpm-macros-0: 100% | 714.8 KiB/s | 732.0 B | 00m00s [107/157] Installing qt5-srpm-macros-0: 100% | 757.8 KiB/s | 776.0 B | 00m00s [108/157] Installing perl-srpm-macros-0 100% | 1.1 MiB/s | 1.1 KiB | 00m00s [109/157] Installing package-notes-srpm 100% | 2.0 MiB/s | 2.0 KiB | 00m00s [110/157] Installing openblas-srpm-macr 100% | 382.8 KiB/s | 392.0 B | 00m00s [111/157] Installing ocaml-srpm-macros- 100% | 1.1 MiB/s | 2.2 KiB | 00m00s [112/157] Installing kernel-srpm-macros 100% | 2.3 MiB/s | 2.3 KiB | 00m00s [113/157] Installing gnat-srpm-macros-0 100% | 1.2 MiB/s | 1.3 KiB | 00m00s [114/157] Installing ghc-srpm-macros-0: 100% | 1.0 MiB/s | 1.0 KiB | 00m00s [115/157] Installing fpc-srpm-macros-0: 100% | 68.4 KiB/s | 420.0 B | 00m00s [116/157] Installing ansible-srpm-macro 100% | 17.7 MiB/s | 36.2 KiB | 00m00s [117/157] Installing coreutils-common-0 100% | 39.5 MiB/s | 11.2 MiB | 00m00s [118/157] Installing openssl-libs-1:3.2 100% | 110.3 MiB/s | 7.8 MiB | 00m00s [119/157] Installing coreutils-0:9.5-11 100% | 73.0 MiB/s | 5.4 MiB | 00m00s [120/157] Installing ca-certificates-0: 100% | 860.8 KiB/s | 2.4 MiB | 00m03s [121/157] Installing krb5-libs-0:1.21.3 100% | 82.3 MiB/s | 2.3 MiB | 00m00s [122/157] Installing libarchive-0:3.7.7 100% | 91.2 MiB/s | 934.2 KiB | 00m00s [123/157] Installing libtirpc-0:1.3.6-1 100% | 67.5 MiB/s | 207.3 KiB | 00m00s [124/157] Installing gzip-0:1.13-2.fc41 100% | 55.0 MiB/s | 394.6 KiB | 00m00s [125/157] Installing authselect-libs-0: 100% | 38.9 MiB/s | 837.2 KiB | 00m00s [126/157] Installing cracklib-0:2.9.11- 100% | 10.6 MiB/s | 250.3 KiB | 00m00s [127/157] Installing libpwquality-0:1.4 100% | 38.2 MiB/s | 430.1 KiB | 00m00s [128/157] Installing libnsl2-0:2.0.1-2. 100% | 28.8 MiB/s | 59.1 KiB | 00m00s [129/157] Installing pam-0:1.7.0-3.fc42 100% | 45.1 MiB/s | 1.9 MiB | 00m00s [130/157] Installing libssh-0:0.11.1-1. 100% | 111.7 MiB/s | 571.7 KiB | 00m00s [131/157] Installing rpm-sequoia-0:1.7. 100% | 38.7 MiB/s | 2.3 MiB | 00m00s [132/157] Installing rpm-libs-0:4.20.0- 100% | 59.2 MiB/s | 727.7 KiB | 00m00s [133/157] Installing rpm-build-libs-0:4 100% | 101.3 MiB/s | 207.5 KiB | 00m00s [134/157] Installing libevent-0:2.1.12- 100% | 109.8 MiB/s | 899.5 KiB | 00m00s [135/157] Installing openldap-0:2.6.8-6 100% | 70.7 MiB/s | 651.2 KiB | 00m00s [136/157] Installing libcurl-0:8.11.1-2 100% | 133.2 MiB/s | 818.4 KiB | 00m00s [137/157] Installing elfutils-debuginfo 100% | 7.4 MiB/s | 83.8 KiB | 00m00s [138/157] Installing elfutils-0:0.192-7 100% | 110.2 MiB/s | 2.6 MiB | 00m00s [139/157] Installing binutils-0:2.43.50 100% | 118.9 MiB/s | 25.8 MiB | 00m00s [140/157] Installing gdb-minimal-0:15.2 100% | 95.0 MiB/s | 12.7 MiB | 00m00s [141/157] Installing debugedit-0:5.1-2. 100% | 66.1 MiB/s | 203.0 KiB | 00m00s [142/157] Installing curl-0:8.11.1-2.fc 100% | 15.9 MiB/s | 454.5 KiB | 00m00s [143/157] Installing rpm-0:4.20.0-1.fc4 100% | 53.3 MiB/s | 2.5 MiB | 00m00s [144/157] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [145/157] Installing lua-srpm-macros-0: 100% | 1.9 MiB/s | 1.9 KiB | 00m00s [146/157] Installing zig-srpm-macros-0: 100% | 1.6 MiB/s | 1.7 KiB | 00m00s [147/157] Installing fonts-srpm-macros- 100% | 27.8 MiB/s | 57.0 KiB | 00m00s [148/157] Installing forge-srpm-macros- 100% | 9.8 MiB/s | 40.3 KiB | 00m00s [149/157] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [150/157] Installing python-srpm-macros 100% | 25.5 MiB/s | 52.2 KiB | 00m00s [151/157] Installing redhat-rpm-config- 100% | 37.7 MiB/s | 193.2 KiB | 00m00s [152/157] Installing rpm-build-0:4.20.0 100% | 18.0 MiB/s | 202.9 KiB | 00m00s [153/157] Installing pyproject-srpm-mac 100% | 1.2 MiB/s | 2.5 KiB | 00m00s [154/157] Installing util-linux-0:2.40. 100% | 65.2 MiB/s | 3.7 MiB | 00m00s [155/157] Installing authselect-0:1.5.0 100% | 31.6 MiB/s | 161.9 KiB | 00m00s [156/157] Installing which-0:2.21-42.fc 100% | 40.2 MiB/s | 82.4 KiB | 00m00s [157/157] Installing info-0:7.1.1-2.fc4 100% | 118.1 KiB/s | 362.2 KiB | 00m03s Warning: skipped OpenPGP checks for 6 packages from repositories: copr_base, https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.4.3-1.fc42.x86_64 alternatives-1.30-1.fc41.x86_64 ansible-srpm-macros-1-16.fc41.noarch audit-libs-4.0.2-1.fc41.x86_64 authselect-1.5.0-8.fc42.x86_64 authselect-libs-1.5.0-8.fc42.x86_64 basesystem-11-21.fc41.noarch bash-5.2.37-1.fc42.x86_64 binutils-2.43.50-9.fc42.x86_64 build-reproducibility-srpm-macros-0.4.3-1.fc42.noarch bzip2-1.0.8-19.fc41.x86_64 bzip2-libs-1.0.8-19.fc41.x86_64 ca-certificates-2024.2.69_v8.0.401-3.fc42.noarch coreutils-9.5-11.fc42.x86_64 coreutils-common-9.5-11.fc42.x86_64 cpio-2.15-2.fc41.x86_64 cracklib-2.9.11-6.fc41.x86_64 crypto-policies-20241128-1.gitbb7b0b0.fc42.noarch curl-8.11.1-2.fc42.x86_64 cyrus-sasl-lib-2.1.28-27.fc41.x86_64 debugedit-5.1-2.fc42.x86_64 diffutils-3.10-8.fc41.x86_64 dwz-0.15-8.fc42.x86_64 ed-1.20.2-2.fc41.x86_64 efi-srpm-macros-5-13.fc42.noarch elfutils-0.192-7.fc42.x86_64 elfutils-debuginfod-client-0.192-7.fc42.x86_64 elfutils-default-yama-scope-0.192-7.fc42.noarch elfutils-libelf-0.192-7.fc42.x86_64 elfutils-libs-0.192-7.fc42.x86_64 fedora-gpg-keys-42-0.3.noarch fedora-release-42-0.11.noarch fedora-release-common-42-0.11.noarch fedora-release-identity-basic-42-0.11.noarch fedora-repos-42-0.3.noarch fedora-repos-rawhide-42-0.3.noarch file-5.45-8.fc42.x86_64 file-libs-5.45-8.fc42.x86_64 filesystem-3.18-29.fc42.x86_64 filesystem-srpm-macros-3.18-29.fc42.noarch findutils-4.10.0-4.fc41.x86_64 fonts-srpm-macros-2.0.5-17.fc41.noarch forge-srpm-macros-0.4.0-1.fc42.noarch fpc-srpm-macros-1.3-13.fc41.noarch gawk-5.3.0-4.fc41.x86_64 gdb-minimal-15.2-4.fc42.x86_64 gdbm-1.23-7.fc41.x86_64 gdbm-libs-1.23-7.fc41.x86_64 ghc-srpm-macros-1.9.2-1.fc42.noarch glibc-2.40.9000-24.fc42.x86_64 glibc-common-2.40.9000-24.fc42.x86_64 glibc-gconv-extra-2.40.9000-24.fc42.x86_64 glibc-minimal-langpack-2.40.9000-24.fc42.x86_64 gmp-6.3.0-2.fc41.x86_64 gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-5.fc42.noarch gpg-pubkey-105ef944-65ca83d1 gpg-pubkey-31645531-66b6dccf gpg-pubkey-e99d6ad1-64d2612c grep-3.11-9.fc41.x86_64 gzip-1.13-2.fc41.x86_64 info-7.1.1-2.fc42.x86_64 jansson-2.14-1.fc42.x86_64 json-c-0.18-1.fc42.x86_64 kernel-srpm-macros-1.0-24.fc41.noarch keyutils-libs-1.6.3-4.fc41.x86_64 krb5-libs-1.21.3-3.fc42.x86_64 libacl-2.3.2-2.fc42.x86_64 libarchive-3.7.7-1.fc42.x86_64 libattr-2.5.2-4.fc41.x86_64 libblkid-2.40.2-8.fc42.x86_64 libbrotli-1.1.0-5.fc41.x86_64 libcap-2.71-1.fc42.x86_64 libcap-ng-0.8.5-3.fc41.x86_64 libcom_err-1.47.1-6.fc42.x86_64 libcurl-8.11.1-2.fc42.x86_64 libeconf-0.7.5-1.fc42.x86_64 libevent-2.1.12-14.fc41.x86_64 libfdisk-2.40.2-8.fc42.x86_64 libffi-3.4.6-3.fc42.x86_64 libgcc-15.0.0-0.2.fc42.x86_64 libgomp-15.0.0-0.2.fc42.x86_64 libidn2-2.3.7-2.fc41.x86_64 libmount-2.40.2-8.fc42.x86_64 libnghttp2-1.64.0-1.fc42.x86_64 libnsl2-2.0.1-2.fc41.x86_64 libpkgconf-2.3.0-1.fc42.x86_64 libpsl-0.21.5-4.fc41.x86_64 libpwquality-1.4.5-11.fc41.x86_64 libselinux-3.8-0.rc1.2.fc42.x86_64 libsemanage-3.8-0.rc1.1.fc42.x86_64 libsepol-3.8-0.rc1.1.fc42.x86_64 libsmartcols-2.40.2-8.fc42.x86_64 libssh-0.11.1-1.fc42.x86_64 libssh-config-0.11.1-1.fc42.noarch libstdc++-15.0.0-0.2.fc42.x86_64 libtasn1-4.19.0-9.fc41.x86_64 libtirpc-1.3.6-1.fc42.x86_64 libtool-ltdl-2.5.4-1.fc42.x86_64 libunistring-1.1-8.fc41.x86_64 libuuid-2.40.2-8.fc42.x86_64 libverto-0.3.2-9.fc41.x86_64 libxcrypt-4.4.36-11.fc42.x86_64 libxml2-2.12.8-2.fc41.x86_64 libzstd-1.5.6-2.fc41.x86_64 lua-libs-5.4.7-1.fc42.x86_64 lua-srpm-macros-1-14.fc41.noarch lz4-libs-1.10.0-1.fc41.x86_64 mpfr-4.2.1-5.fc41.x86_64 ncurses-base-6.5-2.20240629.fc41.noarch ncurses-libs-6.5-2.20240629.fc41.x86_64 ocaml-srpm-macros-10-3.fc41.noarch openblas-srpm-macros-2-18.fc41.noarch openldap-2.6.8-6.fc42.x86_64 openssl-libs-3.2.2-8.fc42.x86_64 p11-kit-0.25.5-4.fc42.x86_64 p11-kit-trust-0.25.5-4.fc42.x86_64 package-notes-srpm-macros-0.5-12.fc41.noarch pam-1.7.0-3.fc42.x86_64 pam-libs-1.7.0-3.fc42.x86_64 patch-2.7.6-25.fc41.x86_64 pcre2-10.44-1.fc41.1.x86_64 pcre2-syntax-10.44-1.fc41.1.noarch perl-srpm-macros-1-56.fc41.noarch pkgconf-2.3.0-1.fc42.x86_64 pkgconf-m4-2.3.0-1.fc42.noarch pkgconf-pkg-config-2.3.0-1.fc42.x86_64 popt-1.19-7.fc41.x86_64 publicsuffix-list-dafsa-20240107-4.fc41.noarch pyproject-srpm-macros-1.16.3-1.fc42.noarch python-srpm-macros-3.13-3.fc41.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.8.1-4.fc42.noarch readline-8.2-11.fc42.x86_64 redhat-rpm-config-300-1.no_annobin.0.fc42.noarch rpm-4.20.0-1.fc42.x86_64 rpm-build-4.20.0-1.fc42.x86_64 rpm-build-libs-4.20.0-1.fc42.x86_64 rpm-libs-4.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-3.fc42.x86_64 rust-srpm-macros-26.3-3.fc42.noarch sed-4.9-3.fc41.x86_64 setup-2.15.0-5.fc41.noarch shadow-utils-4.17.0~rc1-1.fc42.x86_64 sqlite-libs-3.47.2-1.fc42.x86_64 systemd-libs-257-1.fc42.x86_64 tar-1.35-4.fc41.x86_64 unzip-6.0-65.fc42.x86_64 util-linux-2.40.2-8.fc42.x86_64 util-linux-core-2.40.2-8.fc42.x86_64 which-2.21-42.fc41.x86_64 xxhash-libs-0.8.2-4.fc42.x86_64 xz-5.6.3-2.fc42.x86_64 xz-libs-5.6.3-2.fc42.x86_64 zig-srpm-macros-1-3.fc41.noarch zip-3.0-42.fc42.x86_64 zlib-ng-compat-2.2.2-1.fc42.x86_64 zstd-1.5.6-2.fc41.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.fc42.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1734547885.428469/root/var/log/dnf5.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-qwcqz2cp/alpine/alpine.spec) Config(child) 0 minutes 39 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.fc42.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734547885.428469/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1734547885.428469/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/fedora-rawhide-x86_64-1734547885.428469/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.20.0-1.fc42.x86_64 rpm-sequoia-1.7.0-3.fc42.x86_64 dnf5-5.2.8.1-2.fc42.x86_64 dnf5-plugins-5.2.8.1-2.fc42.x86_64 Finish: chroot init Start: build phase for alpine-2.26-15.fc42.src.rpm Start: build setup for alpine-2.26-15.fc42.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.fc42.src.rpm Updating and loading repositories: fedora 100% | 1.0 MiB/s | 26.0 KiB | 00m00s Additional repo https_fedorapeople_org 100% | 20.4 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 42.5 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 3.2 MiB/s | 404.4 KiB | 00m00s Repositories loaded. Package "shadow-utils-2:4.17.0~rc1-1.fc42.x86_64" is already installed.Package Arch Version Repository Size Installing: gcc x86_64 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 109.9 MiB gettext x86_64 0.23-1.fc42 fedora 5.3 MiB hunspell x86_64 1.7.2-8.fc41 fedora 1.3 MiB krb5-devel x86_64 1.21.3-3.fc42 fedora 705.9 KiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB ncurses-devel x86_64 6.5-2.20240629.fc41 fedora 870.1 KiB openldap-devel x86_64 2.6.8-6.fc42 fedora 3.7 MiB openssl-devel x86_64 1:3.2.2-8.fc42 fedora 4.3 MiB pam-devel x86_64 1.7.0-3.fc42 fedora 165.3 KiB Installing dependencies: annobin-docs noarch 12.79-1.fc42 fedora 98.6 KiB annobin-plugin-gcc x86_64 12.79-1.fc42 fedora 989.3 KiB cpp x86_64 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 37.5 MiB cyrus-sasl x86_64 2.1.28-27.fc41 fedora 145.2 KiB cyrus-sasl-devel x86_64 2.1.28-27.fc41 fedora 206.7 KiB gcc-plugin-annobin x86_64 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 59.6 KiB gettext-envsubst x86_64 0.23-1.fc42 fedora 77.4 KiB gettext-libs x86_64 0.23-1.fc42 fedora 2.0 MiB gettext-runtime x86_64 0.23-1.fc42 fedora 481.5 KiB glibc-devel x86_64 2.40.9000-24.fc42 fedora 2.3 MiB hunspell-en-US noarch 0.20201207-10.fc41 fedora 557.4 KiB hunspell-filesystem x86_64 1.7.2-8.fc41 fedora 0.0 B kernel-headers x86_64 6.13.0-0.rc3.29.fc42 fedora 6.5 MiB keyutils-libs-devel x86_64 1.6.3-4.fc41 fedora 48.2 KiB libcom_err-devel x86_64 1.47.1-6.fc42 fedora 16.7 KiB libkadm5 x86_64 1.21.3-3.fc42 fedora 211.6 KiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libselinux-devel x86_64 3.8-0.rc1.2.fc42 fedora 126.6 KiB libsepol-devel x86_64 3.8-0.rc1.1.fc42 fedora 120.8 KiB libtextstyle x86_64 0.23-1.fc42 fedora 198.7 KiB libverto-devel x86_64 0.3.2-9.fc41 fedora 25.7 KiB libxcrypt-devel x86_64 4.4.36-11.fc42 fedora 30.5 KiB ncurses-c++-libs x86_64 6.5-2.20240629.fc41 fedora 161.7 KiB pcre2-devel x86_64 10.44-1.fc41.1 fedora 2.0 MiB pcre2-utf16 x86_64 10.44-1.fc41.1 fedora 590.1 KiB pcre2-utf32 x86_64 10.44-1.fc41.1 fedora 562.0 KiB Transaction Summary: Installing: 35 packages Total size of inbound packages is 63 MiB. Need to download 63 MiB. After this operation, 183 MiB extra will be used (install 183 MiB, remove 0 B). [ 1/35] make-1:4.4.1-9.fc42.x86_64 100% | 786.0 KiB/s | 586.3 KiB | 00m01s [ 2/35] gettext-0:0.23-1.fc42.x86_64 100% | 1.4 MiB/s | 1.1 MiB | 00m01s [ 3/35] krb5-devel-0:1.21.3-3.fc42.x86_ 100% | 1.7 MiB/s | 143.3 KiB | 00m00s [ 4/35] hunspell-0:1.7.2-8.fc41.x86_64 100% | 2.7 MiB/s | 477.3 KiB | 00m00s [ 5/35] ncurses-devel-0:6.5-2.20240629. 100% | 5.3 MiB/s | 569.9 KiB | 00m00s [ 6/35] openldap-devel-0:2.6.8-6.fc42.x 100% | 5.2 MiB/s | 730.8 KiB | 00m00s [ 7/35] gcc-0:15.0.0-0.2.fc42.x86_64 100% | 34.2 MiB/s | 38.0 MiB | 00m01s [ 8/35] pam-devel-0:1.7.0-3.fc42.x86_64 100% | 1.1 MiB/s | 106.3 KiB | 00m00s [ 9/35] openssl-devel-1:3.2.2-8.fc42.x8 100% | 11.7 MiB/s | 2.8 MiB | 00m00s [10/35] gettext-runtime-0:0.23-1.fc42.x 100% | 1.5 MiB/s | 118.9 KiB | 00m00s [11/35] libtextstyle-0:0.23-1.fc42.x86_ 100% | 1.1 MiB/s | 85.3 KiB | 00m00s [12/35] libmpc-0:1.3.1-6.fc41.x86_64 100% | 935.8 KiB/s | 71.1 KiB | 00m00s [13/35] hunspell-en-US-0:0.20201207-10. 100% | 2.3 MiB/s | 180.9 KiB | 00m00s [14/35] hunspell-filesystem-0:1.7.2-8.f 100% | 96.7 KiB/s | 8.1 KiB | 00m00s [15/35] libkadm5-0:1.21.3-3.fc42.x86_64 100% | 998.2 KiB/s | 76.9 KiB | 00m00s [16/35] cpp-0:15.0.0-0.2.fc42.x86_64 100% | 32.6 MiB/s | 12.4 MiB | 00m00s [17/35] ncurses-c++-libs-0:6.5-2.202406 100% | 444.8 KiB/s | 37.8 KiB | 00m00s [18/35] gettext-envsubst-0:0.23-1.fc42. 100% | 438.5 KiB/s | 36.0 KiB | 00m00s [19/35] cyrus-sasl-devel-0:2.1.28-27.fc 100% | 1.2 MiB/s | 112.5 KiB | 00m00s [20/35] gettext-libs-0:0.23-1.fc42.x86_ 100% | 1.1 MiB/s | 739.9 KiB | 00m01s [21/35] cyrus-sasl-0:2.1.28-27.fc41.x86 100% | 720.2 KiB/s | 74.2 KiB | 00m00s [22/35] libxcrypt-devel-0:4.4.36-11.fc4 100% | 343.6 KiB/s | 28.2 KiB | 00m00s [23/35] glibc-devel-0:2.40.9000-24.fc42 100% | 3.9 MiB/s | 647.2 KiB | 00m00s [24/35] keyutils-libs-devel-0:1.6.3-4.f 100% | 713.2 KiB/s | 59.9 KiB | 00m00s [25/35] libcom_err-devel-0:1.47.1-6.fc4 100% | 201.8 KiB/s | 16.3 KiB | 00m00s [26/35] libselinux-devel-0:3.8-0.rc1.2. 100% | 1.8 MiB/s | 151.6 KiB | 00m00s [27/35] libsepol-devel-0:3.8-0.rc1.1.fc 100% | 575.8 KiB/s | 48.4 KiB | 00m00s [28/35] libverto-devel-0:0.3.2-9.fc41.x 100% | 177.6 KiB/s | 14.4 KiB | 00m00s [29/35] kernel-headers-0:6.13.0-0.rc3.2 100% | 14.4 MiB/s | 1.6 MiB | 00m00s [30/35] pcre2-devel-0:10.44-1.fc41.1.x8 100% | 4.6 MiB/s | 521.4 KiB | 00m00s [31/35] pcre2-utf16-0:10.44-1.fc41.1.x8 100% | 2.2 MiB/s | 222.8 KiB | 00m00s [32/35] gcc-plugin-annobin-0:15.0.0-0.2 100% | 838.3 KiB/s | 31.0 KiB | 00m00s [33/35] pcre2-utf32-0:10.44-1.fc41.1.x8 100% | 2.4 MiB/s | 210.4 KiB | 00m00s [34/35] annobin-plugin-gcc-0:12.79-1.fc 100% | 7.1 MiB/s | 975.8 KiB | 00m00s [35/35] annobin-docs-0:12.79-1.fc42.noa 100% | 1.0 MiB/s | 92.7 KiB | 00m00s -------------------------------------------------------------------------------- [35/35] Total 100% | 27.6 MiB/s | 63.0 MiB | 00m02s Running transaction [ 1/37] Verify package files 100% | 170.0 B/s | 35.0 B | 00m00s [ 2/37] Prepare transaction 100% | 364.0 B/s | 35.0 B | 00m00s [ 3/37] Installing hunspell-filesystem- 100% | 378.9 KiB/s | 388.0 B | 00m00s [ 4/37] Installing libmpc-0:1.3.1-6.fc4 100% | 81.1 MiB/s | 166.2 KiB | 00m00s [ 5/37] Installing libtextstyle-0:0.23- 100% | 97.4 MiB/s | 199.5 KiB | 00m00s [ 6/37] Installing gettext-libs-0:0.23- 100% | 182.7 MiB/s | 2.0 MiB | 00m00s [ 7/37] Installing cpp-0:15.0.0-0.2.fc4 100% | 110.3 MiB/s | 37.5 MiB | 00m00s [ 8/37] Installing hunspell-en-US-0:0.2 100% | 136.3 MiB/s | 558.1 KiB | 00m00s [ 9/37] Installing annobin-docs-0:12.79 100% | 97.4 MiB/s | 99.7 KiB | 00m00s [10/37] Installing pcre2-utf32-0:10.44- 100% | 137.4 MiB/s | 562.8 KiB | 00m00s [11/37] Installing pcre2-utf16-0:10.44- 100% | 115.4 MiB/s | 590.9 KiB | 00m00s [12/37] Installing pcre2-devel-0:10.44- 100% | 99.8 MiB/s | 2.0 MiB | 00m00s [13/37] Installing kernel-headers-0:6.1 100% | 80.1 MiB/s | 6.6 MiB | 00m00s [14/37] Installing libxcrypt-devel-0:4. 100% | 10.7 MiB/s | 32.9 KiB | 00m00s [15/37] Installing glibc-devel-0:2.40.9 100% | 61.3 MiB/s | 2.3 MiB | 00m00s [16/37] Installing libverto-devel-0:0.3 100% | 25.7 MiB/s | 26.4 KiB | 00m00s [17/37] Installing libsepol-devel-0:3.8 100% | 25.1 MiB/s | 128.3 KiB | 00m00s [18/37] Installing libselinux-devel-0:3 100% | 13.1 MiB/s | 161.4 KiB | 00m00s [19/37] Installing libcom_err-devel-0:1 100% | 17.8 MiB/s | 18.3 KiB | 00m00s [20/37] Installing keyutils-libs-devel- 100% | 649.8 KiB/s | 55.2 KiB | 00m00s [21/37] Installing cyrus-sasl-0:2.1.28- 100% | 8.5 MiB/s | 148.3 KiB | 00m00s [22/37] Installing cyrus-sasl-devel-0:2 100% | 30.2 MiB/s | 216.2 KiB | 00m00s [23/37] Installing gettext-envsubst-0:0 100% | 25.7 MiB/s | 78.9 KiB | 00m00s [24/37] Installing gettext-runtime-0:0. 100% | 43.6 MiB/s | 490.9 KiB | 00m00s [25/37] Installing ncurses-c++-libs-0:6 100% | 79.5 MiB/s | 162.9 KiB | 00m00s [26/37] Installing libkadm5-0:1.21.3-3. 100% | 52.1 MiB/s | 213.6 KiB | 00m00s [27/37] Installing make-1:4.4.1-9.fc42. 100% | 90.0 MiB/s | 1.8 MiB | 00m00s [28/37] Installing gcc-0:15.0.0-0.2.fc4 100% | 91.4 MiB/s | 110.0 MiB | 00m01s [29/37] Installing annobin-plugin-gcc-0 100% | 23.6 MiB/s | 990.9 KiB | 00m00s [30/37] Installing gcc-plugin-annobin-0 100% | 2.0 MiB/s | 61.2 KiB | 00m00s [31/37] Installing krb5-devel-0:1.21.3- 100% | 77.6 MiB/s | 715.2 KiB | 00m00s [32/37] Installing ncurses-devel-0:6.5- 100% | 20.7 MiB/s | 1.0 MiB | 00m00s [33/37] Installing gettext-0:0.23-1.fc4 100% | 112.8 MiB/s | 5.3 MiB | 00m00s [34/37] Installing openldap-devel-0:2.6 100% | 52.4 MiB/s | 3.8 MiB | 00m00s [35/37] Installing hunspell-0:1.7.2-8.f 100% | 14.3 MiB/s | 1.4 MiB | 00m00s [36/37] Installing pam-devel-0:1.7.0-3. 100% | 14.2 MiB/s | 174.4 KiB | 00m00s [37/37] Installing openssl-devel-1:3.2. 100% | 9.2 MiB/s | 5.2 MiB | 00m01s Warning: skipped OpenPGP checks for 3 packages from repository: https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch Complete! Finish: build setup for alpine-2.26-15.fc42.src.rpm Start: rpmbuild alpine-2.26-15.fc42.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.NhMc5r + umask 022 + cd /builddir/build/BUILD/alpine-2.26-build + test -d /builddir/build/BUILD/alpine-2.26-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/alpine-2.26-build + /usr/bin/rm -rf /builddir/build/BUILD/alpine-2.26-build + /usr/bin/mkdir -p /builddir/build/BUILD/alpine-2.26-build + /usr/bin/mkdir -p /builddir/build/BUILD/alpine-2.26-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TMLYWt + umask 022 + cd /builddir/build/BUILD/alpine-2.26-build + cd /builddir/build/BUILD/alpine-2.26-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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (alpine-2.24-useragent.patch): + echo '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.U90HGf + umask 022 + cd /builddir/build/BUILD/alpine-2.26-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 2024-12-18 18:52:18.007131199 +0000 +++ ./configure 2024-12-18 18:52:18.123131641 +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 2024-12-18 18:52:18.123131641 +0000 +++ ./configure 2024-12-18 18:52:18.161131785 +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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-build/alpine-2.26/imap' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26-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-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-build/alpine-2.26/imap' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/imap' make[3]: 'ip6' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-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-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:524, 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 (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:524, 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 (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:524, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:96:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:136:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:136:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 136 | __NTH (strcat (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:524, 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:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:524, 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:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:524, 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:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ 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:524, 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:524, 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:524, 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:341, from osdep.h:49: /usr/include/bits/fcntl2.h:43:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 43 | 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:524, 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:341, from osdep.h:49: /usr/include/bits/fcntl2.h:43:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 43 | 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:43:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 43 | 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:43:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 43 | 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:524, 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:341, from osdep.h:49, from mx.c:35: /usr/include/bits/fcntl2.h:43:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 43 | 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:524, 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:341, from osdep.h:49: /usr/include/bits/fcntl2.h:43:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 43 | 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:970, from maildir.c:9: In function ‘snprintf’, inlined from ‘maildir_create_work’ at maildir.c:1350:8: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 20 or more bytes (assuming 1038) into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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-build/alpine-2.26/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26-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-build/alpine-2.26/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/imap' /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/m4' Making all in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/po' Making all in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.26-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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-build/alpine-2.26/pith' Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.26-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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:970, 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:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 4098) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 4098) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o collate.o collate.c In file included from collate.c:15: collate.c: In function ‘set_collation’: ../../include/system.h:94:19: error: conflicting types for ‘strcoll’; have ‘int(void)’ 94 | # define collator strcoll | ^~~~~~~ collate.c:29:16: note: in expansion of macro ‘collator’ 29 | extern int collator(); /* set to strcoll if available in system.h */ | ^~~~~~~~ In file included from ../../include/system.h:45: /usr/include/string.h:163:12: note: previous declaration of ‘strcoll’ with type ‘int(const char *, const char *)’ 163 | extern int strcoll (const char *__s1, const char *__s2) | ^~~~~~~ collate.c:31:15: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(char *, char *)’ [-Wincompatible-pointer-types] 31 | pcollator = strucmp; | ^ collate.c: In function ‘sstrcasecmp’: collate.c:79:13: error: too many arguments to function ‘pcollator’ 79 | return((*pcollator)(*(char **)s1, *(char **)s2)); | ~^~~~~~~~~~~ make[4]: *** [Makefile:462: collate.o] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/pith/osdep' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/pith' make[3]: *** [Makefile:623: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26/pith' make[2]: *** [Makefile:460: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.26-build/alpine-2.26' make[1]: *** [Makefile:547: all-recursive] Error 1 make: *** [Makefile:436: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.U90HGf (%build) Bad exit status from /var/tmp/rpm-tmp.U90HGf (%build) Finish: rpmbuild alpine-2.26-15.fc42.src.rpm Finish: build phase for alpine-2.26-15.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1734547885.428469/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/alpine-2.26-15.fc42.src.rpm) Config(fedora-rawhide-x86_64) 0 minutes 53 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 282f304e2792462789b05811c142d747 -D /var/lib/mock/fedora-rawhide-x86_64-1734547885.428469/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ox6rrzmg:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/originals/alpine.spec' Copr build error: Build failed