uw-imap →
8:2007f~dfsg-4+deb8u1 →
armhf → 2019-03-01 16:24:19
sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on test2019
+==============================================================================+
| uw-imap 8:2007f~dfsg-4+deb8u1 (armhf) Fri, 01 Mar 2019 16:12:54 +0000 |
+==============================================================================+
Package: uw-imap
Version: 8:2007f~dfsg-4+deb8u1
Source Version: 8:2007f~dfsg-4+deb8u1
Distribution: jessie-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf
Build Type: any
I: NOTICE: Log filtering will replace 'var/run/schroot/mount/jessie-staging-armhf-sbuild-1e6872c8-d2ed-42fd-a3a3-4b46b31d117b' with '<<CHROOT>>'
+------------------------------------------------------------------------------+
| Update chroot |
+------------------------------------------------------------------------------+
Get:1 http://172.17.0.1 jessie-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 jessie-staging/main Sources [7762 kB]
Get:3 http://172.17.0.1 jessie-staging/main armhf Packages [9539 kB]
Fetched 17.3 MB in 26s (654 kB/s)
Reading package lists...
+------------------------------------------------------------------------------+
| Fetch source files |
+------------------------------------------------------------------------------+
Check APT
---------
Checking available source versions...
Download source files with APT
------------------------------
Reading package lists...
Building dependency tree...
NOTICE: 'uw-imap' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/git/collab-maint/uw-imap.git
Need to get 1653 kB of source archives.
Get:1 http://172.17.0.1/private/ jessie-staging/main uw-imap 8:2007f~dfsg-4+deb8u1 (dsc) [2206 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main uw-imap 8:2007f~dfsg-4+deb8u1 (tar) [1608 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main uw-imap 8:2007f~dfsg-4+deb8u1 (diff) [43.1 kB]
Fetched 1653 kB in 0s (2386 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/uw-imap-P3xPkj/uw-imap-2007f~dfsg' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/uw-imap-P3xPkj' with '<<BUILDDIR>>'
+------------------------------------------------------------------------------+
| Install build-essential |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/<<BUILDDIR>>/resolver-q00B0U/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning: sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keyring `/<<BUILDDIR>>/resolver-q00B0U/gpg/secring.gpg' created
gpg: keyring `/<<BUILDDIR>>/resolver-q00B0U/gpg/pubring.gpg' created
gpg: /<<BUILDDIR>>/resolver-q00B0U/gpg/trustdb.gpg: trustdb created
gpg: key 505CF8F7: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
gpg: key 505CF8F7: secret key imported
gpg: key 505CF8F7: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
gpg: secret keys read: 1
gpg: secret keys imported: 1
Ign copy: ./ InRelease
Get:1 copy: ./ Release.gpg [299 B]
Get:2 copy: ./ Release [957 B]
Get:3 copy: ./ Sources [349 B]
Get:4 copy: ./ Packages [429 B]
Fetched 2034 B in 0s (19.5 kB/s)
Reading package lists...
Reading package lists...
Install core build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 814 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-q00B0U/apt_archive/ ./ sbuild-build-depends-core-dummy 0.invalid.0 [814 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 814 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 12009 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
+------------------------------------------------------------------------------+
| Check architectures |
+------------------------------------------------------------------------------+
Arch check ok (armhf included in any)
+------------------------------------------------------------------------------+
| Install package build dependencies |
+------------------------------------------------------------------------------+
Setup apt archive
-----------------
Merged Build-Depends: cdbs (>= 0.4.72~), debhelper, dh-buildinfo, devscripts, libpam-dev, krb5-multidev (>= 1.12.1+dfsg-9), comerr-dev, libssl-dev, d-shlibs
Filtered Build-Depends: cdbs (>= 0.4.72~), debhelper, dh-buildinfo, devscripts, libpam-dev, krb5-multidev (>= 1.12.1+dfsg-9), comerr-dev, libssl-dev, d-shlibs
dpkg-deb: building package `sbuild-build-depends-uw-imap-dummy' in `/<<BUILDDIR>>/resolver-q00B0U/apt_archive/sbuild-build-depends-uw-imap-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-uw-imap-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
Ign copy: ./ InRelease
Get:1 copy: ./ Release.gpg [299 B]
Get:2 copy: ./ Release [963 B]
Get:3 copy: ./ Sources [558 B]
Get:4 copy: ./ Packages [636 B]
Fetched 2456 B in 0s (27.0 kB/s)
Reading package lists...
Reading package lists...
Install uw-imap build dependencies (apt-based resolver)
-------------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
bsdmainutils cdbs comerr-dev d-shlibs debhelper devscripts dh-buildinfo
dh-python file gettext gettext-base groff-base intltool-debian krb5-multidev
libasprintf0c2 libcroco3 libexpat1 libffi6 libglib2.0-0 libgssapi-krb5-2
libgssrpc4 libk5crypto3 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-7
libkeyutils1 libkrb5-3 libkrb5support0 libmagic1 libmpdec2 libpam0g-dev
libpipeline1 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib
libsqlite3-0 libssl-dev libssl1.0.0 libunistring0 libxml2 man-db
mime-support po-debconf python3 python3-minimal python3.4 python3.4-minimal
zlib1g-dev
Suggested packages:
wamerican wordlist whois vacation doc-base dh-make bsd-mailx mailx
cvs-buildpackage debbindiff devscripts-el gnuplot libauthen-sasl-perl
libfile-desktopentry-perl libnet-smtp-ssl-perl libterm-size-perl
libyaml-syck-perl mutt ssh-client svn-buildpackage w3m gettext-doc groff
krb5-doc krb5-user less www-browser libmail-box-perl python3-doc python3-tk
python3-venv python3.4-venv python3.4-doc binfmt-support
Recommended packages:
autotools-dev at dctrl-tools dput dupload libdistro-info-perl
libencode-locale-perl libjson-perl libparse-debcontrol-perl liburi-perl
libwww-perl lintian patchutils python3-debian python3-magic strace unzip
wdiff wget curl debian-keyring equivs liblwp-protocol-https-perl
libsoap-lite-perl autopoint libasprintf-dev libgettextpo-dev libglib2.0-data
shared-mime-info xdg-user-dirs krb5-locales libssl-doc xml-core
libmail-sendmail-perl
The following NEW packages will be installed:
bsdmainutils cdbs comerr-dev d-shlibs debhelper devscripts dh-buildinfo
dh-python file gettext gettext-base groff-base intltool-debian krb5-multidev
libasprintf0c2 libcroco3 libexpat1 libffi6 libglib2.0-0 libgssapi-krb5-2
libgssrpc4 libk5crypto3 libkadm5clnt-mit9 libkadm5srv-mit9 libkdb5-7
libkeyutils1 libkrb5-3 libkrb5support0 libmagic1 libmpdec2 libpam0g-dev
libpipeline1 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib
libsqlite3-0 libssl-dev libssl1.0.0 libunistring0 libxml2 man-db
mime-support po-debconf python3 python3-minimal python3.4 python3.4-minimal
sbuild-build-depends-uw-imap-dummy zlib1g-dev
0 upgraded, 49 newly installed, 0 to remove and 5 not upgraded.
Need to get 17.4 MB of archives.
After this operation, 55.7 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-q00B0U/apt_archive/ ./ sbuild-build-depends-uw-imap-dummy 0.invalid.0 [882 B]
Get:2 http://172.17.0.1/private/ jessie-staging/main libpipeline1 armhf 1.4.0-1 [24.0 kB]
Get:3 http://172.17.0.1/private/ jessie-staging/main libssl1.0.0 armhf 1.0.1t-1+deb8u10 [854 kB]
Get:4 http://172.17.0.1/private/ jessie-staging/main groff-base armhf 1.22.2-8 [1045 kB]
Get:5 http://172.17.0.1/private/ jessie-staging/main bsdmainutils armhf 9.0.6 [177 kB]
Get:6 http://172.17.0.1/private/ jessie-staging/main man-db armhf 2.7.0.2-5 [972 kB]
Get:7 http://172.17.0.1/private/ jessie-staging/main libasprintf0c2 armhf 0.19.3-2 [31.1 kB]
Get:8 http://172.17.0.1/private/ jessie-staging/main libkeyutils1 armhf 1.5.9-5 [10.9 kB]
Get:9 http://172.17.0.1/private/ jessie-staging/main libkrb5support0 armhf 1.12.1+dfsg-19+deb8u5 [55.7 kB]
Get:10 http://172.17.0.1/private/ jessie-staging/main libk5crypto3 armhf 1.12.1+dfsg-19+deb8u5 [109 kB]
Get:11 http://172.17.0.1/private/ jessie-staging/main libkrb5-3 armhf 1.12.1+dfsg-19+deb8u5 [257 kB]
Get:12 http://172.17.0.1/private/ jessie-staging/main libgssapi-krb5-2 armhf 1.12.1+dfsg-19+deb8u5 [130 kB]
Get:13 http://172.17.0.1/private/ jessie-staging/main libgssrpc4 armhf 1.12.1+dfsg-19+deb8u5 [79.3 kB]
Get:14 http://172.17.0.1/private/ jessie-staging/main libkadm5clnt-mit9 armhf 1.12.1+dfsg-19+deb8u5 [64.4 kB]
Get:15 http://172.17.0.1/private/ jessie-staging/main libkdb5-7 armhf 1.12.1+dfsg-19+deb8u5 [63.9 kB]
Get:16 http://172.17.0.1/private/ jessie-staging/main libkadm5srv-mit9 armhf 1.12.1+dfsg-19+deb8u5 [76.6 kB]
Get:17 http://172.17.0.1/private/ jessie-staging/main libmagic1 armhf 1:5.22+15-2+deb8u5 [245 kB]
Get:18 http://172.17.0.1/private/ jessie-staging/main libsqlite3-0 armhf 3.8.7.1-1+deb8u4 [378 kB]
Get:19 http://172.17.0.1/private/ jessie-staging/main libxml2 armhf 2.9.1+dfsg1-5+deb8u7 [707 kB]
Get:20 http://172.17.0.1/private/ jessie-staging/main libffi6 armhf 3.1-2+deb8u1 [18.6 kB]
Get:21 http://172.17.0.1/private/ jessie-staging/main libglib2.0-0 armhf 2.42.1-1 [2250 kB]
Get:22 http://172.17.0.1/private/ jessie-staging/main libcroco3 armhf 0.6.8-3 [121 kB]
Get:23 http://172.17.0.1/private/ jessie-staging/main libexpat1 armhf 2.1.0-6+deb8u4 [60.6 kB]
Get:24 http://172.17.0.1/private/ jessie-staging/main libmpdec2 armhf 2.4.1-1 [65.8 kB]
Get:25 http://172.17.0.1/private/ jessie-staging/main libpython3.4-minimal armhf 3.4.2-1+deb8u2 [483 kB]
Get:26 http://172.17.0.1/private/ jessie-staging/main mime-support all 3.58 [36.0 kB]
Get:27 http://172.17.0.1/private/ jessie-staging/main libpython3.4-stdlib armhf 3.4.2-1+deb8u2 [2014 kB]
Get:28 http://172.17.0.1/private/ jessie-staging/main libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:29 http://172.17.0.1/private/ jessie-staging/main python3.4-minimal armhf 3.4.2-1+deb8u2 [1353 kB]
Get:30 http://172.17.0.1/private/ jessie-staging/main file armhf 1:5.22+15-2+deb8u5 [60.3 kB]
Get:31 http://172.17.0.1/private/ jessie-staging/main gettext-base armhf 0.19.3-2 [116 kB]
Get:32 http://172.17.0.1/private/ jessie-staging/main cdbs all 0.4.130+deb8u1 [77.1 kB]
Get:33 http://172.17.0.1/private/ jessie-staging/main d-shlibs all 0.58 [16.3 kB]
Get:34 http://172.17.0.1/private/ jessie-staging/main gettext armhf 0.19.3-2 [1167 kB]
Get:35 http://172.17.0.1/private/ jessie-staging/main intltool-debian all 0.35.0+20060710.1 [29.8 kB]
Get:36 http://172.17.0.1/private/ jessie-staging/main po-debconf all 1.0.16+nmu3 [220 kB]
Get:37 http://172.17.0.1/private/ jessie-staging/main debhelper all 9.20150101+deb8u2 [817 kB]
Get:38 http://172.17.0.1/private/ jessie-staging/main python3.4 armhf 3.4.2-1+deb8u2 [205 kB]
Get:39 http://172.17.0.1/private/ jessie-staging/main python3-minimal armhf 3.4.2-2 [34.7 kB]
Get:40 http://172.17.0.1/private/ jessie-staging/main libpython3-stdlib armhf 3.4.2-2 [18.1 kB]
Get:41 http://172.17.0.1/private/ jessie-staging/main dh-python all 1.20141111-2 [66.4 kB]
Get:42 http://172.17.0.1/private/ jessie-staging/main python3 armhf 3.4.2-2 [21.2 kB]
Get:43 http://172.17.0.1/private/ jessie-staging/main devscripts armhf 2.15.3+deb8u1 [899 kB]
Get:44 http://172.17.0.1/private/ jessie-staging/main dh-buildinfo all 0.11 [18.3 kB]
Get:45 http://172.17.0.1/private/ jessie-staging/main comerr-dev armhf 2.1-1.42.12-2 [37.6 kB]
Get:46 http://172.17.0.1/private/ jessie-staging/main krb5-multidev armhf 1.12.1+dfsg-19+deb8u5 [146 kB]
Get:47 http://172.17.0.1/private/ jessie-staging/main libpam0g-dev armhf 1.1.8-3.1+deb8u2 [177 kB]
Get:48 http://172.17.0.1/private/ jessie-staging/main zlib1g-dev armhf 1:1.2.8.dfsg-2 [199 kB]
Get:49 http://172.17.0.1/private/ jessie-staging/main libssl-dev armhf 1.0.1t-1+deb8u10 [1096 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 17.4 MB in 7s (2457 kB/s)
Selecting previously unselected package libpipeline1:armhf.
(Reading database ... 12009 files and directories currently installed.)
Preparing to unpack .../libpipeline1_1.4.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.0-1) ...
Selecting previously unselected package libssl1.0.0:armhf.
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u10_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u10) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.2-8_armhf.deb ...
Unpacking groff-base (1.22.2-8) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.0.2-5_armhf.deb ...
Unpacking man-db (2.7.0.2-5) ...
Selecting previously unselected package libasprintf0c2:armhf.
Preparing to unpack .../libasprintf0c2_0.19.3-2_armhf.deb ...
Unpacking libasprintf0c2:armhf (0.19.3-2) ...
Selecting previously unselected package libkeyutils1:armhf.
Preparing to unpack .../libkeyutils1_1.5.9-5_armhf.deb ...
Unpacking libkeyutils1:armhf (1.5.9-5) ...
Selecting previously unselected package libkrb5support0:armhf.
Preparing to unpack .../libkrb5support0_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libkrb5support0:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libk5crypto3:armhf.
Preparing to unpack .../libk5crypto3_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libk5crypto3:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libkrb5-3:armhf.
Preparing to unpack .../libkrb5-3_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libkrb5-3:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libgssapi-krb5-2:armhf.
Preparing to unpack .../libgssapi-krb5-2_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libgssapi-krb5-2:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libgssrpc4:armhf.
Preparing to unpack .../libgssrpc4_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libgssrpc4:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libkadm5clnt-mit9:armhf.
Preparing to unpack .../libkadm5clnt-mit9_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libkadm5clnt-mit9:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libkdb5-7:armhf.
Preparing to unpack .../libkdb5-7_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libkdb5-7:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libkadm5srv-mit9:armhf.
Preparing to unpack .../libkadm5srv-mit9_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking libkadm5srv-mit9:armhf (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.22+15-2+deb8u5_armhf.deb ...
Unpacking libmagic1:armhf (1:5.22+15-2+deb8u5) ...
Selecting previously unselected package libsqlite3-0:armhf.
Preparing to unpack .../libsqlite3-0_3.8.7.1-1+deb8u4_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.8.7.1-1+deb8u4) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u7_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-5+deb8u7) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.1-2+deb8u1_armhf.deb ...
Unpacking libffi6:armhf (3.1-2+deb8u1) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.42.1-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.42.1-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.8-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.8-3) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.1.0-6+deb8u4_armhf.deb ...
Unpacking libexpat1:armhf (2.1.0-6+deb8u4) ...
Selecting previously unselected package libmpdec2:armhf.
Preparing to unpack .../libmpdec2_2.4.1-1_armhf.deb ...
Unpacking libmpdec2:armhf (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:armhf.
Preparing to unpack .../libpython3.4-minimal_3.4.2-1+deb8u2_armhf.deb ...
Unpacking libpython3.4-minimal:armhf (3.4.2-1+deb8u2) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libpython3.4-stdlib:armhf.
Preparing to unpack .../libpython3.4-stdlib_3.4.2-1+deb8u2_armhf.deb ...
Unpacking libpython3.4-stdlib:armhf (3.4.2-1+deb8u2) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.2-1+deb8u2_armhf.deb ...
Unpacking python3.4-minimal (3.4.2-1+deb8u2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.22+15-2+deb8u5_armhf.deb ...
Unpacking file (1:5.22+15-2+deb8u5) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.3-2_armhf.deb ...
Unpacking gettext-base (0.19.3-2) ...
Selecting previously unselected package cdbs.
Preparing to unpack .../cdbs_0.4.130+deb8u1_all.deb ...
Unpacking cdbs (0.4.130+deb8u1) ...
Selecting previously unselected package d-shlibs.
Preparing to unpack .../archives/d-shlibs_0.58_all.deb ...
Unpacking d-shlibs (0.58) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.3-2_armhf.deb ...
Unpacking gettext (0.19.3-2) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu3_all.deb ...
Unpacking po-debconf (1.0.16+nmu3) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20150101+deb8u2_all.deb ...
Unpacking debhelper (9.20150101+deb8u2) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.2-1+deb8u2_armhf.deb ...
Unpacking python3.4 (3.4.2-1+deb8u2) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.2-2_armhf.deb ...
Unpacking python3-minimal (3.4.2-2) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../libpython3-stdlib_3.4.2-2_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.4.2-2) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_1.20141111-2_all.deb ...
Unpacking dh-python (1.20141111-2) ...
Selecting previously unselected package python3.
Preparing to unpack .../python3_3.4.2-2_armhf.deb ...
Unpacking python3 (3.4.2-2) ...
Selecting previously unselected package devscripts.
Preparing to unpack .../devscripts_2.15.3+deb8u1_armhf.deb ...
Unpacking devscripts (2.15.3+deb8u1) ...
Selecting previously unselected package dh-buildinfo.
Preparing to unpack .../dh-buildinfo_0.11_all.deb ...
Unpacking dh-buildinfo (0.11) ...
Selecting previously unselected package comerr-dev.
Preparing to unpack .../comerr-dev_2.1-1.42.12-2_armhf.deb ...
Unpacking comerr-dev (2.1-1.42.12-2) ...
Selecting previously unselected package krb5-multidev.
Preparing to unpack .../krb5-multidev_1.12.1+dfsg-19+deb8u5_armhf.deb ...
Unpacking krb5-multidev (1.12.1+dfsg-19+deb8u5) ...
Selecting previously unselected package libpam0g-dev:armhf.
Preparing to unpack .../libpam0g-dev_1.1.8-3.1+deb8u2_armhf.deb ...
Unpacking libpam0g-dev:armhf (1.1.8-3.1+deb8u2) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Selecting previously unselected package libssl-dev:armhf.
Preparing to unpack .../libssl-dev_1.0.1t-1+deb8u10_armhf.deb ...
Unpacking libssl-dev:armhf (1.0.1t-1+deb8u10) ...
Selecting previously unselected package sbuild-build-depends-uw-imap-dummy.
Preparing to unpack .../sbuild-build-depends-uw-imap-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-uw-imap-dummy (0.invalid.0) ...
Setting up libpipeline1:armhf (1.4.0-1) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u10) ...
Setting up groff-base (1.22.2-8) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up man-db (2.7.0.2-5) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libasprintf0c2:armhf (0.19.3-2) ...
Setting up libkeyutils1:armhf (1.5.9-5) ...
Setting up libkrb5support0:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libk5crypto3:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libkrb5-3:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libgssapi-krb5-2:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libgssrpc4:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libkadm5clnt-mit9:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libkdb5-7:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libkadm5srv-mit9:armhf (1.12.1+dfsg-19+deb8u5) ...
Setting up libmagic1:armhf (1:5.22+15-2+deb8u5) ...
Setting up libsqlite3-0:armhf (3.8.7.1-1+deb8u4) ...
Setting up libxml2:armhf (2.9.1+dfsg1-5+deb8u7) ...
Setting up libffi6:armhf (3.1-2+deb8u1) ...
Setting up libglib2.0-0:armhf (2.42.1-1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.8-3) ...
Setting up libexpat1:armhf (2.1.0-6+deb8u4) ...
Setting up libmpdec2:armhf (2.4.1-1) ...
Setting up libpython3.4-minimal:armhf (3.4.2-1+deb8u2) ...
Setting up mime-support (3.58) ...
Setting up libpython3.4-stdlib:armhf (3.4.2-1+deb8u2) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up python3.4-minimal (3.4.2-1+deb8u2) ...
Setting up file (1:5.22+15-2+deb8u5) ...
Setting up gettext-base (0.19.3-2) ...
Setting up cdbs (0.4.130+deb8u1) ...
Setting up d-shlibs (0.58) ...
Setting up gettext (0.19.3-2) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu3) ...
Setting up debhelper (9.20150101+deb8u2) ...
Setting up python3.4 (3.4.2-1+deb8u2) ...
Setting up python3-minimal (3.4.2-2) ...
Setting up libpython3-stdlib:armhf (3.4.2-2) ...
Setting up dh-buildinfo (0.11) ...
Setting up comerr-dev (2.1-1.42.12-2) ...
Setting up krb5-multidev (1.12.1+dfsg-19+deb8u5) ...
Setting up libpam0g-dev:armhf (1.1.8-3.1+deb8u2) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-2) ...
Setting up libssl-dev:armhf (1.0.1t-1+deb8u10) ...
Setting up dh-python (1.20141111-2) ...
Setting up python3 (3.4.2-2) ...
Setting up devscripts (2.15.3+deb8u1) ...
Setting up sbuild-build-depends-uw-imap-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
+------------------------------------------------------------------------------+
| Build environment |
+------------------------------------------------------------------------------+
Kernel: Linux 4.19.20-v7+ armhf (armv7l)
Toolchain package versions: binutils_2.25-5+deb8u1 dpkg-dev_1.17.27 g++-4.9_4.9.2-10+deb8u2 gcc-4.9_4.9.2-10+deb8u2 libc6-dev_2.19-18+deb8u10 libstdc++-4.9-dev_4.9.2-10+deb8u2 libstdc++6_4.9.2-10+deb8u2 linux-libc-dev_3.16.7-ckt11-1+deb8u4+rpi1
Package versions: acl_2.2.52-2 adduser_3.113+nmu3 apt_1.0.9.8.5 base-files_8+rpi1 base-passwd_3.5.37 bash_4.3-11+deb8u1 binutils_2.25-5+deb8u1 bsdmainutils_9.0.6 bsdutils_1:2.25.2-6 build-essential_11.7 bzip2_1.0.6-7 cdbs_0.4.130+deb8u1 comerr-dev_2.1-1.42.12-2 coreutils_8.23-4 cpio_2.11+dfsg-4.1+deb8u1 cpp_4:4.9.2-2 cpp-4.9_4.9.2-10+deb8u2 d-shlibs_0.58 dash_0.5.7-4 debconf_1.5.56+deb8u1 debconf-i18n_1.5.56+deb8u1 debhelper_9.20150101+deb8u2 debianutils_4.4 devscripts_2.15.3+deb8u1 dh-buildinfo_0.11 dh-python_1.20141111-2 diffutils_1:3.3-1 dmsetup_2:1.02.90-2.2+deb8u1 dpkg_1.17.27 dpkg-dev_1.17.27 e2fslibs_1.42.12-2 e2fsprogs_1.42.12-2 fakeroot_1.20.2-1 file_1:5.22+15-2+deb8u5 findutils_4.4.2-9 g++_4:4.9.2-2 g++-4.9_4.9.2-10+deb8u2 gcc_4:4.9.2-2 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.4-1 gcc-4.9_4.9.2-10+deb8u2 gcc-4.9-base_4.9.2-10+deb8u2 gettext_0.19.3-2 gettext-base_0.19.3-2 gnupg_1.4.18-7+deb8u5 gpgv_1.4.18-7+deb8u5 grep_2.20-4.1 groff-base_1.22.2-8 gzip_1.6-4 hostname_3.15 init_1.22 init-system-helpers_1.22 initramfs-tools_0.120+deb8u3 initscripts_2.88dsf-59 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.1 klibc-utils_2.0.4-2+rpi1 kmod_18-3 krb5-multidev_1.12.1+dfsg-19+deb8u5 libacl1_2.2.52-2 libapt-pkg4.12_1.0.9.8.5 libasan1_4.9.2-10+deb8u2 libasprintf0c2_0.19.3-2 libatomic1_4.9.2-10+deb8u2 libattr1_1:2.4.47-2 libaudit-common_1:2.4-1 libaudit1_1:2.4-1 libblkid1_2.25.2-6 libbz2-1.0_1.0.6-7 libc-bin_2.19-18+deb8u10 libc-dev-bin_2.19-18+deb8u10 libc6_2.19-18+deb8u10 libc6-dev_2.19-18+deb8u10 libcap2_1:2.24-8 libcap2-bin_1:2.24-8 libcloog-isl4_0.18.2-1 libcomerr2_1.42.12-2 libcroco3_0.6.8-3 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-9+deb8u1 libdbus-1-3_1.8.22-0+deb8u1 libdebconfclient0_0.192 libdevmapper1.02.1_2:1.02.90-2.2+deb8u1 libdpkg-perl_1.17.27 libdrm2_2.4.58-2 libexpat1_2.1.0-6+deb8u4 libfakeroot_1.20.2-1 libffi6_3.1-2+deb8u1 libgcc-4.9-dev_4.9.2-10+deb8u2 libgcc1_1:4.9.2-10+deb8u2 libgcrypt20_1.6.3-2+deb8u5 libgdbm3_1.8.3-13.1 libglib2.0-0_2.42.1-1 libgmp10_2:6.0.0+dfsg-6+rpi1 libgomp1_4.9.2-10+deb8u2 libgpg-error0_1.17-3 libgssapi-krb5-2_1.12.1+dfsg-19+deb8u5 libgssrpc4_1.12.1+dfsg-19+deb8u5 libisl10_0.12.2-2 libk5crypto3_1.12.1+dfsg-19+deb8u5 libkadm5clnt-mit9_1.12.1+dfsg-19+deb8u5 libkadm5srv-mit9_1.12.1+dfsg-19+deb8u5 libkdb5-7_1.12.1+dfsg-19+deb8u5 libkeyutils1_1.5.9-5 libklibc_2.0.4-2+rpi1 libkmod2_18-3 libkrb5-3_1.12.1+dfsg-19+deb8u5 libkrb5support0_1.12.1+dfsg-19+deb8u5 liblocale-gettext-perl_1.05-8+b1 liblzma5_5.1.1alpha+20120614-2 libmagic1_1:5.22+15-2+deb8u5 libmount1_2.25.2-6 libmpc3_1.0.2-1 libmpdec2_2.4.1-1 libmpfr4_3.1.2-2 libncurses5_5.9+20140913-1+deb8u3 libncursesw5_5.9+20140913-1+deb8u3 libnih-dbus1_1.0.3-4.3 libnih1_1.0.3-4.3 libpam-modules_1.1.8-3.1+deb8u2 libpam-modules-bin_1.1.8-3.1+deb8u2 libpam-runtime_1.1.8-3.1+deb8u2 libpam0g_1.1.8-3.1+deb8u2 libpam0g-dev_1.1.8-3.1+deb8u2 libpcre3_2:8.35-3.3+deb8u4 libpipeline1_1.4.0-1 libpng12-0_1.2.50-2+deb8u3 libprocps3_2:3.3.9-9+deb8u1 libpython3-stdlib_3.4.2-2 libpython3.4-minimal_3.4.2-1+deb8u2 libpython3.4-stdlib_3.4.2-1+deb8u2 libreadline6_6.3-8 libselinux1_2.3-2 libsemanage-common_2.3-1 libsemanage1_2.3-1 libsepol1_2.3-2 libslang2_2.3.0-2 libsmartcols1_2.25.2-6 libsqlite3-0_3.8.7.1-1+deb8u4 libss2_1.42.12-2 libssl-dev_1.0.1t-1+deb8u10 libssl1.0.0_1.0.1t-1+deb8u10 libstdc++-4.9-dev_4.9.2-10+deb8u2 libstdc++6_4.9.2-10+deb8u2 libsystemd0_215-17+deb8u9 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b5 libtext-wrapi18n-perl_0.06-7 libtimedate-perl_2.3000-2 libtinfo5_5.9+20140913-1+deb8u3 libubsan0_4.9.2-10+deb8u2 libudev1_215-17+deb8u9 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-25 libustr-1.0-1_1.0.4-3 libuuid1_2.25.2-6 libxml2_2.9.1+dfsg1-5+deb8u7 linux-libc-dev_3.16.7-ckt11-1+deb8u4+rpi1 login_1:4.2-3+deb8u4 lsb-base_4.1+Debian13+rpi1+nmu1 make_4.0-8.1 makedev_2.3.1-93 man-db_2.7.0.2-5 mawk_1.3.3-17 mime-support_3.58 mount_2.25.2-6 mountall_2.54 multiarch-support_2.19-18+deb8u10 ncurses-base_5.9+20140913-1+deb8u3 ncurses-bin_5.9+20140913-1+deb8u3 passwd_1:4.2-3+deb8u4 patch_2.7.5-1+deb8u1 perl_5.20.2-3+deb8u12 perl-base_5.20.2-3+deb8u12 perl-modules_5.20.2-3+deb8u12 plymouth_0.9.0-9 po-debconf_1.0.16+nmu3 procps_2:3.3.9-9+deb8u1 python3_3.4.2-2 python3-minimal_3.4.2-2 python3.4_3.4.2-1+deb8u2 python3.4-minimal_3.4.2-1+deb8u2 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-uw-imap-dummy_0.invalid.0 sed_4.2.2-4+deb8u1 sensible-utils_0.0.9+deb8u1 startpar_0.59-3 systemd_215-17+deb8u9 systemd-sysv_215-17+deb8u9 sysv-rc_2.88dsf-59 sysvinit-utils_2.88dsf-59 tar_1.27.1-2+deb8u2 tzdata_2018i-0+deb8u1 udev_215-17+deb8u9 util-linux_2.25.2-6 xz-utils_5.1.1alpha+20120614-2 zlib1g_1:1.2.8.dfsg-2 zlib1g-dev_1:1.2.8.dfsg-2
+------------------------------------------------------------------------------+
| Build |
+------------------------------------------------------------------------------+
Unpack source
-------------
gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Fri Mar 1 13:05:31 2019 UTC using RSA key ID DDA7B20F
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./uw-imap_2007f~dfsg-4+deb8u1.dsc
dpkg-source: info: extracting uw-imap in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking uw-imap_2007f~dfsg.orig.tar.gz
dpkg-source: info: unpacking uw-imap_2007f~dfsg-4+deb8u1.debian.tar.xz
dpkg-source: info: applying 1001_shlibs.patch
dpkg-source: info: applying 1002_fix_ftbfs.patch
dpkg-source: info: applying 1003_fix_zero_len_when_mail_fetch_body_is_empty.patch
dpkg-source: info: applying 1004_support_rfc5464_METADATA.patch
dpkg-source: info: applying 2002_mailspool.patch
dpkg-source: info: applying 2004_no_binaries_below_etc.patch
dpkg-source: info: applying 2010_disallow_escaping_home.patch
dpkg-source: info: applying 2011_disable_version_check.patch
dpkg-source: info: applying 2012_krb5_multidev.patch
dpkg-source: info: applying 1005_poll.patch
dpkg-source: info: applying 2013_disable_rsh.patch
Check disk space
----------------
df: Warning: cannot read table of mounted file systems: No such file or directory
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/112/bus
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
INVOCATION_ID=8cbd5dd939134dd8b73e7ab15f47e609
JOURNAL_STREAM=8:16291
LANG=en_GB.UTF-8
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
PWD=/
SCHROOT_ALIAS_NAME=jessie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=jessie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=116
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=jessie-staging-armhf-sbuild-1e6872c8-d2ed-42fd-a3a3-4b46b31d117b
SCHROOT_UID=112
SCHROOT_USER=buildd
SHELL=/bin/sh
USER=buildd
XDG_RUNTIME_DIR=/run/user/112
XDG_SESSION_ID=c119
dpkg-buildpackage
-----------------
dpkg-buildpackage: source package uw-imap
dpkg-buildpackage: source version 8:2007f~dfsg-4+deb8u1
dpkg-buildpackage: source distribution jessie-security
dpkg-source --before-build uw-imap-2007f~dfsg
dpkg-buildpackage: host architecture armhf
fakeroot debian/rules clean
sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <debian/control.in.in >debian/control.in
test -x debian/rules
dh_clean
rm -f debian/copyright_newhints
rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check
rm -rf "debian/upstream-cruft"
rm -f debian/stamp-upstream-cruft
/usr/bin/make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Removing old processed sources and binaries...
sh -c 'rm -rf an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true'
cd tools;make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/tools'
sh -c 'rm -f *.o uahelper || true'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
for dir in ; do rm -f $dir/*.log; done
rm -f c-client.a
rm -f debian/build-stamp
rm -f debian/mlock.1
rm -rf RCS
rm -f ip6
for file in `find debian -maxdepth 2 -type f -name '*.in' -not -name control.in -not -name control.in.in -not -name README.source.in -not -name POTFILES.in -not -name 'watch.in'`; do \
targetfile=`echo $file | sed -e 's/__VER__/2007e/g' -e 's/\\.in$//'`; \
rm -f $targetfile; \
done
rm -f debian/install-libs-stamp
-find -name '*.txt' | grep rfc
debian/rules:143: recipe for target 'clean' failed
make: [clean] Error 1 (ignored)
debian/rules build-arch
sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <debian/control.in.in >debian/control.in
test -x debian/rules
mkdir -p "."
Scanning upstream source for new/changed copyright notices...
licensecheck -c '.*' -r --copyright -i '^debian/(changelog|copyright(|_hints|_newhints))' -l '99999' * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
16 combinations of copyright and licensing found.
WARNING: The following (and possibly more) new or changed notices discovered:
src/c-client/utf8.h
src/osdep/unix/os_aos.c
src/osdep/unix/os_art.c
src/osdep/unix/os_asv.c
src/osdep/unix/os_aux.c
src/osdep/unix/os_bsd.c
src/osdep/unix/os_cvx.c
src/osdep/unix/os_cyg.c
src/osdep/unix/os_do4.c
src/osdep/unix/os_dyn.c
src/osdep/unix/os_hpp.c
src/osdep/unix/os_isc.c
src/osdep/unix/os_ptx.c
src/osdep/unix/os_pyr.c
src/osdep/unix/os_s40.c
src/osdep/unix/os_shp.c
src/osdep/unix/os_sol.c
src/osdep/unix/os_sun.c
src/osdep/unix/os_sv2.c
src/osdep/unix/os_sv4.c
src/osdep/unix/os_vu2.h
debian/patches/1005_poll.patch
debian/patches/2011_disable_version_check.patch
debian/patches/2012_krb5_multidev.patch
debian/patches/2013_disable_rsh.patch
Files: src/ansilib/memset.c
Copyright: 1988-2006, University of Washington
while (n) s[--n
License: Apache-2.0
FIXME
Copyright: [yyyy
To fix the situation please do the following:
1) Fully compare debian/copyright_hints with debian/copyright_newhints
2) Update debian/copyright as needed
3) Replace debian/copyright_hints with debian/copyright_newhints
touch debian/stamp-copyright-check
touch debian/stamp-upstream-cruft
echo "sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <debian/control.in.in | diff -u debian/control.in -"
sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <debian/control.in.in | diff -u debian/control.in -
for file in `find debian -maxdepth 2 -type f -name '*.in' -not -name control.in -not -name control.in.in -not -name POTFILES.in`; do \
targetfile=`echo $file | sed -e 's/__VER__/2007e/g' -e 's/\\.in$//'`; \
sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <$file >$targetfile; \
done
dh_testdir
# Debian libc is believed to be IPv6-safe
touch ip6
/usr/bin/make VERSION=2007e EXTRAAUTHENTICATORS='gss' EXTRACFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' EXTRALDFLAGS='-Wl,-z,relro' ldb
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with RFC 3501 security
+ requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
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='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' EXTRALDFLAGS='-Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnp IP=6 \
SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib MAILSPOOL=/var/mail"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: 'ip6' is up to date.
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
Building c-client for lnp...
echo `cat SPECIALS` > c-client/SPECIALS
cd c-client;make lnp EXTRACFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing'\
EXTRALDFLAGS='-Wl,-z,relro'\
EXTRADRIVERS='mbox'\
EXTRAAUTHENTICATORS='gss'\
PASSWDTYPE=std SSLTYPE=nopwd IP=6\
SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib MAILSPOOL=/var/mail
make[3]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make build EXTRACFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' EXTRALDFLAGS='-Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \
SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \
SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ACTIVEFILE=/var/lib/news/active \
RSHPATH=/usr/bin/rsh \
BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer -isystem /usr/include/mit-krb5" \
BASELDFLAGS="../c-client/c-client.a -lpam -ldl"
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE ARCHIVENAME *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -O2 -pipe -fno-omit-frame-pointer -isystem /usr/include/mit-krb5 '-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' -DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
-DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \
-DANONYMOUSHOME=\"/var/mail/anonymous\" \
-DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
-DLOCKPGM=\"\" \
-DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \
-DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS
echo ../c-client/c-client.a -lpam -ldl -Wl,-z,relro > 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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o ;ranlib c-client.a" > ARCHIVE
echo c-client.a > ARCHIVENAME
echo slx > OSTYPE
./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy
./mkauths gss ext md5 pla log
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
echo -isystem /usr/include/mit-krb5 -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS
krb5-config.mit --libs gssapi >> LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c
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 || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS'
Standard password authentication
ln -s ckp_pam.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/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/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 osdep.c:50:0:
nl_unix.c: In function 'strcrlfcpy':
nl_unix.c:49:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
pmatch.c: In function 'pmatch_full':
pmatch.c:41:43: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T;
^
pmatch.c:41:43: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:1:0,
from env_unix.c:260,
from osdep.c:51:
kerb_mit.c: In function 'kerberos_login':
kerb_mit.c:103:31: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
authserver_login (lcase (user),kuser,argc,argv))
^
In file included from osdep.c:44:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from auths.c:1:0,
from env_unix.c:260,
from osdep.c:51:
kerb_mit.c:103:24: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign]
authserver_login (lcase (user),kuser,argc,argv))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from osdep.c:31:
env.h:40:6: note: expected 'char *' but argument is of type 'unsigned char *'
long authserver_login (char *user,char *authuser,int argc,char *argv[]);
^
In file included from auths.c:2:0,
from env_unix.c:260,
from osdep.c:51:
auth_gss.c: In function 'auth_gssapi_server':
auth_gss.c:399:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
SERVER_LOG ("Failed to acquire credentials for %s",buf.value);
^
auth_gss.c:406:4: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value);
^
auth_gss.c:414:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
SERVER_LOG ("GSSAPI mechanism status: %s",resp.value);
^
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:51:
auth_md5.c: In function 'auth_md5_pwd':
auth_md5.c:195:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
^
auth_md5.c:197:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++);
^
auth_md5.c:199:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lusr = *s ? lcase (cpystr (user)) : NIL;
^
In file included from osdep.c:44:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:51:
auth_md5.c:200:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s;
^
auth_md5.c:201:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = ret ? NIL : strtok_r (NIL,"\015\012",&r))
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
auth_md5.c:203:45: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) {
^
auth_md5.c:203:45: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:51:
auth_md5.c:203:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:51:
auth_md5.c:205:38: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
In file included from osdep.c:44:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:51:
auth_md5.c:209:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (!ret && lret) ret = cpystr (lret);
^
In file included from osdep.c:44:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from osdep.c:51:0:
env_unix.c: In function 'pwuser':
env_unix.c:641:33: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign]
struct passwd *pw = getpwnam (user);
^
In file included from osdep.c:42:0:
/usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *'
extern struct passwd *getpwnam (const char *__name);
^
In file included from osdep.c:51:0:
env_unix.c:645:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
pw = getpwnam (s = lcase (cpystr (user)));
^
In file included from osdep.c:44:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from osdep.c:51:0:
env_unix.c:645:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
pw = getpwnam (s = lcase (cpystr (user)));
^
In file included from osdep.c:44:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from osdep.c:51:0:
env_unix.c:645:22: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign]
pw = getpwnam (s = lcase (cpystr (user)));
^
In file included from osdep.c:42:0:
/usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *'
extern struct passwd *getpwnam (const char *__name);
^
In file included from osdep.c:51:0:
env_unix.c: In function 'valpwd':
env_unix.c:671:16: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
ret = pwuser (user); /* validated, get passwd entry for user */
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c:676:25: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
else if (pw = pwuser (user)) {/* can get user? */
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c:679:44: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
(*pwd == ' ') && pwd[1] && (ret = pwuser (s)))
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c: In function 'server_login':
env_unix.c:710:58: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user);
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c: In function 'authserver_login':
env_unix.c:728:28: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
return pw_login (pwuser (user),authuser,user,NIL,argc,argv);
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c: In function 'pw_login':
env_unix.c:767:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (user && auser && *auser && compare_cstring (auser,user)) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:767:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (user && auser && *auser && compare_cstring (auser,user)) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:770:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (auser,*t++))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:770:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (auser,*t++))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c: In function 'mailboxfile':
env_unix.c:1057:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ?
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1057:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ?
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1067:63: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1067:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1087:55: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1087:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1101:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX")) name = "INBOX";
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1101:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX")) name = "INBOX";
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1115:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name+1,"NBOX")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1115:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name+1,"NBOX")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c: In function 'lock_work':
env_unix.c:1374:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (op & LOCK_NB) i = flock (fd,op);
^
env_unix.c: In function 'dorc':
env_unix.c:1565:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set keywords") && !userFlags[0]) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1565:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set keywords") && !userFlags[0]) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1579:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set new-mailbox-format") ||
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1579:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set new-mailbox-format") ||
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1580:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set new-folder-format")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1580:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set new-folder-format")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1581:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"same-as-inbox")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1581:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"same-as-inbox")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1583:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (d->name,"mbox"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1583:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (d->name,"mbox"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1586:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (d->name,"dummy")) d = NIL;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1586:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (d->name,"dummy")) d = NIL;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1590:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1590:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1593:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"mbox")) k = "unix";
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1593:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"mbox")) k = "unix";
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1604:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set empty-mailbox-format") ||
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1604:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set empty-mailbox-format") ||
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1605:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set empty-folder-format")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1605:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set empty-folder-format")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1606:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"invalid")) appendProto = NIL;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1606:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"invalid")) appendProto = NIL;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1607:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"same-as-inbox"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1607:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"same-as-inbox"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1609:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (d->name,"dummy")) ?
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1609:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (d->name,"dummy")) ?
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1611:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1611:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1615:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
d && compare_cstring (d->name,k); d = d->next);
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1615:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
d && compare_cstring (d->name,k); d = d->next);
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1626:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set local-host")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1626:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set local-host")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1630:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-active-file")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1630:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-active-file")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1634:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-spool-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1634:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-spool-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1638:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1638:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1640:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-allow-inbox"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1640:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-allow-inbox"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1642:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-state-file")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1642:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-state-file")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1646:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-export-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1646:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-export-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1650:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-home-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1650:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-home-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1654:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-home-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1654:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-home-directory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1658:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set system-inbox")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1658:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set system-inbox")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1662:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mail-subdirectory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1662:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mail-subdirectory")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1666:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set from-widget"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1666:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set from-widget"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1668:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (k,"header-only") ?
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1668:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (k,"header-only") ?
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1671:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-command"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1671:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-command"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1673:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1673:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1675:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-command"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1675:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-command"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1677:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1677:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1679:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-open-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1679:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-open-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1681:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-read-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1681:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-read-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1683:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-write-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1683:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-write-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1685:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1685:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1687:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1687:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1689:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set maximum-login-trials"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1689:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set maximum-login-trials"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1691:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lookahead"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1691:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lookahead"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1693:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set prefetch"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1693:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set prefetch"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1695:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set close-on-error"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1695:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set close-on-error"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1697:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set imap-port"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1697:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set imap-port"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1699:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set pop3-port"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1699:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set pop3-port"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1701:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set uid-lookahead"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1701:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set uid-lookahead"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1703:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set try-ssl-first"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1703:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set try-ssl-first"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1706:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mailbox-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1706:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mailbox-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1708:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1708:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1710:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lock-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1710:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lock-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1712:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1712:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1714:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1714:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1716:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1716:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1718:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1718:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1720:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1720:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1722:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1722:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-directory-protection"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1724:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set dot-lock-file-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1724:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set dot-lock-file-timeout"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1726:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-fcntl-locking"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1726:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-fcntl-locking"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1728:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-lock-warning"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1728:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-lock-warning"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1730:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1730:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1732:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set hide-dot-files"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1732:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set hide-dot-files"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1734:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set list-maximum-level"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1734:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set list-maximum-level"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1736:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set trust-dns"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1736:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set trust-dns"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1738:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set sasl-uses-ptr-name"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1738:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set sasl-uses-ptr-name"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1740:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set network-filesystem-stat-bug"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1740:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set network-filesystem-stat-bug"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1742:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set nntp-range"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1742:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set nntp-range"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1746:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set black-box-directory") &&
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1746:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set black-box-directory") &&
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1748:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring(s,"set black-box-default-home-directory")&&
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1748:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring(s,"set black-box-default-home-directory")&&
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1751:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set anonymous-home-directory") &&
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1751:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set anonymous-home-directory") &&
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1758:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set CA-certificate-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1758:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set CA-certificate-path"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1760:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-plaintext"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1760:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-plaintext"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1762:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allowed-login-attempts"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1762:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allowed-login-attempts"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1764:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set chroot-server"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1764:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set chroot-server"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1766:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set restrict-mailbox-access"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1766:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set restrict-mailbox-access"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1768:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1768:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1769:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"otherusers"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1769:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"otherusers"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1771:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"all")) restrictBox = -1;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1771:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"all")) restrictBox = -1;
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1773:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set advertise-the-world"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1773:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set advertise-the-world"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1775:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set limited-advertise"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1775:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set limited-advertise"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1778:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(s,"set disable-automatic-shared-namespaces"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1778:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(s,"set disable-automatic-shared-namespaces"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1780:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-user-config"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1780:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-user-config"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1782:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-reverse-dns"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1782:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-reverse-dns"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1784:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set k5-cp-uses-service-name"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1784:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set k5-cp-uses-service-name"))
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1788:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set plaintext-allowed-clients")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:51:0:
env_unix.c:1788:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set plaintext-allowed-clients")) {
^
In file included from osdep.c:44:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from tcp_unix.c:29:0,
from osdep.c:54:
ip_unix.c: In function 'ip_stringtoaddr':
ip_unix.c:136:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) {
^
In file included from osdep.c:44:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from tcp_unix.c:29:0,
from osdep.c:54:
ip_unix.c:136:22: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) {
^
In file included from osdep.c:38:0:
/usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern int getaddrinfo (const char *__restrict __name,
^
In file included from tcp_unix.c:29:0,
from osdep.c:54:
ip_unix.c: In function 'ip_nametoaddr':
ip_unix.c:253:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) {
^
In file included from osdep.c:44:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from tcp_unix.c:29:0,
from osdep.c:54:
ip_unix.c:253:17: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) {
^
In file included from osdep.c:38:0:
/usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern int getaddrinfo (const char *__restrict __name,
^
In file included from osdep.c:54:0:
tcp_unix.c: In function 'tcp_getline':
tcp_unix.c:450:43: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign]
char *ret = tcp_getline_work (stream,&n,&contd);
^
tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size,
^
tcp_unix.c:458:41: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign]
ret = tcp_getline_work (stream,&n,&contd);
^
tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size,
^
tcp_unix.c: In function 'tcp_isclienthost':
tcp_unix.c:1000:17: warning: unused variable 'sadrlen' [-Wunused-variable]
size_t adrlen,sadrlen,len;
^
In file included from osdep.c:57:0:
flocklnx.c: In function 'safe_flock':
flocklnx.c:60:27: warning: passing argument 1 of 'syslog' makes integer from pointer without a cast
if (!logged++) syslog ("%s",LOG_ERR,tmp);
^
In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0,
from /usr/include/syslog.h:1,
from osdep.h:50,
from osdep.c:31:
/usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'int' but argument is of type 'char *'
syslog (int __pri, const char *__fmt, ...)
^
In file included from osdep.c:57:0:
flocklnx.c:60:32: warning: passing argument 2 of 'syslog' makes pointer from integer without a cast
if (!logged++) syslog ("%s",LOG_ERR,tmp);
^
In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0,
from /usr/include/syslog.h:1,
from osdep.h:50,
from osdep.c:31:
/usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'const char *' but argument is of type 'int'
syslog (int __pri, const char *__fmt, ...)
^
osdep.c: In function 'ssl_validate_cert':
osdep.c:567:34: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ret = ssl_compare_hostnames (host,s) ? NIL :
^
osdep.c:300:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c:567:39: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ret = ssl_compare_hostnames (host,s) ? NIL :
^
osdep.c:300:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c:576:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(name->type = GEN_DNS) && (s = name->d.ia5->data) &&
^
osdep.c:577:29: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ssl_compare_hostnames (host,s)) ret = NIL;
^
osdep.c:300:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c:577:34: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ssl_compare_hostnames (host,s)) ret = NIL;
^
osdep.c:300:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c: In function 'ssl_getline':
osdep.c:618:43: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign]
char *ret = ssl_getline_work (stream,&n,&contd);
^
osdep.c:301:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size,
^
osdep.c:626:41: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign]
ret = ssl_getline_work (stream,&n,&contd);
^
osdep.c:301:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size,
^
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:51:
auth_md5.c: In function 'auth_md5_pwd':
auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
^
In file included from osdep.c:51:0:
env_unix.c: In function 'pw_login':
env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
(ret = env_init (user,home))) chdir (myhomedir ());
^
`cat CCTYPE` -c `cat CFLAGS` mail.c
mail.c: In function 'mail_parameters':
mail.c:374:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:374:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:379:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:379:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:384:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:384:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:390:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:390:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:395:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:395:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:400:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:400:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:405:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:405:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_valid_net_parse_work':
mail.c:792:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:792:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:793:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lcase (strcpy (mb->service,v));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
mail.c:794:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:794:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:796:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:796:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:802:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"anonymous")) mb->anoflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:802:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"anonymous")) mb->anoflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:803:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"debug")) mb->dbgflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:803:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"debug")) mb->dbgflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:804:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:804:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:805:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"secure")) mb->secflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:805:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"secure")) mb->secflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:806:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"norsh")) mb->norsh = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:806:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"norsh")) mb->norsh = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:807:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"loser")) mb->loser = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:807:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"loser")) mb->loser = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:808:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:808:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:810:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:810:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:812:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"notls") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:812:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"notls") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:814:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tryssl"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:814:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tryssl"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:816:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:816:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:818:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"novalidate-cert"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:818:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"novalidate-cert"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:821:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"validate-cert"));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:821:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"validate-cert"));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:824:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:824:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:825:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"nntp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:825:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"nntp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:826:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"pop3") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:826:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"pop3") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:827:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"smtp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:827:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"smtp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:828:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"submit"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:828:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"submit"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:829:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lcase (strcpy (mb->service,s));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
mail.c:830:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap2") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:830:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap2") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:831:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap2bis") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:831:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap2bis") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:832:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:832:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:833:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4rev1"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:833:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4rev1"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:835:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"pop"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:835:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"pop"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_create':
mail.c:1008:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:1008:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_open':
mail.c:1250:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:1250:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_fetch_overview':
mail.c:1472:48: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (stream->dtb && mail_uid_sequence (stream,sequence) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mail.c: In function 'mail_fetch_overview_sequence':
mail.c:1488:44: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
if (stream->dtb && mail_sequence (stream,sequence) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mail.c: In function 'mail_fetch_overview_default':
mail.c:1513:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ov.date = env->date;
^
mail.c: In function 'mail_fetch_header':
mail.c:1731:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!((b = mail_body (stream,msgno,section)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_fetch_text':
mail.c:1822:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!((b = mail_body (stream,msgno,section)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_fetch_mime':
mail.c:1876:61: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(section && *section && (b = mail_body (stream,msgno,section))))
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_fetch_body':
mail.c:1962:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(b = mail_body (stream,msgno,section))) return "";
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_partial_text':
mail.c:2022:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!((b = mail_body (stream,msgno,section)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_partial_body':
mail.c:2090:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(b = mail_body (stream,msgno,section))) return NIL;
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_flag':
mail.c:2312:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & ST_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mail.c:2313:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c: In function 'mail_append_multiple':
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
mail.c: In function 'mail_body':
mail.c:2724:21: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (!(i = strtoul (section,(char **) §ion,10)) ||
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_parse_date':
mail.c:2856:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mail.c:2856:76: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from mail.c:28:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
mail.c:2856:64: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mail.c:2862:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (!(m = strtoul (s,(char **) &s,10))) return NIL;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2866:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) &&
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2868:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
y = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2878:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') &&
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2879:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(d = strtoul (s,(char **) &s,10)) && !*s) break;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2884:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen (s) < (size_t) 5) return NIL;
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mail.c:2912:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
y = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2936:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
d = strtoul (s+1,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2938:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
m = strtoul (++s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2939:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_uid_sequence':
mail.c:3269:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(i = strtoul (sequence,(char **) &sequence,10))) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:3280:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(j = strtoul (sequence,(char **) &sequence,10))) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_filter':
mail.c:3377:53: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
mail.c: In function 'mail_search_msg':
mail.c:3519:44: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
BODY *body = mail_body (stream,msgno,section);
^
mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section)
^
mail.c: In function 'mail_search_text':
mail.c:3691:46: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
else if ((body = mail_body (stream,msgno,section)) &&
^
mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section)
^
mail.c: In function 'mail_search_string':
mail.c:3810:16: warning: unused variable 'sc' [-Wunused-variable]
STRINGLIST **sc = st;
^
mail.c: In function 'mail_search_keyword':
mail.c:3858:32: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if (!compare_csizedtext (stream->user_flags[i],&st->text)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
mail.c: In function 'mail_criteria':
mail.c:3989:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
switch (*ucase (criterion)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mail.c: In function 'mail_criteria_date':
mail.c:4080:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (&elt,(char *) s->text.data) &&
^
mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
^
mail.c: In function 'mail_sort_loadcache':
mail.c:4336:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (env) t = env->date;
^
mail.c:4352:38: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!(t && mail_parse_date (&telt,t) &&
^
mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
^
mail.c: In function 'mail_sort_compare':
mail.c:4652:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->from,s2->from);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4652:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->from,s2->from);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4655:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->to,s2->to);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4655:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->to,s2->to);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4658:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->cc,s2->cc);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4658:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->cc,s2->cc);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4661:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->subject,s2->subject);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4661:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->subject,s2->subject);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_thread_msgs':
mail.c:4760:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (type,t->name)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4760:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (type,t->name)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_thread_orderedsubject':
mail.c:4804:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (top->sc->subject,s->subject)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4804:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (top->sc->subject,s->subject)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_thread_loadcache':
mail.c:5125:56: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) {
^
mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
^
mail.c: In function 'mail_sequence':
mail.c:5375:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(i = strtoul (sequence,(char **) &sequence,10)) ||
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:5391:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(j = strtoul (sequence,(char **) &sequence,10)) ||
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_parse_flags':
mail.c:5446:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t+1,"SEEN")) f |= fSEEN;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5446:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t+1,"SEEN")) f |= fSEEN;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5447:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5447:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5448:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5448:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5449:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5449:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5450:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5450:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5460:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,s)) *uf |= i = 1 << j;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5460:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,s)) *uf |= i = 1 << j;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_usable_network_stream':
mail.c:5509:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
((!compare_cstring (smb.host,
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5510:10: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
trustdns ? tcp_canonical (nmb.host) : nmb.host)&&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5515:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (omb.host,nmb.host) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5515:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (omb.host,nmb.host) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_auth':
mail.c:6112:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (auth->server && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:6112:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (auth->server && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_lookup_auth_name':
mail.c:6145:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:6145:62: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: At top level:
mail.c:38:14: warning: 'mailcclientversion' defined but not used [-Wunused-variable]
static char *mailcclientversion = CCLIENTVERSION;
^
mail.c: In function 'mail_parse_set':
mail.c:4153:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized]
else cur = cur->next = mail_newsearchset ();
^
`cat CCTYPE` -c `cat CFLAGS` misc.c
misc.c: In function 'compare_csizedtext':
misc.c:471:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
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:167:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c:167:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c:170:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c:170:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c: In function 'newsrc_state':
newsrc.c:468:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (s,(size_t) 1,size,f);
^
`cat CCTYPE` -c `cat CFLAGS` smanager.c
smanager.c: In function 'sm_subscribe':
smanager.c:44:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smanager.c:44:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smanager.c: In function 'sm_unsubscribe':
smanager.c:77:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smanager.c:77:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
`cat CCTYPE` -c `cat CFLAGS` utf8.c
utf8.c:343:1: warning: missing braces around initializer [-Wmissing-braces]
};
^
utf8.c:343:1: warning: (near initialization for 'utf8_csvalid[92]') [-Wmissing-braces]
utf8.c:370:1: warning: missing braces around initializer [-Wmissing-braces]
};
^
utf8.c:370:1: warning: (near initialization for 'utf8_scvalid[21]') [-Wmissing-braces]
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]
if (!compare_cstring (script,utf8_scvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:383:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (script,utf8_scvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
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]
if (!compare_cstring (charset,utf8_csvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:400:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (charset,utf8_csvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
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]
short iso2022jp = !compare_cstring (charset,"ISO-2022-JP");
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
short iso2022jp = !compare_cstring (charset,"ISO-2022-JP");
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c: In function 'utf8_cstocstext':
utf8.c:613:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (dcs->name,"ISO-2022-JP"))) ?
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:613:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (dcs->name,"ISO-2022-JP"))) ?
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap :
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:647:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap :
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c: In function 'utf8_csvalidmap':
utf8.c:1291:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP";
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:1291:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP";
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c: In function 'ucs4_decompose':
utf8.c:2497:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ret;
^
`cat CCTYPE` -c `cat CFLAGS` utf8aux.c
utf8aux.c: In function 'utf8_from_mutf7':
utf8aux.c:415:24: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign]
if (mail_utf7_valid (src)) return NIL;
^
In file included from c-client.h:41:0,
from utf8aux.c:32:
mail.h:1644:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_utf7_valid (char *mailbox);
^
utf8aux.c:420:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from utf8aux.c:32:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
utf8aux.c:420:26: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign]
for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
^
In file included from c-client.h:48:0,
from utf8aux.c:32:
misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
^
utf8aux.c:420:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
^
`cat CCTYPE` -c `cat CFLAGS` siglocal.c
`cat CCTYPE` -c `cat CFLAGS` dummy.c
dummy.c: In function 'dummy_valid':
dummy.c:124:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) return &dummydriver;
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:124:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) return &dummydriver;
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_scan':
dummy.c:185:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (pmatch ("INBOX",ucase (test))) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
dummy.c:185:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch ("INBOX",ucase (test))) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c: In function 'dummy_lsub':
dummy.c:224:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX") &&
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:224:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX") &&
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:225:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
pmatch ("INBOX",ucase (strcpy (tmp,test))))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
dummy.c:225:12: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
pmatch ("INBOX",ucase (strcpy (tmp,test))))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:227:29: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:227:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:230:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:230:21: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c: In function 'dummy_list_work':
dummy.c:290:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:290:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:290:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:290:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:304:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if ((pmatch_full (strcpy (path,tmp),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:304:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if ((pmatch_full (strcpy (path,tmp),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:305:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
pmatch_full (strcat (path,"/"),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:305:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
pmatch_full (strcat (path,"/"),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:306:15: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign]
dmatch (path,pat,'/')) &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:306:20: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign]
dmatch (path,pat,'/')) &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:315:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!pmatch (tmp,"INBOX")) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:315:23: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!pmatch (tmp,"INBOX")) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:316:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/')) {
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:316:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/')) {
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:321:30: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:321:35: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:325:18: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:325:23: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:331:23: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:331:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:331:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:331:60: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_create':
dummy.c:458:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:458:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_rename':
dummy.c:568:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:568:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_open':
dummy.c:597:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (stream->mailbox,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:597:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (stream->mailbox,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_copy':
dummy.c:704:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from dummy.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
dummy.c:705:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy");
^
In file included from dummy.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
dummy.c: In function 'dummy_append':
dummy.c:726:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:726:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point]
if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX"))
^
dummy.c: In function 'dummy_canonicalize':
dummy.c:803:28: warning: value computed is not used [-Wunused-value]
for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i;
^
dummy.c: In function 'dummy_scan_contents':
dummy.c:383:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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]
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]
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:159:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (tmp); /* coerce to uppercase */
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:198:53: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d);
^
rfc822.c: In function 'rfc822_parse_content':
rfc822.c:490:54: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
rfc822_parse_content_header (&part->body,ucase (s1+8),s);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:490:47: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign]
rfc822_parse_content_header (&part->body,ucase (s1+8),s);
^
In file included from c-client.h:43:0,
from rfc822.c:38:
rfc822.h:64:6: note: expected 'char *' but argument is of type 'unsigned char *'
void rfc822_parse_content_header (BODY *body,char *name,char *s);
^
rfc822.c: In function 'rfc822_parse_content_header':
rfc822.c:560:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
body->disposition.type = ucase (cpystr (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:560:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->disposition.type = ucase (cpystr (s));
^
rfc822.c:574:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
stl->text.data = (unsigned char *) ucase (cpystr (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:601:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_types[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:601:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_types[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:612:36: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
body_types[body->type] = ucase (s);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:612:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body_types[body->type] = ucase (s);
^
rfc822.c:624:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (s) body->subtype = ucase (rfc822_cpy (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:624:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s) body->subtype = ucase (rfc822_cpy (s));
^
rfc822.c:642:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_encodings[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:642:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_encodings[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:653:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
body_encodings[body->encoding] = ucase (s);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:653:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body_encodings[body->encoding] = ucase (s);
^
rfc822.c: In function 'rfc822_parse_parameter':
rfc822.c:686:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
param->attribute = ucase (cpystr (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:686:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
param->attribute = ucase (cpystr (s));
^
rfc822.c: In function 'rfc822_output_header':
rfc822.c:1462:45: warning: pointer targets in passing argument 4 of 'rfc822_output_header_line' differ in signedness [-Wpointer-sign]
rfc822_output_header_line (buf,"Date",i,env->date) &&
^
In file included from c-client.h:43:0,
from rfc822.c:38:
rfc822.h:88:6: note: expected 'char *' but argument is of type 'unsigned char *'
long rfc822_output_header_line (RFC822BUFFER *buf,char *type,long resent,
^
rfc822.c: In function 'rfc822_output':
rfc822.c:2342:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
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:362:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c:362:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c:365:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c:365:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from nntp.c:32:
nntp.c: In function 'nntp_lsub':
nntp.c:397:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from nntp.c:32:
nntp.c:397:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c: In function 'nntp_status':
nntp.c:566:24: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign]
newsrc_check_uid (state,k,&status.recent,&status.unseen);
^
In file included from nntp.c:33:0:
newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *'
void newsrc_check_uid (unsigned char *state,unsigned long uid,
^
nntp.c:575:20: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign]
newsrc_check_uid (state,i++,&status.recent,&status.unseen);
^
In file included from nntp.c:33:0:
newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *'
void newsrc_check_uid (unsigned char *state,unsigned long uid,
^
nntp.c: In function 'nntp_mopen':
nntp.c:734:12: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ?
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
nntp.c: In function 'nntp_fetchfast':
nntp.c:853:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c:854:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c: In function 'nntp_flags':
nntp.c:896:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c:896:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c: In function 'nntp_over':
nntp.c:999:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from nntp.c:32:
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c: In function 'nntp_parse_overview':
nntp.c:1045:43: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!elt->day) mail_parse_date (elt,ov->date);
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
nntp.c: In function 'nntp_search_msg':
nntp.c:1314:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
(!mail_parse_date (&delt,ov->date) ||
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
nntp.c: In function 'nntp_sort_loadcache':
nntp.c:1531:33: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt);
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
nntp.c: In function 'nntp_extensions':
nntp.c:1818:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1818:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1819:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1819:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1820:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1820:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1821:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1821:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1822:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1822:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1823:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1823:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1825:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTHINFO") && args) {
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1825:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTHINFO") && args) {
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1828:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1828:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c: In function 'nntp_mail':
nntp.c:1916:19: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
if (s = strstr (env->date," (")) *s = NIL;
^
In file included from osdep.h:44:0,
from c-client.h:42,
from nntp.c:32:
/usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'unsigned char *'
extern char *strstr (const char *__haystack, const char *__needle)
^
nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable]
long retry = NIL;
^
nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable]
long error = NIL;
^
nntp.c: In function 'nntp_mopen':
nntp.c:764:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3),
^
nntp.c: In function 'nntp_header':
nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (elt->private.msg.header.text.data =
^
`cat CCTYPE` -c `cat CFLAGS` smtp.c
smtp.c: In function 'smtp_open_full':
smtp.c:166:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (mb.service,"submit")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:166:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (mb.service,"submit")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:184:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
s = compare_cstring ("localhost",mb.host) ?
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:184:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
s = compare_cstring ("localhost",mb.host) ?
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c: In function 'smtp_ehlo':
smtp.c:690:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"SIZE")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:690:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"SIZE")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:694:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DELIVERBY")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:694:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DELIVERBY")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:698:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:698:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:702:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"AUTH"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:702:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"AUTH"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:708:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:708:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:709:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:709:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:710:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:710:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:711:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:711:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:712:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:712:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:713:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:713:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:714:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:714:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:715:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:715:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:716:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:716:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:717:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:717:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:718:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:718:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:719:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:719:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:720:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:720:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:721:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:721:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:722:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ENHANCEDSTATUSCODES"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:722:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ENHANCEDSTATUSCODES"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:724:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:724:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:725:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:725:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:708:15: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
^
`cat CCTYPE` -c `cat CFLAGS` imap4r1.c
In file included from c-client.h:48:0,
from imap4r1.c:38:
imap4r1.c: In function 'imap_lsub':
imap4r1.c:509:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from imap4r1.c:38:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
imap4r1.c:509:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from imap4r1.c:38:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
imap4r1.c: In function 'imap_list_work':
imap4r1.c:568:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (cmd,"LIST")) cmd = "RLIST";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:568:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (cmd,"LIST")) cmd = "RLIST";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:570:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:570:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c: In function 'imap_manage':
imap4r1.c:685:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress]
if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) &&
^
imap4r1.c:706:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ret ? NIL : ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_open':
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:876:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
if (reply) mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:989:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (mb.mailbox,"INBOX");
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:989:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (mb.mailbox,"INBOX");
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:999:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_rimap':
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c: In function 'imap_anon':
imap4r1.c:1085:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (reply->tag,tag)) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1087:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1102:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_auth':
imap4r1.c:1152:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (compare_cstring (reply->tag,tag))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1153:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1162:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
lsterr = cpystr (reply->text);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imap4r1.c: In function 'imap_login':
imap4r1.c:1214:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_challenge':
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1249:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
strlen (reply->text),len))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imap4r1.c: In function 'imap_close':
imap4r1.c:1306:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_fast':
imap4r1.c:1346:40: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_flags':
imap4r1.c:1367:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_overview':
imap4r1.c:1420:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ov.date = env->date;
^
imap4r1.c: In function 'imap_structure':
imap4r1.c:1468:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1595:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1597:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_msgdata':
imap4r1.c:1827:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1837:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1846:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1850:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_uid':
imap4r1.c:1903:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_msgno':
imap4r1.c:1939:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_flag':
imap4r1.c:1980:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_search':
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2073:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:2109:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_sort':
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2188:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_thread':
imap4r1.c:2275:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (thr->name,type))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:2275:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (thr->name,type))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_thread_work':
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2350:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_check':
imap4r1.c:2374:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_expunge':
imap4r1.c:2399:36: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
else if (mail_sequence (stream,sequence)) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imap4r1.c:2427:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_copy':
imap4r1.c:2465:65: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) &&
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imap4r1.c:2469:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_append':
imap4r1.c:2522:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_append_referral':
imap4r1.c:2585:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_append_single':
imap4r1.c:2615:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
imap4r1.c:2619:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*");
^
imap4r1.c:2620:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.key = "BAD";
^
imap4r1.c:2621:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.text = "Bad date in append";
^
imap4r1.c: In function 'imap_acl_work':
imap4r1.c:2895:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_annotation_work':
imap4r1.c:2906:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_setquota':
imap4r1.c:2929:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_getquota':
imap4r1.c:2951:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_getquotaroot':
imap4r1.c:2974:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_send':
imap4r1.c:3011:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3011:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3012:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"STORE") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3012:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"STORE") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3013:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"SEARCH")) ?
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3013:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"SEARCH")) ?
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3183:42: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!map->date || mail_parse_date (&elt,map->date)) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
imap4r1.c: In function 'imap_send_qstring':
imap4r1.c:3256:8: warning: unused variable 'c' [-Wunused-variable]
char c;
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_send_literal':
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c: In function 'imap_reply':
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3699:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (tag && !compare_cstring (tag,reply->tag)) return reply;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_reply':
imap4r1.c:3725:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.line = text)) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3731:31: note: in expansion of macro 'LOCAL'
if (stream->debug) mm_dlog (LOCAL->reply.line);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_dlog (char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3732:38: note: in expansion of macro 'LOCAL'
if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3732:38: note: in expansion of macro 'LOCAL'
if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:3732:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:3740:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) {
^
imap4r1.c:3750:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r)))
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3751:54: note: in expansion of macro 'LOCAL'
LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key);
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imap4r1.c:3754:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */
^
imap4r1.c:3755:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r)))
^
imap4r1.c:3756:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.text = "";
^
imap4r1.c: In function 'imap_fake':
imap4r1.c:3776:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*");
^
imap4r1.c:3777:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.key = "NO";
^
imap4r1.c:3778:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.text = text;
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_OK':
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3794:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,NIL,NIL);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3799:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,WARN,NIL);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3802:35: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,ERROR,NIL);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
imap4r1.c: In function 'imap_parse_unsolicited':
imap4r1.c:3826:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
msgno = strtoul (reply->key,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3840:26: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
s = ucase (strtok_r (reply->text," ",&r));
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:3840:26: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
s = ucase (strtok_r (reply->text," ",&r));
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:3840:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
s = ucase (strtok_r (reply->text," ",&r));
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:3842:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = strtok_r (NIL,"\n",&r);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3868:32: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
while (prop = (strtok_r (t," )",&r))) {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:3868:32: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
while (prop = (strtok_r (t," )",&r))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:3869:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = strtok_r (NIL,"\n",&r);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3881:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000");
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
imap4r1.c:3887:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:3928:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strchr (md.what,']'))) {
^
imap4r1.c:3930:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3943:29: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (t = strchr (s = t,' ')) *t++ = '\0';
^
imap4r1.c:3943:29: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3943:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (t = strchr (s = t,' ')) *t++ = '\0';
^
imap4r1.c:3948:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
md.first = strtoul (s+1,(char **) &s,10) + 1;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:3991:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
elt->rfc822_size = strtoul (t,(char **) &t,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4031:20: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
(s = strtok_r (reply->text+1," )",&r)))
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4031:20: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
(s = strtok_r (reply->text+1," )",&r)))
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4031:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(s = strtok_r (reply->text+1," )",&r)))
^
imap4r1.c:4034:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,stream->user_flags[i]); i++);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4040:74: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imap4r1.c:4042:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (s = strtok_r (NIL," )",&r));
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4045:39: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) do
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4045:39: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) do
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4045:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) do
^
imap4r1.c:4046:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (i = strtoul (t,NIL,10)) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:4055:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while (t = strtok_r (NIL," ",&r));
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4065:39: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4065:39: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4065:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) {
^
imap4r1.c:4066:25: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign]
do if ((i = atol (t)) && (LOCAL->filter ?
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/stdlib.h:283:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__NTH (atol (const char *__nptr))
^
imap4r1.c:4069:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs));
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4094:53: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) &&
^
imap4r1.c:4094:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4094:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) &&
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4100:35: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
while (*txt && (s = strchr (txt,' '))) {
^
imap4r1.c:4100:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4100:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (*txt && (s = strchr (txt,' '))) {
^
imap4r1.c:4103:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
i = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:4104:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (txt,"MESSAGES")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4108:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"RECENT")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4112:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"UNSEEN")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4116:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"UIDNEXT")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4120:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"UIDVALIDITY")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4129:53: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4139:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(s = strchr (reply->text,')')) && (s[1] == ' ')) {
^
imap4r1.c:4139:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4139:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(s = strchr (reply->text,')')) && (s[1] == ' ')) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4143:23: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
if (t = strtok_r (reply->text+1," ",&r)) do {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4143:23: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
if (t = strtok_r (reply->text+1," ",&r)) do {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4143:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strtok_r (reply->text+1," ",&r)) do {
^
imap4r1.c:4144:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4145:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4146:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4147:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4148:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4149:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4152:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (t = strtok_r (NIL," ",&r));
^
imap4r1.c:4166:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t);
^
imap4r1.c:4166:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imap4r1.c:4169:59: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign]
if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1617:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes);
^
imap4r1.c:4170:38: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign]
else mm_list (stream,delimiter,s,i);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4202:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
mbox = imap_parse_astring (stream, &s, reply,NIL);
^
imap4r1.c:4208:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
al->entry = t;
^
imap4r1.c:4226:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
vlIter->attr = cpystr (strlist->text.data);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imap4r1.c:4230:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
vlIter->value = cpystr (strlist->text.data);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4247:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) &&
^
imap4r1.c:4249:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ac->rights = imap_parse_astring (stream,&s,reply,NIL);
^
imap4r1.c:4258:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign]
else if (ar) (*ar) (stream,t,al);
^
imap4r1.c:4258:34: note: expected 'char *' but argument is of type 'unsigned char *'
imap4r1.c:4262:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign]
else if (ar) (*ar) (stream,t,NIL);
^
imap4r1.c:4262:32: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4270:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){
^
imap4r1.c:4272:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(r = imap_parse_astring (stream,&s,reply,NIL))) {
^
imap4r1.c:4286:31: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign]
else if (lr) (*lr) (stream,t,id,r,rl);
^
imap4r1.c:4286:31: note: expected 'char *' but argument is of type 'unsigned char *'
imap4r1.c:4291:29: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign]
else if (lr) (*lr) (stream,t,id,r,NIL);
^
imap4r1.c:4291:29: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4313:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) {
^
imap4r1.c:4319:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign]
else if (mr) (*mr) (stream,t,r);
^
imap4r1.c:4319:34: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4342:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s &&
^
imap4r1.c:4344:43: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4345:25: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (t = strchr (s,' ')) t = s;
^
imap4r1.c:4345:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4345:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (t = strchr (s,' ')) t = s;
^
imap4r1.c:4347:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4353:30: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign]
if (qt) (*qt) (stream,t,ql);
^
imap4r1.c:4353:30: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4387:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign]
else if (qr) (*qr) (stream,t,rl);
^
imap4r1.c:4387:34: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4399:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,NIL,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4401:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,WARN,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4403:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,ERROR,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4406:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,BYE,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4409:37: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign]
imap_parse_capabilities (stream,reply->text);
^
imap4r1.c:268:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_capabilities (MAILSTREAM *stream,char *t);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4412:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN))
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imap4r1.c:4413:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text);
^
imap4r1.c:4413:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imap4r1.c:4415:25: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign]
mm_list (stream,NIL,t,NIL);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes);
^
imap4r1.c: In function 'imap_parse_response':
imap4r1.c:4448:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDVALIDITY") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4448:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDVALIDITY") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4457:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDNEXT"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4457:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDNEXT"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4459:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4467:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4467:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4468:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Deleted"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4468:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Deleted"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4470:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Flagged"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4470:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Flagged"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4472:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Answered"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4472:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Answered"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4474:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4474:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4482:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CAPABILITY"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4482:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CAPABILITY"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4485:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (t,"COPYUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4485:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (t,"COPYUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4491:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (j && !compare_cstring (t,"APPENDUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4491:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (j && !compare_cstring (t,"APPENDUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4498:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"REFERRAL"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4498:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"REFERRAL"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4505:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDNOTSTICKY")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4505:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDNOTSTICKY")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4509:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4509:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4510:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-WRITE"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4510:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-WRITE"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4512:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PARSE") && !errflg)
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4512:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PARSE") && !errflg)
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_namespace':
imap4r1.c:4554:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL);
^
imap4r1.c:4579:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL,
^
imap4r1.c:4591:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,
^
In file included from imap4r1.c:35:0:
imap4r1.c: In function 'imap_parse_thread':
imap4r1.c:4664:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (isdigit (*(s = *txtptr)) &&
^
imap4r1.c:4666:12: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
strtoul (*txtptr,(char **) txtptr,10))) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c: In function 'imap_parse_envelope':
imap4r1.c:4750:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4757:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c:4759:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c: In function 'imap_parse_address':
imap4r1.c:4856:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4857:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4858:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4859:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c: In function 'imap_parse_flags':
imap4r1.c:4956:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (*(flag = ++*txtptr) == ' ');
^
imap4r1.c:4964:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,"\\Seen")) elt->seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4964:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,"\\Seen")) elt->seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4965:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4965:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4966:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4966:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4967:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Answered")) elt->answered = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4967:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Answered")) elt->answered = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4968:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Recent")) elt->recent = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4968:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Recent")) elt->recent = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4969:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Draft")) elt->draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4969:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Draft")) elt->draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_user_flag':
imap4r1.c:4993:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4993:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_astring':
imap4r1.c:5026:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
ret = strncpy ((char *) fs_get (i + 1),s,i);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
imap4r1.c:5026:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ret = strncpy ((char *) fs_get (i + 1),s,i);
^
imap4r1.c: In function 'imap_parse_string':
imap4r1.c:5067:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
st = ++*txtptr; /* remember start of string */
^
imap4r1.c:5116:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5147:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(reply->line = net_getline (LOCAL->netstream)))
^
imap4r1.c:5148:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
reply->line = cpystr ("");
^
imap4r1.c:5149:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign]
if (stream->debug) mm_dlog (reply->line);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_dlog (char *string);
^
imap4r1.c: In function 'imap_cache':
imap4r1.c:5217:39: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(b = mail_body (stream,msgno,seg))) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
imap4r1.c: In function 'imap_parse_body_structure':
imap4r1.c:5294:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT))
^
imap4r1.c:5295:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (body->subtype);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5313:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:5334:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) {
^
imap4r1.c:5335:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* application always gets uppercase form */
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5344:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT))
^
imap4r1.c:5345:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (body->subtype); /* parse subtype */
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5352:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:5353:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c:5355:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) {
^
imap4r1.c:5356:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* application always gets uppercase form */
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5369:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
body->size.bytes = strtoul (*txtptr,(char **) txtptr,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5389:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
body->size.lines = strtoul (*txtptr,(char **) txtptr,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5396:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:5409:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c: In function 'imap_parse_body_parameter':
imap4r1.c:5457:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c:5463:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){
^
imap4r1.c:5485:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
((*(s = *txtptr) == 'I') || (*s == 'i')) &&
^
imap4r1.c: In function 'imap_parse_disposition':
imap4r1.c:5509:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c: In function 'imap_parse_language':
imap4r1.c:5552:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) {
^
imap4r1.c: In function 'imap_parse_extension':
imap4r1.c:5620:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (i = strtoul (*txtptr,(char **) txtptr,10)) do
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5625:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(reply->line = net_getline (LOCAL->netstream)))
^
imap4r1.c:5626:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
reply->line = cpystr ("");
^
imap4r1.c:5627:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign]
if (stream->debug) mm_dlog (reply->line);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_dlog (char *string);
^
imap4r1.c:5632:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
strtoul (*txtptr,(char **) txtptr,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c: In function 'imap_parse_capabilities':
imap4r1.c:5666:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"IMAP4"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5666:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"IMAP4"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5668:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP4rev1"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5668:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP4rev1"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5670:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5670:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5671:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2bis"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5671:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2bis"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5673:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5673:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5674:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5674:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5675:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5675:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5676:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5676:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5677:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5677:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5678:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5678:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5679:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5679:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5680:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5680:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5681:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5681:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5682:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5682:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5683:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5683:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5684:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5684:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5685:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5685:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5686:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5686:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5687:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5687:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5688:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5688:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5689:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5689:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5690:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5690:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5691:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5691:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5692:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5692:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5693:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5693:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5701:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"THREAD") && !LOCAL->loser) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5701:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"THREAD") && !LOCAL->loser) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5708:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTH")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5708:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTH")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5711:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5711:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5696:10: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
((t[2] == 'R') || (t[2] == 'r')) &&
^
`cat CCTYPE` -c `cat CFLAGS` pop3.c
pop3.c: In function 'pop3_valid':
pop3.c:180:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:180:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c: In function 'pop3_scan':
pop3.c:232:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(pop3_valid (ref) && pmatch ("INBOX",pat)) :
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:232:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(pop3_valid (ref) && pmatch ("INBOX",pat)) :
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:233:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:233:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c: In function 'pop3_list':
pop3.c:248:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pop3_valid (ref) && pmatch ("INBOX",pat)) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:248:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pop3_valid (ref) && pmatch ("INBOX",pat)) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:253:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:253:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c: In function 'pop3_lsub':
pop3.c:279:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:279:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
pop3.c: In function 'pop3_capa':
pop3.c:500:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:500:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:501:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:501:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:502:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:502:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:503:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:503:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:504:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:504:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"IMPLEMENTATION") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"IMPLEMENTATION") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"EXPIRE") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"EXPIRE") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:516:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (args,"NEVER")) ? 65535 :
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:516:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (args,"NEVER")) ? 65535 :
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:517:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args));
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:517:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args));
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:519:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-DELAY") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:519:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-DELAY") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:527:54: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ?
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:527:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ?
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:530:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:530:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c: In function 'pop3_fetchfast':
pop3.c:784:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c:785:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c: In function 'pop3_expunge':
pop3.c:948:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c:949:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) :
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c: In function 'pop3_header':
pop3.c:848:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (elt->private.msg.header.text.data = (unsigned char *)
^
`cat CCTYPE` -c `cat CFLAGS` unix.c
unix.c: In function 'unix_valid':
unix.c:231:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
unix.c: In function 'unix_open':
unix.c:468:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:468:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:480:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
unix.c:530:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
flock (LOCAL->ld,LOCK_UN); /* release the lock */
^
unix.c: In function 'unix_header':
unix.c:626:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
unix.c:640:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:653:26: note: in expansion of macro 'LOCAL'
*length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT);
^
In file included from unix.c:45:0:
mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines,
^
unix.c: In function 'unix_text_work':
unix.c:703:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
unix.c:731:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = tmp; /* initial buffer chunk */
^
unix.c:734:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) {
^
unix.c: In function 'unix_ping':
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:787:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:789:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_expunge':
unix.c:846:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from unix.c:45:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:847:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from unix.c:45:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable]
MESSAGECACHE *elt = mail_elt (stream,i);
^
unix.c:860:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i);
^
unix.c: In function 'unix_copy':
unix.c:902:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from unix.c:45:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:903:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from unix.c:45:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:909:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:909:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:916:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:917:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:921:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:922:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:926:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:927:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:936:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:938:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:947:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:948:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);/* log the error */
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:957:21: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from unix.c:46:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:965:27: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) :
^
unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:966:27: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL);
^
unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:967:18: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from unix.c:46:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:981:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:1007:21: note: in expansion of macro 'LOCAL'
if (!ret) MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_append':
unix.c:1051:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1051:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1093:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from unix.c:45:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable]
unsigned long uidlocation = 0;
^
unix.c: In function 'unix_collect_msg':
unix.c:1196:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((s = stream->user_flags[find_rightmost_bit (&uf)]) &&
^
unix.c: In function 'unix_parse':
unix.c:1462:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__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]
MM_LOG (tmp,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1472:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1474:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR); /* this is pretty bad */
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1486:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
unix.c:1495:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = unix_mbxline (stream,&bs,&i);
^
unix.c:1499:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1501:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1550:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unable to parse internal date: %s",(char *) date);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1551:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1555:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = t = unix_mbxline (stream,&bs,&i);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from unix.c:46:
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
In file included from osdep.h:44:0,
from unix.c:46:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
unix.c:1578:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if (!compare_csizedtext (stream->user_flags[j],&uf)) {
^
In file included from unix.c:52:0:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from unix.c:46:
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1633:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (stream->user_flags[j],s,k);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
unix.c:1661:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu already has UID %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1666:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu less than %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1686:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1742:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (tmp,"STATUS") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1743:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-STATUS") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1744:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-KEYWORDS") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1745:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-UID") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1746:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAP") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1747:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAPBASE")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1770:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (u = strpbrk (err,"\r\n")) *u = '\0';
^
unix.c:1796:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = unix_mbxline (stream,&bs,&i);
^
unix.c: In function 'unix_rewrite':
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2082:60: note: in expansion of macro 'LOCAL'
unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0;
^
unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2090:23: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) +
^
unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2098:32: note: in expansion of macro 'LOCAL'
size = unix_pseudo (stream,LOCAL->buf);
^
unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2118:53: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf));
^
unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2118:22: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf));
^
unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *'
void unix_write (UNIXFILE *f,char *s,unsigned long i);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2135:29: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) {
^
unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2149:19: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,elt->private.special.text.size);
^
unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *'
void unix_write (UNIXFILE *f,char *s,unsigned long i);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2170:34: note: in expansion of macro 'LOCAL'
j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag));
^
unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2169:19: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,
^
unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *'
void unix_write (UNIXFILE *f,char *s,unsigned long i);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2255:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2256:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_extend':
unix.c:2277:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2282:29: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break;
^
In file included from osdep.h:63:0,
from unix.c:46:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2288:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2289:33: note: in expansion of macro 'LOCAL'
if (!stream->silent) MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'mbox_valid':
unix.c:2461:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) &&
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:2461:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) &&
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c: In function 'mbox_create':
unix.c:2476:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:2476:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c: In function 'mbox_ping':
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2604:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2606:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2618:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2619:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2625:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2627:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2643:15: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2648:19: note: in expansion of macro 'LOCAL'
else MM_LOG (LOCAL->buf,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_open':
unix.c:519:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,i); /* make sure tied off */
^
unix.c: In function 'unix_header':
unix.c:630:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size);
^
unix.c:640:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
unix.c: In function 'unix_text_work':
unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size);
^
unix.c: In function 'unix_copy':
unix.c:956:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
unix.c:982:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
unix.c: In function 'unix_append':
unix.c:1152:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
unix.c: In function 'unix_rewrite':
unix.c:2139:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
unix.c:2239:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize = size);
^
unix.c: In function 'unix_extend':
unix.c:2285:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
unix.c: In function 'mbox_ping':
unix.c:2611:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (sfd,s = (char *) fs_get (size + 1),size);
^
unix.c:2621:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
unix.c:2629:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
unix.c:2640:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (sfd,0); /* truncate sysinbox to zero bytes */
^
`cat CCTYPE` -c `cat CFLAGS` mbx.c
mbx.c: In function 'mbx_isvalid':
mbx.c:233:8: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (flock (fd,LOCK_SH) ||
^
mbx.c:303:7: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (tmp,tp); /* set the times */
^
mbx.c:307:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX"))
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:307:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX"))
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c: In function 'mbx_rename':
mbx.c:506:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:506:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c: In function 'mbx_open':
mbx.c:587:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mbx.c:590:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:590:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c: In function 'mbx_flags':
mbx.c:677:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mbx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:678:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mbx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c: In function 'mbx_header':
mbx.c:706:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1);
^
mbx.c:709:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = LOCAL->buf,*length);
^
mbx.c: In function 'mbx_text':
mbx.c:746:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mbx.c: In function 'mbx_ping':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:856:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:857:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c: In function 'mbx_expunge':
mbx.c:889:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mbx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:890:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) {
^
In file included from mbx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:896:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",nexp);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:897:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:900:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:901:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c: In function 'mbx_snarf':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:940:15: note: in expansion of macro 'LOCAL'
mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
^
In file included from mbx.c:41:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:941:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:941:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:947:45: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:947:26: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:963:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:964:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c: In function 'mbx_copy':
mbx.c:999:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mbx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:1000:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from mbx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1009:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1010:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1014:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1015:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1019:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1020:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1032:17: note: in expansion of macro 'LOCAL'
mail_date(LOCAL->buf,elt);/* build target header */
^
In file included from mbx.c:41:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
mbx.c:1037:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,t) && (k |= 1 << m)) break;
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:1037:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,t) && (k |= 1 << m)) break;
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1038:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012",
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1038:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1044:47: note: in expansion of macro 'LOCAL'
if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) {
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1044:28: note: in expansion of macro 'LOCAL'
if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) {
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1047:20: note: in expansion of macro 'LOCAL'
ret = write (fd,LOCAL->buf,j) >= 0;
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1058:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1059:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1065:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%08lx",dstream->uid_last);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1066:15: note: in expansion of macro 'LOCAL'
write (fd,LOCAL->buf,8);
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_append':
mbx.c:1123:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:1123:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:1165:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mbx.c:41:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mbx.c: In function 'mbx_parse':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1274:35: note: in expansion of macro 'LOCAL'
stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1277:16: note: in expansion of macro 'LOCAL'
i = strtoul (LOCAL->buf + 15,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:1281:41: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s);
^
mbx.c:1281:41: note: expected 'const char *' but argument is of type 'unsigned char *'
mbx.c:1281:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s);
^
mbx.c:1284:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG))
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:1285:39: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
stream->user_flags[i] = cpystr (s);
^
In file included from mbx.c:46:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1295:14: note: in expansion of macro 'LOCAL'
strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0;
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:83:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1312:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mbx.c:83:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1312:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mbx.c:1312:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:83:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1321:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:83:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1321:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:1321:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:1321:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:1321:57: note: expected 'const char *' but argument is of type 'unsigned char *'
mbx.c:1321:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:1351:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) {
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:1369:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((m = strtoul (t+13,NIL,16)) &&
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:1385:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) {
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:1419:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
elt->user_flags = strtoul (t,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c: In function 'mbx_read_flags':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1501:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1503:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1510:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1511:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1515:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1518:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf+50);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1522:16: note: in expansion of macro 'LOCAL'
i = strtoul (LOCAL->buf+9,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1531:30: note: in expansion of macro 'LOCAL'
elt->user_flags = strtoul (LOCAL->buf+1,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
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 differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1547:13: note: in expansion of macro 'LOCAL'
char *s = LOCAL->buf;
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1558:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1562:26: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET,
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_update_status':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1585:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1587:14: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1594:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1595:14: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1599:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1602:14: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf+50);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1607:31: note: in expansion of macro 'LOCAL'
fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) +
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1605:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1615:28: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,21) > 0) break;
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_hdrpos':
mbx.c:1663:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (hdr) *hdr = LOCAL->buf;
^
mbx.c:1670:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (hdr) *hdr = LOCAL->buf;
^
mbx.c:1680:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (hdr) *hdr = LOCAL->buf; /* possibly return header too */
^
mbx.c: In function 'mbx_rewrite':
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1761:29: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_header':
mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = LOCAL->buf,*length);
^
mbx.c: In function 'mbx_snarf':
mbx.c:965:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,sbuf.st_size);
^
mbx.c: In function 'mbx_copy':
mbx.c:1046:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,j);
^
mbx.c:1060:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mbx.c: In function 'mbx_append':
mbx.c:1195:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mbx.c: In function 'mbx_parse':
mbx.c:1269:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,HDRSIZE);
^
mbx.c: In function 'mbx_rewrite':
mbx.c:1757:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,m);
^
mbx.c:1781:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
`cat CCTYPE` -c `cat CFLAGS` mmdf.c
mmdf.c: In function 'mmdf_isvalid':
mmdf.c:382:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mmdf.c: In function 'mmdf_open':
mmdf.c:607:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:607:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:619:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mmdf.c:669:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
flock (LOCAL->ld,LOCK_UN); /* release the lock */
^
mmdf.c: In function 'mmdf_header':
mmdf.c:765:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
mmdf.c:779:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:792:26: note: in expansion of macro 'LOCAL'
*length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT);
^
In file included from mmdf.c:33:0:
mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines,
^
mmdf.c: In function 'mmdf_text_work':
mmdf.c:842:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
mmdf.c:870:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = tmp; /* initial buffer chunk */
^
mmdf.c:873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) {
^
mmdf.c: In function 'mmdf_ping':
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:926:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:928:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_expunge':
mmdf.c:985:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mmdf.c:33:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:986:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from mmdf.c:33:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable]
MESSAGECACHE *elt = mail_elt (stream,i);
^
mmdf.c:999:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i);
^
mmdf.c: In function 'mmdf_copy':
mmdf.c:1038:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mmdf.c:33:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:1039:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from mmdf.c:33:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:1044:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1044:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1051:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1052:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1056:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1057:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1061:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1062:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1071:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1073:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1082:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1083:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR); /* log the error */
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1092:21: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from mmdf.c:34:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1100:27: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) :
^
mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1101:27: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL);
^
mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1102:18: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from mmdf.c:34:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1117:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1143:21: note: in expansion of macro 'LOCAL'
if (!ret) MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_append':
mmdf.c:1188:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1188:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1230:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mmdf.c:33:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable]
unsigned long uidlocation = 0;
^
mmdf.c: In function 'mmdf_collect_msg':
mmdf.c:1332:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((s = stream->user_flags[find_rightmost_bit (&uf)]) &&
^
mmdf.c: In function 'mmdf_parse':
mmdf.c:1591:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1592:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1601:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1603:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR); /* this is pretty bad */
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1615:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mmdf.c:1624:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1628:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1634:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1639:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1656:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1692:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unable to parse internal date: %s",(char *) date);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1693:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1710:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t) s = t = mmdf_mbxline (stream,&bs,&i);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mmdf.c:34:
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
In file included from osdep.h:44:0,
from mmdf.c:34:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mmdf.c:1742:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if (!compare_csizedtext (stream->user_flags[j],&uf)) {
^
In file included from mmdf.c:39:0:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mmdf.c:34:
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1797:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (stream->user_flags[j],s,k);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
mmdf.c:1825:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu already has UID %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1830:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu less than %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1850:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1906:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (tmp,"STATUS") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1907:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-STATUS") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1908:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-KEYWORDS") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1909:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-UID") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1910:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAP") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1911:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAPBASE")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1934:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (u = strpbrk (err,"\r\n")) *u = '\0';
^
mmdf.c:1958:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1983:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c: In function 'mmdf_rewrite':
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2245:60: note: in expansion of macro 'LOCAL'
unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0;
^
mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2253:23: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) +
^
mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2261:32: note: in expansion of macro 'LOCAL'
size = mmdf_pseudo (stream,LOCAL->buf);
^
mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2281:53: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf));
^
mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2281:22: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf));
^
mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2298:29: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) {
^
mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2312:19: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,elt->private.special.text.size);
^
mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2333:34: note: in expansion of macro 'LOCAL'
j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag));
^
mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2332:19: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,
^
mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2401:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2402:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_extend':
mmdf.c:2423:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2428:29: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break;
^
In file included from osdep.h:63:0,
from mmdf.c:34:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2434:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2435:33: note: in expansion of macro 'LOCAL'
if (!stream->silent) MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_open':
mmdf.c:658:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,i); /* make sure tied off */
^
mmdf.c: In function 'mmdf_header':
mmdf.c:769:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size);
^
mmdf.c:779:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
mmdf.c: In function 'mmdf_text_work':
mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size);
^
mmdf.c: In function 'mmdf_copy':
mmdf.c:1091:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
mmdf.c:1118:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mmdf.c: In function 'mmdf_append':
mmdf.c:1288:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mmdf.c: In function 'mmdf_rewrite':
mmdf.c:2302:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
mmdf.c:2385:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize = size);
^
mmdf.c: In function 'mmdf_extend':
mmdf.c:2431:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
`cat CCTYPE` -c `cat CFLAGS` tenex.c
tenex.c: In function 'tenex_isvalid':
tenex.c:206:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
tenex.c:211:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:211:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c: In function 'tenex_rename':
tenex.c:315:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (flock (fd,LOCK_EX|LOCK_NB)) {
^
tenex.c:350:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:350:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c: In function 'tenex_open':
tenex.c:427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
tenex.c:433:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:433:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c: In function 'tenex_fast':
tenex.c:500:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:501:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:511:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1);
^
tenex.c: In function 'tenex_flags':
tenex.c:538:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:539:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c: In function 'tenex_header':
tenex.c:564:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1);
^
tenex.c:574:54: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign]
*length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i);
^
In file included from osdep.h:66:0,
from tenex.c:47:
nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl,
^
tenex.c: In function 'tenex_text':
tenex.c:609:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1);
^
tenex.c:632:50: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign]
strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i);
^
In file included from osdep.h:66:0,
from tenex.c:47:
nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl,
^
tenex.c: In function 'tenex_snarf':
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:774:15: note: in expansion of macro 'LOCAL'
mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
^
In file included from tenex.c:46:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:775:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from osdep.h:44:0,
from tenex.c:47:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:775:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:781:45: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:44:0,
from tenex.c:47:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:781:26: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:797:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:798:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c: In function 'tenex_expunge':
tenex.c:833:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:834:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:895:29: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:911:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:914:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:918:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:920:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c: In function 'tenex_copy':
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:961:31: note: in expansion of macro 'LOCAL'
if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) {
^
tenex.c:176:5: note: expected 'char *' but argument is of type 'unsigned char *'
int tenex_isvalid (char *name,char *tmp)
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:968:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:969:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:973:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:974:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:978:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:979:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:982:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:983:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:986:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:987:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1009:16: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1014:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1015:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c: In function 'tenex_append':
tenex.c:1072:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:1072:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:1122:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from tenex.c:46:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from tenex.c:47:
tenex.c: In function 'tenex_parse':
tenex.c:70:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1244:23: note: in expansion of macro 'LOCAL'
if (!(s = strchr (LOCAL->buf,'\012'))) {
^
tenex.c:70:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1244:23: note: in expansion of macro 'LOCAL'
if (!(s = strchr (LOCAL->buf,'\012'))) {
^
tenex.c:1244:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strchr (LOCAL->buf,'\012'))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from tenex.c:47:
tenex.c:70:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1253:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:70:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1253:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:1253:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from tenex.c:47:
tenex.c:1253:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:1253:57: note: expected 'const char *' but argument is of type 'unsigned char *'
tenex.c:1253:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:1276:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) &&
^
In file included from osdep.h:43:0,
from tenex.c:47:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
tenex.c:1300:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
j = strtoul (t,NIL,8); /* get user flags value */
^
In file included from osdep.h:43:0,
from tenex.c:47:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
tenex.c: In function 'tenex_read_flags':
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1378:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1379:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from tenex.c:47:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1387:15: note: in expansion of macro 'LOCAL'
j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */
^
In file included from osdep.h:43:0,
from tenex.c:47:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
tenex.c: In function 'tenex_update_status':
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1413:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1421:22: note: in expansion of macro 'LOCAL'
write (LOCAL->fd,LOCAL->buf,12);
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c: In function 'tenex_hdrpos':
tenex.c:1456:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN));
^
tenex.c: In function 'tenex_fast':
tenex.c:516:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size);
^
tenex.c: In function 'tenex_header':
tenex.c:567:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,*length = i);
^
tenex.c:572:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s,i); /* slurp the data */
^
tenex.c: In function 'tenex_text':
tenex.c:614:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,i);
^
tenex.c:629:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s,i); /* slurp the data */
^
tenex.c: In function 'tenex_snarf':
tenex.c:799:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,sbuf.st_size);
^
tenex.c: In function 'tenex_expunge':
tenex.c:890:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,m);
^
tenex.c:917:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
tenex.c: In function 'tenex_copy':
tenex.c:1008:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,j);
^
tenex.c:1016:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
tenex.c: In function 'tenex_append':
tenex.c:1150:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);/* revert file */
^
tenex.c: In function 'tenex_hdrpos':
tenex.c:1456:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:199:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mtx.c:204:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:204:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c: In function 'mtx_rename':
mtx.c:308:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (flock (fd,LOCK_EX|LOCK_NB)) {
^
mtx.c:343:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:343:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c: In function 'mtx_open':
mtx.c:421:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mtx.c:424:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:424:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c: In function 'mtx_flags':
mtx.c:487:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mtx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:488:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mtx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c: In function 'mtx_header':
mtx.c:511:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1);
^
mtx.c: In function 'mtx_text':
mtx.c:546:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mtx.c: In function 'mtx_snarf':
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:685:15: note: in expansion of macro 'LOCAL'
mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
^
In file included from mtx.c:41:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:686:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from osdep.h:44:0,
from mtx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:686:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:692:45: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:44:0,
from mtx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:692:26: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:708:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:709:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c: In function 'mtx_expunge':
mtx.c:744:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mtx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:745:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from mtx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:806:29: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:821:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:824:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:828:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:830:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c: In function 'mtx_copy':
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:871:29: note: in expansion of macro 'LOCAL'
if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) {
^
mtx.c:169:5: note: expected 'char *' but argument is of type 'unsigned char *'
int mtx_isvalid (char *name,char *tmp)
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:878:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:879:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:883:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:884:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:888:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:889:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:892:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mtx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:893:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from mtx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:896:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:897:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:919:16: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:924:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:925:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c: In function 'mtx_append':
mtx.c:982:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:982:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:1032:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mtx.c:41:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mtx.c:42:
mtx.c: In function 'mtx_parse':
mtx.c:66:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1132:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mtx.c:66:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1132:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mtx.c:1132:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mtx.c:42:
mtx.c:66:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1141:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:66:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1141:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:1141:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mtx.c:42:
mtx.c:1141:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:1141:57: note: expected 'const char *' but argument is of type 'unsigned char *'
mtx.c:1141:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:1164:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) &&
^
In file included from osdep.h:43:0,
from mtx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mtx.c:1188:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
j = strtoul (t,NIL,8); /* get user flags value */
^
In file included from osdep.h:43:0,
from mtx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mtx.c: In function 'mtx_read_flags':
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1266:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1267:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mtx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1275:15: note: in expansion of macro 'LOCAL'
j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */
^
In file included from osdep.h:43:0,
from mtx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mtx.c: In function 'mtx_update_status':
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1301:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1309:22: note: in expansion of macro 'LOCAL'
write (LOCAL->fd,LOCAL->buf,12);
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c: In function 'mtx_header':
mtx.c:515:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,*length);
^
mtx.c: In function 'mtx_snarf':
mtx.c:710:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,sbuf.st_size);
^
mtx.c: In function 'mtx_expunge':
mtx.c:801:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,m);
^
mtx.c:827:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
mtx.c: In function 'mtx_copy':
mtx.c:918:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,j);
^
mtx.c:926:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mtx.c: In function 'mtx_append':
mtx.c:1053:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);/* revert file */
^
`cat CCTYPE` -c `cat CFLAGS` news.c
news.c: In function 'news_list':
news.c:237:24: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c:237:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c:240:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c:240:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c: In function 'news_canonicalize':
news.c:286:34: warning: value computed is not used [-Wunused-value]
for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i;
^
news.c: In function 'news_open':
news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
^
In file included from osdep.h:47:0,
from news.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
^
In file included from osdep.h:47:0,
from news.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
news.c: In function 'news_fast':
news.c:456:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from news.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c:457:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from news.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c: In function 'news_flags':
news.c:474:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from news.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c:474:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from news.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c: In function 'news_load_message':
news.c:61:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((NEWSLOCAL *) stream->local)
^
news.c:495:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from news.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
news.c:61:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((NEWSLOCAL *) stream->local)
^
news.c:500:20: note: in expansion of macro 'LOCAL'
((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) {
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from news.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
news.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
news.c: In function 'news_valid':
news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size);
^
news.c: In function 'news_list':
news.c:228:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:305:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->env->date = cpystr (tmp);
^
phile.c:327:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign]
buf->size = strcrlfcpy (&buf->data,&m,s,buf->size);
^
In file included from osdep.h:66:0,
from phile.c:36:
nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl,
^
phile.c:317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:193:44: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:193:49: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:194:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (name,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:194:30: note: in expansion of macro 'MHINBOX'
!compare_cstring (name,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:198:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
ret = (synonly && compare_cstring (name,"INBOX")) ?
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:198:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
ret = (synonly && compare_cstring (name,"INBOX")) ?
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_path':
mh.c:259:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"Path:")) {
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:259:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"Path:")) {
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_scan':
mh.c:377:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (test,MHINBOX))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:377:32: note: in expansion of macro 'MHINBOX'
if (!compare_cstring (test,MHINBOX))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_lsub':
mh.c:406:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:406:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c: In function 'mh_list_work':
mh.c:438:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:438:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:440:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (name,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:440:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (name,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c: In function 'mh_open':
mh.c:590:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (stream->mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:590:40: note: in expansion of macro 'MHINBOX'
(!compare_cstring (stream->mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:595:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (stream->mailbox,"INBOX")) ? T : NIL;
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:595:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (stream->mailbox,"INBOX")) ? T : NIL;
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_fast':
mh.c:641:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mh.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:642:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mh.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c: In function 'mh_load_message':
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:665:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:670:20: note: in expansion of macro 'LOCAL'
((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) {
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mh.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mh.c:674:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mh.c: In function 'mh_ping':
mh.c:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type
long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type
long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:902:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:905:19: note: in expansion of macro 'LOCAL'
if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL,
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mh.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:929:16: note: in expansion of macro 'LOCAL'
mh_setdate (LOCAL->buf,elt);
^
mh.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mh_setdate (char *file,MESSAGECACHE *elt);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:937:14: note: in expansion of macro 'LOCAL'
unlink (LOCAL->buf);/* flush this file */
^
In file included from osdep.h:45:0,
from mh.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mh.c:940:6: warning: too many arguments for format [-Wformat-extra-args]
s,strerror (errno));
^
mh.c: In function 'mh_expunge':
mh.c:984:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mh.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:985:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) {
^
In file included from mh.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:990:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:991:14: note: in expansion of macro 'LOCAL'
if (unlink (LOCAL->buf)) {/* try to delete the message */
^
In file included from osdep.h:45:0,
from mh.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:992:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:994:12: note: in expansion of macro 'LOCAL'
mm_log (LOCAL->buf,(long) NIL);
^
In file included from mh.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1012:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1013:15: note: in expansion of macro 'LOCAL'
mm_log (LOCAL->buf,(long) NIL);
^
In file included from mh.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mh.c: In function 'mh_copy':
mh.c:1044:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mh.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:1045:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))
^
In file included from mh.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1048:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1049:18: note: in expansion of macro 'LOCAL'
if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL;
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mh.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mh.c:1061:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mh.c: In function 'mh_append':
mh.c:1109:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!((!compare_cstring (mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:1109:38: note: in expansion of macro 'MHINBOX'
if (!((!compare_cstring (mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1110:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mailbox,"INBOX")) &&
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1110:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mailbox,"INBOX")) &&
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) {
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) {
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:1149:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mh.c:34:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable]
long i,size,last,nfiles;
^
mh.c: In function 'mh_file':
mh.c:1231:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:1231:30: note: in expansion of macro 'MHINBOX'
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1231:60: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1231:65: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_canonicalize':
mh.c:1264:34: warning: value computed is not used [-Wunused-value]
for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i;
^
mh.c: In function 'mh_setdate':
mh.c:1282:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mh.c: In function 'mh_path':
mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:186:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) errno = NIL;
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:186:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) errno = NIL;
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c: In function 'mx_scan_contents':
mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0)
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0)
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mx.c: In function 'mx_create':
mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable]
int fd;
^
mx.c: In function 'mx_rename':
mx.c:439:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:439:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type
for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type
for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mx.c: In function 'mx_open':
mx.c:518:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:518:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:524:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mx.c: In function 'mx_fast':
mx.c:573:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mx.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:574:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mx.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c: In function 'mx_fast_work':
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:591:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:593:35: note: in expansion of macro 'LOCAL'
if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) {
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__NTH (stat (const char *__path, struct stat *__statbuf))
^
mx.c: In function 'mx_header':
mx.c:633:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1);
^
mx.c:62:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:648:43: note: in expansion of macro 'LOCAL'
cpytxt (&elt->private.msg.header.text,LOCAL->buf,i);
^
In file included from mx.c:39:0:
misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
^
mx.c:62:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:649:41: note: in expansion of macro 'LOCAL'
cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i);
^
In file included from mx.c:39:0:
misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
^
mx.c: In function 'mx_ping':
mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:767:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:770:19: note: in expansion of macro 'LOCAL'
if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL,
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mx.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:794:16: note: in expansion of macro 'LOCAL'
mx_setdate (LOCAL->buf,elt);
^
mx.c:106:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mx_setdate (char *file,MESSAGECACHE *elt);
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:801:14: note: in expansion of macro 'LOCAL'
unlink (LOCAL->buf);/* flush this file */
^
In file included from osdep.h:45:0,
from mx.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mx.c:804:6: warning: too many arguments for format [-Wformat-extra-args]
s,strerror (errno));
^
mx.c: In function 'mx_expunge':
mx.c:848:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mx.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:849:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from mx.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:855:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:856:14: note: in expansion of macro 'LOCAL'
if (unlink (LOCAL->buf)) {/* try to delete the message */
^
In file included from osdep.h:45:0,
from mx.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:857:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:859:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mx.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:875:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:876:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mx.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mx.c: In function 'mx_copy':
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:913:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:914:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mx.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mx.c:921:63: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mx.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:922:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))));
^
In file included from mx.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:944:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
unsigned long i,j,uid,uidv;
^
mx.c: In function 'mx_append':
mx.c:1003:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:1003:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:1038:54: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
else if (date && !(ret = mail_parse_date (&elt,date))) {
^
In file included from mx.c:34:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mx.c: In function 'mx_lockindex':
mx.c:1173:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */
^
mx.c: In function 'mx_setdate':
mx.c:1286:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mx.c: In function 'mx_header':
mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (fd,LOCAL->buf,elt->rfc822_size);
^
mx.c: In function 'mx_lockindex':
mx.c:1177:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
^
mx.c: In function 'mx_unlockindex':
mx.c:1269:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,size);
^
`cat CCTYPE` -c `cat CFLAGS` mix.c
mix.c: In function 'mix_scan_contents':
mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0)
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0)
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mix.c: In function 'mix_create':
mix.c:420:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
fprintf (f,MTAFMT,now,0,now);
^
mix.c: In function 'mix_delete':
mix.c:471:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB))
^
mix.c: In function 'mix_rename':
mix.c:529:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:529:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type
for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort);
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mix.c: In function 'mix_open':
mix.c:608:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:608:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:610:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:613:12: note: in expansion of macro 'LOCAL'
mix_dir (LOCAL->buf,stream->mailbox);
^
mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_dir (char *dst,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:615:29: note: in expansion of macro 'LOCAL'
stream->mailbox = cpystr (LOCAL->buf);
^
In file included from mix.c:37:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:618:35: note: in expansion of macro 'LOCAL'
((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA),
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:621:35: note: in expansion of macro 'LOCAL'
((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA),
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:629:38: note: in expansion of macro 'LOCAL'
LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX));
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:630:39: note: in expansion of macro 'LOCAL'
LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS));
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:631:42: note: in expansion of macro 'LOCAL'
LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox,
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c: In function 'mix_header':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:720:46: note: in expansion of macro 'LOCAL'
if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:732:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable]
int fd;
^
mix.c: In function 'mix_text':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:783:46: note: in expansion of macro 'LOCAL'
if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:807:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mix.c:774:17: warning: unused variable 'i' [-Wunused-variable]
unsigned long i;
^
mix.c: In function 'mix_flag':
mix.c:832:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mix.c:32:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:833:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) &&
^
In file included from mix.c:32:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c: In function 'mix_ping':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:975:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:976:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable]
int mfd,ifd,sfd;
^
mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable]
int mfd,ifd,sfd;
^
mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable]
int mfd,ifd,sfd;
^
mix.c: In function 'mix_expunge':
mix.c:1035:29: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mix.c:32:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1036:25: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) || stream->rdonly);
^
In file included from mix.c:32:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort);
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort);
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1087:15: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't locate mix message file %.08lx",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1089:14: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1098:30: note: in expansion of macro 'LOCAL'
else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) &&
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1100:19: note: in expansion of macro 'LOCAL'
truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) {
^
In file included from osdep.h:45:0,
from mix.c:33:
/usr/include/unistd.h:993:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int truncate (const char *__file, __off_t __length)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1100:43: note: in expansion of macro 'LOCAL'
truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) {
^
In file included from osdep.h:45:0,
from mix.c:33:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1101:17: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1104:16: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:1131:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp);
^
mix.c:1133:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed);
^
mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable]
int ifd,sfd;
^
mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable]
int ifd,sfd;
^
mix.c: In function 'mix_burp':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1223:18: note: in expansion of macro 'LOCAL'
mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno);
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1227:15: note: in expansion of macro 'LOCAL'
if (stat (LOCAL->buf,&sbuf)) {
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__NTH (stat (const char *__path, struct stat *__statbuf))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1228:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,staterr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1229:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1232:54: note: in expansion of macro 'LOCAL'
else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) {
^
mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mix_burp_check (SEARCHSET *set,size_t size,char *file);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1236:33: note: in expansion of macro 'LOCAL'
else if (ret = !truncate (LOCAL->buf,burp->set.last))
^
In file included from osdep.h:45:0,
from mix.c:33:
/usr/include/unistd.h:993:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int truncate (const char *__file, __off_t __length)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1239:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1240:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1245:25: note: in expansion of macro 'LOCAL'
else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) ||
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mix.c:33:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1247:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1249:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1253:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,staterr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1254:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1259:52: note: in expansion of macro 'LOCAL'
else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) {
^
mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mix_burp_check (SEARCHSET *set,size_t size,char *file);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1265:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Bad message token in mix message file at %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1267:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1307:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1308:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable]
void *s;
^
mix.c: In function 'mix_burp_check':
mix.c:1337:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=]
file,size,set->last);
^
mix.c: In function 'mix_copy':
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1357:35: note: in expansion of macro 'LOCAL'
long ret = mix_isvalid (mailbox,LOCAL->buf);
^
mix.c:236:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mix_isvalid (char *name,char *meta)
^
mix.c:1375:68: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mix.c:32:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1376:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))));
^
In file included from mix.c:32:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1393:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c:1394:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
hdrsize = strlen (local->buf);
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:1403:43: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign]
if (msgf = mix_data_open (astream,&fd,&size,newsize)) {
^
mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *'
FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size,
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1415:47: note: in expansion of macro 'LOCAL'
if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:1427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
unsigned long j,uid,uidv;
^
mix.c: In function 'mix_append':
mix.c:1519:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret = compare_cstring (mailbox,"INBOX") ?
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:1519:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret = compare_cstring (mailbox,"INBOX") ?
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:1550:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c:1551:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
hdrsize = strlen (local->buf);
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:1555:45: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign]
if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) {
^
mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *'
FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size,
^
mix.c:1563:51: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
else if (date && !(ret = mail_parse_date (&elt,date))) {
^
In file included from mix.c:32:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mix.c:1570:30: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (&elt,tmp);
^
In file included from mix.c:32:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mix.c: In function 'mix_append_msg':
mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable]
unsigned long i,j,k,uf,hoff;
^
mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable]
unsigned long i,j,k,uf,hoff;
^
mix.c: In function 'mix_parse':
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1823:42: note: in expansion of macro 'LOCAL'
while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) &&
^
mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1959:31: note: in expansion of macro 'LOCAL'
if (stat (mix_file_data (LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2041:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2044:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2054:43: note: in expansion of macro 'LOCAL'
while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen,
^
mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
^
mix.c: In function 'mix_meta_slurp':
mix.c:2150:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1);
^
mix.c:2155:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size))
^
mix.c: In function 'mix_meta_update':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2190:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2191:35: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT,
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2191:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2193:56: note: in expansion of macro 'LOCAL'
for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf);
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:2194:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) {
^
mix.c:110:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2208:30: note: in expansion of macro 'LOCAL'
ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL;
^
In file included from osdep.h:63:0,
from mix.c:33:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mix.c: In function 'mix_index_update':
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
^
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=]
mix.c: In function 'mix_status_update':
mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
sprintf (tmp,STRFMT,0,0,0,0);
^
mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=]
mix.c: In function 'mix_data_open':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2400:35: note: in expansion of macro 'LOCAL'
if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg),
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2416:7: note: in expansion of macro 'LOCAL'
(LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c: In function 'mix_sortcache_open':
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2466:44: note: in expansion of macro 'LOCAL'
while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen,
^
mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
^
mix.c:2565:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *)
^
mix.c:2577:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = LOCAL->buf,sl = NIL,
^
mix.c:2585:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sl->text.data = cpystr (s);
^
mix.c: In function 'mix_sortcache_update':
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=]
s->message_id ? strlen (s->message_id) + 1 : 0,j);
^
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=]
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=]
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' [-Wformat=]
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
mix.c: In function 'mix_copy':
mix.c:1477:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,size); /* revert file */
^
mix.c: In function 'mix_append':
mix.c:1594:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,size); /* revert all writes to file*/
^
mix.c: In function 'mix_meta_update':
mix.c:2209:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->mfd,i); /* and tie off at that point */
^
mix.c: In function 'mix_index_update':
mix.c:2255:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fileno (idxf),sbuf.st_size);
^
mix.c:2288:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
if (ret) ftruncate (fileno (idxf),ftell (idxf));
^
mix.c: In function 'mix_status_update':
mix.c:2335:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fileno (statf),sbuf.st_size);
^
mix.c:2369:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
if (ret) ftruncate (fileno (statf),ftell (statf));
^
mix.c: In function 'mix_sortcache_update':
mix.c:2697:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
if (ret) ftruncate (fileno (f),ftell (f));
^
mix.c: In function 'mix_sortcache_open':
mix.c:2640:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized]
else fchmod (fd,sbuf.st_mode);
^
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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o ;ranlib c-client.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
echo lnp > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c
mtest.c: In function 'main':
mtest.c:124:10: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (tmp);
^
In file included from ../c-client/c-client.h:48:0,
from mtest.c:39:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mtest.c: In function 'mm':
mtest.c:168:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
switch (*ucase (cmd)) { /* dispatch based on command */
^
In file included from ../c-client/c-client.h:48:0,
from mtest.c:39:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mtest.c:204:13: warning: the address of 'parms' will always evaluate as 'true' [-Waddress]
if (parms) {
^
mtest.c: In function 'overview_header':
mtest.c:402:28: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (&selt,ov->date);
^
In file included from ../c-client/c-client.h:41:0,
from mtest.c:39:
../c-client/mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mtest.c: In function 'prompt':
mtest.c:622:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations]
gets (txt);
^
mtest.c: In function 'smtptest':
mtest.c:818:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations]
while (gets (line)) {
^
mtest.c:829:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg->date = (char *) fs_get (1+strlen (line));
^
mtest.c:830:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (msg->date,line);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtest.c:36:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
mtest.c: In function 'prompt':
mtest.c:622:3: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result]
gets (txt);
^
mtest.c: In function 'mm_login':
mtest.c:744:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (user,NETMAXUSER-1,stdin);
^
In file included from /usr/include/stdio.h:937:0,
from mtest.c:36:
In function 'gets',
inlined from 'prompt' at mtest.c:622:3:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:237:3: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
return __gets_warn (__str);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
mtest.o: In function `gets':
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:237: warning: the `gets' function is dangerous and should not be used.
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:236: warning: the `gets' function is dangerous and should not be used.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mtest'
cd ipopd;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/ipopd'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c
ipop2d.c: In function 'main':
ipop2d.c:149:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* canonicalize case */
^
In file included from ../c-client/c-client.h:48:0,
from ipop2d.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
ipop2d.c: In function 'c_fold':
ipop2d.c:333:10: warning: unused variable 'mb' [-Wunused-variable]
NETMBX mb;
^
ipop2d.c:332:9: warning: unused variable 's' [-Wunused-variable]
char *s = NIL,tmp[2*TMPLEN];
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c
ipop3d.c: In function 'main':
ipop3d.c:129:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next;
^
In file included from ../c-client/c-client.h:48:0,
from ipop3d.c:35:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
ipop3d.c:129:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next;
^
In file included from ../c-client/c-client.h:48:0,
from ipop3d.c:35:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
ipop3d.c:186:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* canonicalize case */
^
In file included from ../c-client/c-client.h:48:0,
from ipop3d.c:35:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
ipop3d.c: In function 'pass_login':
ipop3d.c:654:8: warning: unused variable 'tmp' [-Wunused-variable]
char tmp[MAILTMPLEN];
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/ipopd'
cd imapd;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/imapd'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c
imapd.c: In function 'main':
imapd.c:302:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ?
^
imapd.c:302:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ?
^
imapd.c:307:16: warning: pointer targets in passing argument 1 of 'rfc822_date' differ in signedness [-Wpointer-sign]
rfc822_date (tmp); /* get date/time at startup */
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void rfc822_date (char *date);
^
imapd.c:327:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = strchr (proxy,'\n')) *s = '\0';
^
imapd.c:334:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = myusername_full (&i); /* get user name and flags */
^
imapd.c:342:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = "ANONYMOUS";
^
imapd.c:346:22: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
user = cpystr (s); /* copy user name */
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:346:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
user = cpystr (s); /* copy user name */
^
imapd.c:347:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
pass = cpystr ("*"); /* set fake password */
^
imapd.c:356:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (user);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:370:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:392:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (cmdbuf,CMDLEN,TIMEOUT);
^
imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:399:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!strchr (cmdbuf,'\012')) {
^
imapd.c:399:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:400:23: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (t = strchr (cmdbuf,' ')) *t = '\0';
^
imapd.c:400:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:400:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strchr (cmdbuf,' ')) *t = '\0';
^
imapd.c:406:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,t ? (char *) cmdbuf : "*");
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:407:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:409:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
else if (!(tag = strtok (cmdbuf," \015\012"))) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:416:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (!(s = strtok (NIL," \015\012"))) {
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:436:21: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
cmd = cpystr (s); /* save current command */
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:436:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
cmd = cpystr (s); /* save current command */
^
imapd.c:438:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) &&
^
imapd.c:438:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:444:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (arg + i + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:499:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = imap_responder ("",0,NIL)))
^
imapd.c:503:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
user = cpystr ("ANONYMOUS");
^
imapd.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
pass = cpystr ("*");
^
imapd.c:514:39: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign]
else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1822:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]);
^
imapd.c:514:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) {
^
imapd.c:515:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
pass = cpystr ("*");
^
imapd.c:525:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:525:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:528:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
cmd = msg;
^
imapd.c:530:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
auth && compare_cstring (s,auth->name); auth = auth->next);
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:559:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (!((user = cpystr (snarf (&arg))) &&
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:559:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((user = cpystr (snarf (&arg))) &&
^
imapd.c:560:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
(pass = cpystr (snarf (&arg))))) response = misarg;
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:560:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(pass = cpystr (snarf (&arg))))) response = misarg;
^
imapd.c:563:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (user,"ANONYMOUS") &&
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:574:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (s = strchr (user,'*')) *s++ ='\0';
^
imapd.c:574:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:574:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = strchr (user,'*')) *s++ ='\0';
^
imapd.c:576:24: warning: pointer targets in passing argument 1 of 'server_login' differ in signedness [-Wpointer-sign]
if (server_login (user,pass,s,argc,argv)) {
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *'
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
^
imapd.c:576:29: warning: pointer targets in passing argument 2 of 'server_login' differ in signedness [-Wpointer-sign]
if (server_login (user,pass,s,argc,argv)) {
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *'
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
^
imapd.c:576:34: warning: pointer targets in passing argument 3 of 'server_login' differ in signedness [-Wpointer-sign]
if (server_login (user,pass,s,argc,argv)) {
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *'
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:600:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012"))))
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:600:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012"))))
^
imapd.c:600:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012"))))
^
imapd.c:603:39: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign]
mail_sequence (stream,s)) fetch (t,uid);
^
imapd.c:148:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fetch (char *t,unsigned long uid);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:609:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:609:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) &&
^
imapd.c:609:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) &&
^
imapd.c:610:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(t = strtok (NIL,"\015\012")))) response = misarg;
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:616:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen");
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:618:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (v = stream->user_flags[i]); i++)
^
imapd.c:619:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen (v) <
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:620:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:622:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (u,v);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:622:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (u,v);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:624:26: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,tmp,f & ~ST_SET);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
imapd.c:624:28: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,tmp,f & ~ST_SET);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:634:24: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,t,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
imapd.c:634:26: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,t,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:660:32: warning: pointer targets in passing argument 2 of 'mail_expunge_full' differ in signedness [-Wpointer-sign]
mail_expunge_full (stream,arg,arg ? EX_UID : NIL);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1695:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:684:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012"))
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:684:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012"))
^
imapd.c:684:48: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012"))
^
imapd.c:694:37: warning: pointer targets in passing argument 2 of 'mail_copy_full' differ in signedness [-Wpointer-sign]
else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox,
^
imapd.c:694:39: warning: pointer targets in passing argument 3 of 'mail_copy_full' differ in signedness [-Wpointer-sign]
else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:703:47: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) &&
^
imapd.c:703:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:703:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) &&
^
imapd.c:711:24: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(s = strtok (ucase (s)," "))) response = badatt;
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:711:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strtok (ucase (s)," "))) response = badatt;
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:718:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strtok (NIL," "))) {
^
imapd.c:719:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = ""; /* end of attributes */
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:731:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while (s = strtok (NIL," "));
^
imapd.c:735:55: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg &&
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:763:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:763:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) &&
^
imapd.c:764:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(cs = cpystr (cs)) && (arg = strtok (NIL,"\015\012"))))
^
imapd.c:770:36: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign]
if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1756:13: note: expected 'char *' but argument is of type 'unsigned char *'
THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:848:46: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (s = snarf (&arg)) charset = cpystr (s);
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:943:41: warning: pointer targets in passing argument 1 of 'bboardname' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *bboardname (char *cmd,char *name);
^
imapd.c:943:45: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *bboardname (char *cmd,char *name);
^
imapd.c:943:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:943:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:944:40: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign]
DRIVER *factory = mail_valid (NIL,s,NIL);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1632:9: note: expected 'char *' but argument is of type 'unsigned char *'
DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose);
^
imapd.c:955:31: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
(stream = mail_open (stream,s,f | OP_SILENT)) &&
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:961:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(t = mail_fetch_text (stream,1,NIL,&i,NIL)) &&
^
imapd.c:964:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (tmp,t,i)[i] = '\0';
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
imapd.c:964:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (tmp,t,i)[i] = '\0';
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:968:33: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) &&
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:980:40: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (!factory && isnewsproxy (s)) {
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:981:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:982:35: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
stream = mail_open (stream,tmp,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:985:38: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
else stream = mail_open (stream,s,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:991:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"#MHINBOX"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:993:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else lastsel = cpystr (compare_cstring (s,"INBOX") ?
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1022:37: warning: pointer targets in passing argument 2 of 'mail_append_multiple' differ in signedness [-Wpointer-sign]
if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1700:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1043:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1043:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1044:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,LONGT)) {
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1044:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,LONGT)) {
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1044:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,LONGT)) {
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1046:26: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign]
mail_list (NIL,"",tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
imapd.c:1049:26: warning: pointer targets in passing argument 2 of 'mail_list' differ in signedness [-Wpointer-sign]
else mail_list (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
imapd.c:1049:28: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign]
else mail_list (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1061:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1061:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1062:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL))
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1062:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL))
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1062:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL))
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1064:26: warning: pointer targets in passing argument 2 of 'mail_scan' differ in signedness [-Wpointer-sign]
else mail_scan (NIL,s,t,u);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
^
imapd.c:1064:28: warning: pointer targets in passing argument 3 of 'mail_scan' differ in signedness [-Wpointer-sign]
else mail_scan (NIL,s,t,u);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
^
imapd.c:1064:30: warning: pointer targets in passing argument 4 of 'mail_scan' differ in signedness [-Wpointer-sign]
else mail_scan (NIL,s,t,u);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1076:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1076:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1077:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1077:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1077:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1077:59: warning: pointer targets in passing argument 2 of 'newsrc_lsub' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
In file included from imapd.c:37:0:
../c-client/newsrc.h:37:6: note: expected 'char *' but argument is of type 'unsigned char *'
void newsrc_lsub (MAILSTREAM *stream,char *pattern);
^
imapd.c:1078:26: warning: pointer targets in passing argument 2 of 'mail_lsub' differ in signedness [-Wpointer-sign]
else mail_lsub (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
^
imapd.c:1078:28: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign]
else mail_lsub (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1087:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:1087:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) &&
^
imapd.c:1089:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(arg = strtok (NIL,"\015\012")) && (s = snarf_list (&arg))))
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1095:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1099:27: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign]
mail_lsub (NIL,NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1103:27: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign]
mail_list (NIL,NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1114:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(t = strchr (arg,')')) && (t - arg) && !t[1]))
^
imapd.c:1114:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1114:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(t = strchr (arg,')')) && (t - arg) && !t[1]))
^
imapd.c:1120:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
t = strtok (ucase (arg)," ");
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:1120:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = strtok (ucase (arg)," ");
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1129:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1132:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while (t = strtok (NIL," "));
^
imapd.c:1135:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1135:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
imapd.c:1136:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1136:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1144:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1148:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1148:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1150:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1150:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1154:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1154:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1157:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1157:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1159:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu",
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1159:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1162:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat (tmp,")\015\012");
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:1164:18: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign]
pastring (s);
^
imapd.c:179:6: note: expected 'char *' but argument is of type 'unsigned char *'
void pastring (char *s);
^
imapd.c:1165:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1167:28: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) {
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:1168:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1169:30: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign]
if (!mail_status (NIL,tmp,f)) response = lose;
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_status (MAILSTREAM *stream,char *mbx,long flags);
^
imapd.c:1171:33: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign]
else if (!mail_status (NIL,s,f)) response = lose;
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_status (MAILSTREAM *stream,char *mbx,long flags);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1182:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (s,"MAILBOX")) response = badarg;
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1185:31: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign]
else mail_subscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_subscribe (MAILSTREAM *stream,char *mailbox);
^
imapd.c:1187:26: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':');
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:1187:49: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':');
^
In file included from imapd.c:37:0:
../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsrc_update (MAILSTREAM *stream,char *group,char state);
^
imapd.c:1188:29: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign]
else mail_subscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_subscribe (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1197:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (s,"MAILBOX")) response = badarg;
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1200:28: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!');
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:1200:51: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!');
^
In file included from imapd.c:37:0:
../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsrc_update (MAILSTREAM *stream,char *group,char state);
^
imapd.c:1201:33: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign]
else mail_unsubscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_unsubscribe (MAILSTREAM *stream,char *mailbox);
^
imapd.c:1203:31: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign]
else mail_unsubscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_unsubscribe (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1262:26: warning: pointer targets in passing argument 2 of 'mail_create' differ in signedness [-Wpointer-sign]
else mail_create (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1641:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_create (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1274:28: warning: pointer targets in passing argument 2 of 'mail_delete' differ in signedness [-Wpointer-sign]
else mail_delete (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1642:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_delete (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1284:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1284:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
imapd.c:1285:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1285:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1289:28: warning: pointer targets in passing argument 2 of 'mail_rename' differ in signedness [-Wpointer-sign]
else mail_rename (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_rename (MAILSTREAM *stream,char *old,char *newname);
^
imapd.c:1289:30: warning: pointer targets in passing argument 3 of 'mail_rename' differ in signedness [-Wpointer-sign]
else mail_rename (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_rename (MAILSTREAM *stream,char *old,char *newname);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1327:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* OK Timeout in %lu minutes\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1329:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1333:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1335:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* prod client to wake up */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1344:10: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (tmp,MAILTMPLEN,INPUTTIMEOUT);
^
imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout);
^
imapd.c:1355:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1356:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1358:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1360:12: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1383:17: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign]
if (PSINR (tmp,i)) litplus.size -= i;
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1856:6: note: expected 'char *' but argument is of type 'unsigned char *'
long PSINR (char *s,unsigned long n);
^
imapd.c:1392:9: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (tmp,MAILTMPLEN,INPUTTIMEOUT);
^
imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1394:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (t = strchr (tmp,'\012')) {
^
imapd.c:1394:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1394:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strchr (tmp,'\012')) {
^
imapd.c:1399:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (((i = strlen (tmp)) > 3) && (tmp[i - 1] == '}') &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1405:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (tmp + i + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:1420:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,lstref ? "*" : tag);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1421:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* start response */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1424:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (user);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1427:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,tag);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1428:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* start response */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1437:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,tag);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1438:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1441:20: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity);
^
imapd.c:1441:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1441:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity);
^
imapd.c:1440:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"[%.80sUID %lu ",(char *)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1442:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1458:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (cmd);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1472:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,tag,cmd,lasterror ());
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1473:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* output response */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c: In function 'staint':
imapd.c:1853:36: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
if (user) s = sout (sout (s,"."),user);
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c:1858:44: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
if (user) s = sout (sout (s,", user="),user);
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c:1878:53: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
if (cmd) s = sout (sout (s,", last command="),cmd);
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c:1880:28: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
else s = sout (sout (s,cmd)," in progress");
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c: In function 'parse_astring':
imapd.c:2062:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) {
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:2081:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i);
^
imapd.c:2081:16: warning: pointer targets in passing argument 1 of 'inliteral' differ in signedness [-Wpointer-sign]
inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i);
^
imapd.c:1945:6: note: expected 'char *' but argument is of type 'unsigned char *'
void inliteral (char *s,unsigned long n)
^
imapd.c:2083:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (*arg = t,CMDLEN - (t - cmdbuf),INPUTTIMEOUT);
^
imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2084:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!strchr (t,'\012')) return flush ();
^
imapd.c:2084:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2086:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!strtok (t,"\015\012")) *t = '\0';
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:2088:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (((i = strlen (t)) > 3) && (t[i - 1] == '}') &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:2094:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (t + i + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c: In function 'parse_stringlist':
imapd.c:2206:51: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign]
while ((c == ' ') && (t = parse_astring (s,&i,&c))) {
^
imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *parse_astring (unsigned char **arg,unsigned long *size,
^
imapd.c:2206:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while ((c == ' ') && (t = parse_astring (s,&i,&c))) {
^
imapd.c:2218:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = *s) { /* need to reload strtok() state? */
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c: In function 'parse_criterion':
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2339:31: warning: pointer targets in passing argument 1 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign]
*hdr = mail_newsearchheader (s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *'
SEARCHHEADER *mail_newsearchheader (char *line,char *text);
^
imapd.c:2339:33: warning: pointer targets in passing argument 2 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign]
*hdr = mail_newsearchheader (s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *'
SEARCHHEADER *mail_newsearchheader (char *line,char *text);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c: In function 'crit_string':
imapd.c:2584:35: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign]
char *s = parse_astring (arg,&i,&c);
^
imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *parse_astring (unsigned char **arg,unsigned long *size,
^
imapd.c:2584:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
char *s = parse_astring (arg,&i,&c);
^
imapd.c:2594:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!*arg) *arg = (char *) (*string)->text.data + i;
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c: In function 'fetch_work':
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2647:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = strtok (t," ")) do { /* parse attribute list */
^
imapd.c:2648:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (list && (i = strlen (s)) && (s[i-1] == ')')) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2681:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2683:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2723:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2736:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2741:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2743:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
imapd.c:2747:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (*v || !(v = strtok (NIL,"\015\012")) ||
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
imapd.c:2778:48: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
!(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) ||
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:2780:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) &&
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:2791:10: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
strtok (v," "); /* reset strtok mechanism */
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:2798:12: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
strtok (v," "); /* reset strtok mechanism */
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:2809:42: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (s && *s) ta->section = cpystr (s);
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:2816:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while ((s = strtok (NIL," ")) && (k < MAXFETCH) && list);
^
imapd.c: In function 'fetch_body_part_binary':
imapd.c:2955:38: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
BODY *body = mail_body (stream,i,ta->section);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
imapd.c: In function 'fetch_rfc822_text':
imapd.c:3312:9: warning: unused variable 'f' [-Wunused-variable]
int f = mail_elt (stream,i)->seen;
^
imapd.c: In function 'penv':
imapd.c:3329:15: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign]
pnstring (env->date); /* output envelope fields */
^
imapd.c:178:6: note: expected 'char *' but argument is of type 'unsigned char *'
void pnstring (char *s);
^
imapd.c: In function 'nameok':
imapd.c:3864:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c:3864:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c:3873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c:3873:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c: In function 'proxycopy':
imapd.c:4019:28: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)))
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imapd.c:4019:62: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)))
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imapd.c: In function 'append_msg':
imapd.c:4128:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = ++arg; /* pointer to flag list contents */
^
imapd.c:4135:47: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (*arg == '"') *date = ad->date = cpystr (snarf (&arg));
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:4140:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(i = strtoul (arg+1,&t,10)))
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:4148:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf),INPUTTIMEOUT);
^
imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:4149:17: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (strchr (ad->arg,'\012')) {
^
imapd.c:4149:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:4151:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!strtok (ad->arg,"\015\012")) *ad->arg = '\0';
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:4153:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:4159:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (ad->arg + j + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c: In function 'mm_login':
imapd.c:4529:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (password,pass,256); /* and password */
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/imapd'
cd mailutil;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/mailutil'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c
mailutil.c: In function 'prune_criteria':
mailutil.c:453:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
switch (*ucase (criterion)) {
^
In file included from ../c-client/c-client.h:48:0,
from mailutil.c:31:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mailutil.c: In function 'mbxcopy':
mailutil.c:594:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (tmp,MAILTMPLEN-1,stdin);
^
mailutil.c: In function 'mm_login':
mailutil.c:893:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (username,NETMAXUSER-1,stdin);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mailutil'
cd mlock;make || true
make[3]: Entering directory '/<<PKGBUILDDIR>>/mlock'
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c
mlock.c: In function 'die':
mlock.c:60:3: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration]
write (1,"?",1); /* indicate "impossible" failure */
^
mlock.c: In function 'main':
mlock.c:75:3: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration]
if (!grp || (grp->gr_gid != getegid ()))
^
mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration]
chdir (dir);
^
mlock.c:113:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60)))
^
mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
unlink (lock); /* time out lock if enough time has passed */
^
mlock.c:123:7: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration]
(unsigned long) getpid ());
^
mlock.c:125:5: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration]
gethostname (hitch + len,MAXHOSTNAMELEN);
^
mlock.c:132:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
close (ld); /* close the hitching-post */
^
mlock.c:138:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration]
i = link (hitch,lock) ? errno : 0;
^
mlock.c:161:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
if (tries--) sleep (1); /* sleep 1 second and try again */
^
mlock.c:169:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
read (0,tmp,1); /* read continue signal from parent */
^
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mlock'
cd dmail;make || true
make[3]: Entering directory '/<<PKGBUILDDIR>>/dmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c
dmail.c: In function 'main':
dmail.c:162:5: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2);
^
dmail.c: In function 'deliver':
dmail.c:231:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!*mailbox || !compare_cstring ((unsigned char *) mailbox,"INBOX"))
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c: In function 'mm_notify':
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c: In function 'file_string_setpos':
dmail.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data);
^
dmail.c: In function 'delivery_unsafe':
dmail.c:443:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized]
sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/dmail'
cd tmail;make || true
make[3]: Entering directory '/<<PKGBUILDDIR>>/tmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c
tmail.c: In function 'main':
tmail.c:166:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (format->name,"dummy"))
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tmail.c:166:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (format->name,"dummy"))
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tmail.c:171:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2);
^
tmail.c: In function 'getusername':
tmail.c:608:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!**t || !compare_cstring ((unsigned char *) *t,"INBOX")) *t = NIL;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c: In function 'mm_notify':
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c: In function 'file_string_setpos':
tmail.c:124:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data);
^
tmail.c: In function 'delivery_unsafe':
tmail.c:564:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized]
sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tmail'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
mv c-client/c-client.a .
/usr/bin/make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Removing old processed sources and binaries...
sh -c 'rm -rf an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true'
cd tools;make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/tools'
sh -c 'rm -f *.o uahelper || true'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
# Use PAM
/usr/bin/make VERSION=2007e EXTRAAUTHENTICATORS='gss' EXTRACFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' EXTRALDFLAGS='-Wl,-z,relro' ldbs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with RFC 3501 security
+ requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
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='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' EXTRALDFLAGS='-Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnps IP=6 \
SPECIALS="GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: 'ip6' is up to date.
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
Building c-client for lnps...
echo `cat SPECIALS` > c-client/SPECIALS
cd c-client;make lnps EXTRACFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs'\
EXTRALDFLAGS='-Wl,-z,relro'\
EXTRADRIVERS='mbox'\
EXTRAAUTHENTICATORS='gss'\
PASSWDTYPE=std SSLTYPE=nopwd IP=6\
GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private
make[3]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make build EXTRACFLAGS='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' EXTRALDFLAGS='-Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=lnx \
SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \
SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ACTIVEFILE=/var/lib/news/active \
RSHPATH=/usr/bin/rsh \
BASECFLAGS="-fPIC -g -O2 -pipe -fno-omit-frame-pointer -isystem /usr/include/mit-krb5" \
ARCHIVE="libc-client.so" \
BASELDFLAGS="-L../c-client -lc-client -lpam -ldl -lc" \
ARRC="gcc --shared -Wl,-soname,libc-client.so.2007e -o" \
LIBRARIES="-lpam -ldl -Wl,-z,relro -L/usr/lib -lssl -lcrypto -L/usr/lib/arm-linux-gnueabihf/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" \
RANLIB=true
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE ARCHIVENAME *FLAGS *TYPE libc-client.so || true'
Once-only environment setup...
echo cc > CCTYPE
echo -fPIC -g -O2 -pipe -fno-omit-frame-pointer -isystem /usr/include/mit-krb5 '-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' -DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
-DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \
-DANONYMOUSHOME=\"/var/mail/anonymous\" \
-DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
-DLOCKPGM=\"\" \
-DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \
-DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS
echo -L../c-client -lc-client -lpam -ldl -lc -Wl,-z,relro > LDFLAGS
echo "gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-z,relro -L/usr/lib -lssl -lcrypto -L/usr/lib/arm-linux-gnueabihf/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so" > ARCHIVE
echo libc-client.so > ARCHIVENAME
echo lnx > OSTYPE
./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy
./mkauths gss ext md5 pla log
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
echo -isystem /usr/include/mit-krb5 -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS
krb5-config.mit --libs gssapi >> LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c
ln -s os_lnx.h osdep.h
ln -s os_lnx.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 lnx = sc5 -o lnx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS'
Standard password authentication
ln -s ckp_pam.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/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/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 lnx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
In file included from osdep.c:49:0:
nl_unix.c: In function 'strcrlfcpy':
nl_unix.c:49:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
pmatch.c: In function 'pmatch_full':
pmatch.c:41:43: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T;
^
pmatch.c:41:43: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:1:0,
from env_unix.c:260,
from osdep.c:50:
kerb_mit.c: In function 'kerberos_login':
kerb_mit.c:103:31: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
authserver_login (lcase (user),kuser,argc,argv))
^
In file included from osdep.c:43:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from auths.c:1:0,
from env_unix.c:260,
from osdep.c:50:
kerb_mit.c:103:24: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign]
authserver_login (lcase (user),kuser,argc,argv))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from osdep.c:31:
env.h:40:6: note: expected 'char *' but argument is of type 'unsigned char *'
long authserver_login (char *user,char *authuser,int argc,char *argv[]);
^
In file included from auths.c:2:0,
from env_unix.c:260,
from osdep.c:50:
auth_gss.c: In function 'auth_gssapi_server':
auth_gss.c:399:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
SERVER_LOG ("Failed to acquire credentials for %s",buf.value);
^
auth_gss.c:406:4: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value);
^
auth_gss.c:414:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=]
SERVER_LOG ("GSSAPI mechanism status: %s",resp.value);
^
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:50:
auth_md5.c: In function 'auth_md5_pwd':
auth_md5.c:195:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
^
auth_md5.c:197:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++);
^
auth_md5.c:199:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lusr = *s ? lcase (cpystr (user)) : NIL;
^
In file included from osdep.c:43:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:50:
auth_md5.c:200:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s;
^
auth_md5.c:201:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = ret ? NIL : strtok_r (NIL,"\015\012",&r))
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
auth_md5.c:203:45: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) {
^
auth_md5.c:203:45: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:50:
auth_md5.c:203:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:205:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
auth_md5.c:205:15: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:50:
auth_md5.c:205:38: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (!strcmp (s,user)) ret = cpystr (t);
^
In file included from osdep.c:43:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from osdep.c:31:
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:39: note: expected 'const char *' but argument is of type 'unsigned char *'
auth_md5.c:206:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
^
auth_md5.c:206:41: note: expected 'const char *' but argument is of type 'unsigned char *'
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:50:
auth_md5.c:209:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (!ret && lret) ret = cpystr (lret);
^
In file included from osdep.c:43:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from osdep.c:50:0:
env_unix.c: In function 'pwuser':
env_unix.c:641:33: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign]
struct passwd *pw = getpwnam (user);
^
In file included from osdep.c:42:0:
/usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *'
extern struct passwd *getpwnam (const char *__name);
^
In file included from osdep.c:50:0:
env_unix.c:645:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
pw = getpwnam (s = lcase (cpystr (user)));
^
In file included from osdep.c:43:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from osdep.c:50:0:
env_unix.c:645:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
pw = getpwnam (s = lcase (cpystr (user)));
^
In file included from osdep.c:43:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from osdep.c:50:0:
env_unix.c:645:22: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign]
pw = getpwnam (s = lcase (cpystr (user)));
^
In file included from osdep.c:42:0:
/usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *'
extern struct passwd *getpwnam (const char *__name);
^
In file included from osdep.c:50:0:
env_unix.c: In function 'valpwd':
env_unix.c:671:16: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
ret = pwuser (user); /* validated, get passwd entry for user */
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c:676:25: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
else if (pw = pwuser (user)) {/* can get user? */
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c:679:44: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
(*pwd == ' ') && pwd[1] && (ret = pwuser (s)))
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c: In function 'server_login':
env_unix.c:710:58: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user);
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c: In function 'authserver_login':
env_unix.c:728:28: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign]
return pw_login (pwuser (user),authuser,user,NIL,argc,argv);
^
env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *'
static struct passwd *pwuser (unsigned char *user)
^
env_unix.c: In function 'pw_login':
env_unix.c:767:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (user && auser && *auser && compare_cstring (auser,user)) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:767:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (user && auser && *auser && compare_cstring (auser,user)) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:770:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (auser,*t++))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:770:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (auser,*t++))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c: In function 'mailboxfile':
env_unix.c:1057:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ?
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1057:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ?
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1067:63: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1067:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1087:55: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1087:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1101:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX")) name = "INBOX";
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1101:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX")) name = "INBOX";
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1115:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name+1,"NBOX")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1115:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name+1,"NBOX")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c: In function 'lock_work':
env_unix.c:1374:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (op & LOCK_NB) i = flock (fd,op);
^
env_unix.c: In function 'dorc':
env_unix.c:1565:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set keywords") && !userFlags[0]) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1565:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set keywords") && !userFlags[0]) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1579:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set new-mailbox-format") ||
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1579:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set new-mailbox-format") ||
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1580:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set new-folder-format")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1580:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set new-folder-format")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1581:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"same-as-inbox")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1581:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"same-as-inbox")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1583:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (d->name,"mbox"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1583:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (d->name,"mbox"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1586:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (d->name,"dummy")) d = NIL;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1586:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (d->name,"dummy")) d = NIL;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1590:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1590:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1593:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"mbox")) k = "unix";
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1593:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"mbox")) k = "unix";
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1604:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set empty-mailbox-format") ||
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1604:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set empty-mailbox-format") ||
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1605:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set empty-folder-format")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1605:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"set empty-folder-format")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1606:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"invalid")) appendProto = NIL;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1606:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"invalid")) appendProto = NIL;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1607:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"same-as-inbox"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1607:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"same-as-inbox"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1609:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (d->name,"dummy")) ?
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1609:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (d->name,"dummy")) ?
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1611:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1611:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"system-standard"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1615:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
d && compare_cstring (d->name,k); d = d->next);
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1615:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
d && compare_cstring (d->name,k); d = d->next);
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1626:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set local-host")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1626:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set local-host")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1630:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-active-file")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1630:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-active-file")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1634:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-spool-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1634:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-spool-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1638:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1638:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1640:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-allow-inbox"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1640:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mh-allow-inbox"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1642:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-state-file")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1642:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set news-state-file")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1646:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-export-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1646:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-export-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1650:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-home-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1650:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-home-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1654:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-home-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1654:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-home-directory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1658:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set system-inbox")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1658:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set system-inbox")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1662:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mail-subdirectory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1662:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mail-subdirectory")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1666:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set from-widget"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1666:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set from-widget"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1668:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (k,"header-only") ?
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1668:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (k,"header-only") ?
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1671:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-command"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1671:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-command"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1673:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1673:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1675:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-command"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1675:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-command"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1677:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1677:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1679:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-open-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1679:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-open-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1681:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-read-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1681:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-read-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1683:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-write-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1683:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set tcp-write-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1685:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1685:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set rsh-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1687:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1687:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ssh-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1689:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set maximum-login-trials"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1689:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set maximum-login-trials"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1691:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lookahead"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1691:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lookahead"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1693:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set prefetch"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1693:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set prefetch"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1695:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set close-on-error"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1695:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set close-on-error"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1697:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set imap-port"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1697:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set imap-port"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1699:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set pop3-port"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1699:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set pop3-port"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1701:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set uid-lookahead"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1701:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set uid-lookahead"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1703:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set try-ssl-first"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1703:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set try-ssl-first"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1706:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mailbox-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1706:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set mailbox-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1708:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1708:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1710:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lock-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1710:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set lock-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1712:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1712:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1714:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1714:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1716:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1716:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1718:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1718:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set ftp-directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1720:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1720:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set public-directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1722:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1722:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set shared-directory-protection"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1724:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set dot-lock-file-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1724:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set dot-lock-file-timeout"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1726:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-fcntl-locking"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1726:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-fcntl-locking"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1728:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-lock-warning"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1728:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-lock-warning"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1730:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1730:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1732:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set hide-dot-files"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1732:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set hide-dot-files"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1734:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set list-maximum-level"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1734:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set list-maximum-level"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1736:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set trust-dns"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1736:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set trust-dns"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1738:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set sasl-uses-ptr-name"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1738:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set sasl-uses-ptr-name"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1740:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set network-filesystem-stat-bug"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1740:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set network-filesystem-stat-bug"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1742:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set nntp-range"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1742:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set nntp-range"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1746:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set black-box-directory") &&
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1746:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"set black-box-directory") &&
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1748:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring(s,"set black-box-default-home-directory")&&
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1748:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring(s,"set black-box-default-home-directory")&&
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1751:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set anonymous-home-directory") &&
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1751:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set anonymous-home-directory") &&
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1758:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set CA-certificate-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1758:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set CA-certificate-path"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1760:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-plaintext"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1760:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set disable-plaintext"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1762:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allowed-login-attempts"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1762:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allowed-login-attempts"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1764:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set chroot-server"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1764:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set chroot-server"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1766:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set restrict-mailbox-access"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1766:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set restrict-mailbox-access"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1768:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1768:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1769:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"otherusers"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1769:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"otherusers"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1771:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"all")) restrictBox = -1;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1771:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (k,"all")) restrictBox = -1;
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1773:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set advertise-the-world"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1773:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set advertise-the-world"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1775:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set limited-advertise"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1775:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set limited-advertise"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1778:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(s,"set disable-automatic-shared-namespaces"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1778:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(s,"set disable-automatic-shared-namespaces"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1780:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-user-config"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1780:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-user-config"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1782:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-reverse-dns"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1782:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set allow-reverse-dns"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1784:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set k5-cp-uses-service-name"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1784:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set k5-cp-uses-service-name"))
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1788:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set plaintext-allowed-clients")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from osdep.c:50:0:
env_unix.c:1788:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"set plaintext-allowed-clients")) {
^
In file included from osdep.c:43:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from tcp_unix.c:29:0,
from osdep.c:52:
ip_unix.c: In function 'ip_stringtoaddr':
ip_unix.c:136:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) {
^
In file included from osdep.c:43:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from tcp_unix.c:29:0,
from osdep.c:52:
ip_unix.c:136:22: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) {
^
In file included from osdep.c:38:0:
/usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern int getaddrinfo (const char *__restrict __name,
^
In file included from tcp_unix.c:29:0,
from osdep.c:52:
ip_unix.c: In function 'ip_nametoaddr':
ip_unix.c:253:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) {
^
In file included from osdep.c:43:0:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from tcp_unix.c:29:0,
from osdep.c:52:
ip_unix.c:253:17: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign]
(!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) {
^
In file included from osdep.c:38:0:
/usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern int getaddrinfo (const char *__restrict __name,
^
In file included from osdep.c:52:0:
tcp_unix.c: In function 'tcp_getline':
tcp_unix.c:450:43: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign]
char *ret = tcp_getline_work (stream,&n,&contd);
^
tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size,
^
tcp_unix.c:458:41: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign]
ret = tcp_getline_work (stream,&n,&contd);
^
tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size,
^
tcp_unix.c: In function 'tcp_isclienthost':
tcp_unix.c:1000:17: warning: unused variable 'sadrlen' [-Wunused-variable]
size_t adrlen,sadrlen,len;
^
In file included from osdep.c:55:0:
flocklnx.c: In function 'safe_flock':
flocklnx.c:60:27: warning: passing argument 1 of 'syslog' makes integer from pointer without a cast
if (!logged++) syslog ("%s",LOG_ERR,tmp);
^
In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0,
from /usr/include/syslog.h:1,
from osdep.h:50,
from osdep.c:31:
/usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'int' but argument is of type 'char *'
syslog (int __pri, const char *__fmt, ...)
^
In file included from osdep.c:55:0:
flocklnx.c:60:32: warning: passing argument 2 of 'syslog' makes pointer from integer without a cast
if (!logged++) syslog ("%s",LOG_ERR,tmp);
^
In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0,
from /usr/include/syslog.h:1,
from osdep.h:50,
from osdep.c:31:
/usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'const char *' but argument is of type 'int'
syslog (int __pri, const char *__fmt, ...)
^
osdep.c: In function 'ssl_validate_cert':
osdep.c:565:34: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ret = ssl_compare_hostnames (host,s) ? NIL :
^
osdep.c:298:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c:565:39: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ret = ssl_compare_hostnames (host,s) ? NIL :
^
osdep.c:298:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c:574:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(name->type = GEN_DNS) && (s = name->d.ia5->data) &&
^
osdep.c:575:29: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ssl_compare_hostnames (host,s)) ret = NIL;
^
osdep.c:298:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c:575:34: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign]
ssl_compare_hostnames (host,s)) ret = NIL;
^
osdep.c:298:13: note: expected 'unsigned char *' but argument is of type 'char *'
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
^
osdep.c: In function 'ssl_getline':
osdep.c:616:43: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign]
char *ret = ssl_getline_work (stream,&n,&contd);
^
osdep.c:299:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size,
^
osdep.c:624:41: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign]
ret = ssl_getline_work (stream,&n,&contd);
^
osdep.c:299:14: note: expected 'long int *' but argument is of type 'long unsigned int *'
static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size,
^
In file included from auths.c:4:0,
from env_unix.c:260,
from osdep.c:50:
auth_md5.c: In function 'auth_md5_pwd':
auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
^
In file included from osdep.c:50:0:
env_unix.c: In function 'pw_login':
env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
(ret = env_init (user,home))) chdir (myhomedir ());
^
`cat CCTYPE` -c `cat CFLAGS` mail.c
mail.c: In function 'mail_parameters':
mail.c:374:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:374:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:379:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:379:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:384:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:384:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:390:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:390:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:395:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:395:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:400:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:400:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:405:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:405:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
a && compare_cstring (a->name,(char *) value); a = a->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_valid_net_parse_work':
mail.c:792:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:792:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:793:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lcase (strcpy (mb->service,v));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
mail.c:794:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:794:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:796:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:796:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:802:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"anonymous")) mb->anoflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:802:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"anonymous")) mb->anoflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:803:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"debug")) mb->dbgflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:803:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"debug")) mb->dbgflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:804:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:804:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:805:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"secure")) mb->secflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:805:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"secure")) mb->secflag = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:806:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"norsh")) mb->norsh = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:806:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"norsh")) mb->norsh = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:807:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"loser")) mb->loser = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:807:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"loser")) mb->loser = T;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:808:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:808:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:810:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:810:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:812:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"notls") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:812:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"notls") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:814:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tryssl"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:814:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"tryssl"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:816:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:816:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag)
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:818:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"novalidate-cert"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:818:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"novalidate-cert"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:821:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"validate-cert"));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:821:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (mailssldriver && !compare_cstring (s,"validate-cert"));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:824:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:824:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:825:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"nntp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:825:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"nntp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:826:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"pop3") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:826:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"pop3") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:827:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"smtp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:827:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"smtp") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:828:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"submit"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:828:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"submit"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:829:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lcase (strcpy (mb->service,s));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
mail.c:830:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap2") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:830:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"imap2") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:831:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap2bis") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:831:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap2bis") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:832:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:832:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4") ||
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:833:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4rev1"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:833:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (s,"imap4rev1"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:835:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"pop"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:835:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"pop"))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_create':
mail.c:1008:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:1008:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_open':
mail.c:1250:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:1250:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_fetch_overview':
mail.c:1472:48: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (stream->dtb && mail_uid_sequence (stream,sequence) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mail.c: In function 'mail_fetch_overview_sequence':
mail.c:1488:44: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
if (stream->dtb && mail_sequence (stream,sequence) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mail.c: In function 'mail_fetch_overview_default':
mail.c:1513:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ov.date = env->date;
^
mail.c: In function 'mail_fetch_header':
mail.c:1731:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!((b = mail_body (stream,msgno,section)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_fetch_text':
mail.c:1822:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!((b = mail_body (stream,msgno,section)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_fetch_mime':
mail.c:1876:61: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(section && *section && (b = mail_body (stream,msgno,section))))
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_fetch_body':
mail.c:1962:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(b = mail_body (stream,msgno,section))) return "";
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_partial_text':
mail.c:2022:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!((b = mail_body (stream,msgno,section)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_partial_body':
mail.c:2090:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(b = mail_body (stream,msgno,section))) return NIL;
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
mail.c: In function 'mail_flag':
mail.c:2312:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & ST_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mail.c:2313:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) &&
^
In file included from c-client.h:41:0,
from mail.c:31:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c: In function 'mail_append_multiple':
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
mail.c:2602:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mail.c:2602:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from mail.c:31:
mail.c:2602:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
mail.c: In function 'mail_body':
mail.c:2724:21: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (!(i = strtoul (section,(char **) §ion,10)) ||
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_parse_date':
mail.c:2856:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mail.c:2856:76: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from mail.c:28:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
mail.c:2856:64: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mail.c:2862:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (!(m = strtoul (s,(char **) &s,10))) return NIL;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2866:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) &&
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2868:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
y = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2878:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') &&
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2879:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(d = strtoul (s,(char **) &s,10)) && !*s) break;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2884:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen (s) < (size_t) 5) return NIL;
^
In file included from osdep.h:44:0,
from c-client.h:42,
from mail.c:31:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mail.c:2912:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
y = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2936:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
d = strtoul (s+1,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2938:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
m = strtoul (++s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:2939:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_uid_sequence':
mail.c:3269:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(i = strtoul (sequence,(char **) &sequence,10))) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:3280:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(j = strtoul (sequence,(char **) &sequence,10))) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_filter':
mail.c:3377:53: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
mail.c: In function 'mail_search_msg':
mail.c:3519:44: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
BODY *body = mail_body (stream,msgno,section);
^
mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section)
^
mail.c: In function 'mail_search_text':
mail.c:3691:46: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
else if ((body = mail_body (stream,msgno,section)) &&
^
mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section)
^
mail.c: In function 'mail_search_string':
mail.c:3810:16: warning: unused variable 'sc' [-Wunused-variable]
STRINGLIST **sc = st;
^
mail.c: In function 'mail_search_keyword':
mail.c:3858:32: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if (!compare_csizedtext (stream->user_flags[i],&st->text)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
mail.c: In function 'mail_criteria':
mail.c:3989:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
switch (*ucase (criterion)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mail.c: In function 'mail_criteria_date':
mail.c:4080:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (&elt,(char *) s->text.data) &&
^
mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
^
mail.c: In function 'mail_sort_loadcache':
mail.c:4336:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (env) t = env->date;
^
mail.c:4352:38: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!(t && mail_parse_date (&telt,t) &&
^
mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
^
mail.c: In function 'mail_sort_compare':
mail.c:4652:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->from,s2->from);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4652:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->from,s2->from);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4655:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->to,s2->to);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4655:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->to,s2->to);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4658:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->cc,s2->cc);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4658:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->cc,s2->cc);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4661:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->subject,s2->subject);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4661:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
i = compare_cstring (s1->subject,s2->subject);
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_thread_msgs':
mail.c:4760:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (type,t->name)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4760:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (type,t->name)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_thread_orderedsubject':
mail.c:4804:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (top->sc->subject,s->subject)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:4804:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (top->sc->subject,s->subject)) {
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_thread_loadcache':
mail.c:5125:56: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) {
^
mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
^
mail.c: In function 'mail_sequence':
mail.c:5375:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(i = strtoul (sequence,(char **) &sequence,10)) ||
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c:5391:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(j = strtoul (sequence,(char **) &sequence,10)) ||
^
In file included from osdep.h:43:0,
from c-client.h:42,
from mail.c:31:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mail.c: In function 'mail_parse_flags':
mail.c:5446:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t+1,"SEEN")) f |= fSEEN;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5446:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t+1,"SEEN")) f |= fSEEN;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5447:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5447:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5448:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5448:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5449:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5449:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5450:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5450:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5460:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,s)) *uf |= i = 1 << j;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5460:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,s)) *uf |= i = 1 << j;
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_usable_network_stream':
mail.c:5509:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
((!compare_cstring (smb.host,
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5510:10: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
trustdns ? tcp_canonical (nmb.host) : nmb.host)&&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5515:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (omb.host,nmb.host) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:5515:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (omb.host,nmb.host) &&
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_auth':
mail.c:6112:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (auth->server && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:6112:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (auth->server && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: In function 'mail_lookup_auth_name':
mail.c:6145:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c:6145:62: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism))
^
In file included from c-client.h:48:0,
from mail.c:31:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mail.c: At top level:
mail.c:38:14: warning: 'mailcclientversion' defined but not used [-Wunused-variable]
static char *mailcclientversion = CCLIENTVERSION;
^
mail.c: In function 'mail_parse_set':
mail.c:4153:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized]
else cur = cur->next = mail_newsearchset ();
^
`cat CCTYPE` -c `cat CFLAGS` misc.c
misc.c: In function 'compare_csizedtext':
misc.c:471:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
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:167:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c:167:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c:170:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c:170:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from newsrc.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
newsrc.c: In function 'newsrc_state':
newsrc.c:468:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (s,(size_t) 1,size,f);
^
`cat CCTYPE` -c `cat CFLAGS` smanager.c
smanager.c: In function 'sm_subscribe':
smanager.c:44:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smanager.c:44:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smanager.c: In function 'sm_unsubscribe':
smanager.c:77:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smanager.c:77:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
^
In file included from c-client.h:48:0,
from smanager.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
`cat CCTYPE` -c `cat CFLAGS` utf8.c
utf8.c:343:1: warning: missing braces around initializer [-Wmissing-braces]
};
^
utf8.c:343:1: warning: (near initialization for 'utf8_csvalid[92]') [-Wmissing-braces]
utf8.c:370:1: warning: missing braces around initializer [-Wmissing-braces]
};
^
utf8.c:370:1: warning: (near initialization for 'utf8_scvalid[21]') [-Wmissing-braces]
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]
if (!compare_cstring (script,utf8_scvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:383:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (script,utf8_scvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
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]
if (!compare_cstring (charset,utf8_csvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:400:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (charset,utf8_csvalid[i].name))
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
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]
short iso2022jp = !compare_cstring (charset,"ISO-2022-JP");
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
short iso2022jp = !compare_cstring (charset,"ISO-2022-JP");
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c: In function 'utf8_cstocstext':
utf8.c:613:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (dcs->name,"ISO-2022-JP"))) ?
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:613:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (dcs->name,"ISO-2022-JP"))) ?
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap :
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:647:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap :
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c: In function 'utf8_csvalidmap':
utf8.c:1291:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP";
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c:1291:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP";
^
In file included from c-client.h:48:0,
from utf8.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
utf8.c: In function 'ucs4_decompose':
utf8.c:2497:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ret;
^
`cat CCTYPE` -c `cat CFLAGS` utf8aux.c
utf8aux.c: In function 'utf8_from_mutf7':
utf8aux.c:415:24: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign]
if (mail_utf7_valid (src)) return NIL;
^
In file included from c-client.h:41:0,
from utf8aux.c:32:
mail.h:1644:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_utf7_valid (char *mailbox);
^
utf8aux.c:420:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from utf8aux.c:32:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
utf8aux.c:420:26: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign]
for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
^
In file included from c-client.h:48:0,
from utf8aux.c:32:
misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
^
utf8aux.c:420:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
^
`cat CCTYPE` -c `cat CFLAGS` siglocal.c
`cat CCTYPE` -c `cat CFLAGS` dummy.c
dummy.c: In function 'dummy_valid':
dummy.c:124:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) return &dummydriver;
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:124:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) return &dummydriver;
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_scan':
dummy.c:185:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (pmatch ("INBOX",ucase (test))) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
dummy.c:185:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch ("INBOX",ucase (test))) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c: In function 'dummy_lsub':
dummy.c:224:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX") &&
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:224:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX") &&
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:225:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
pmatch ("INBOX",ucase (strcpy (tmp,test))))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
dummy.c:225:12: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
pmatch ("INBOX",ucase (strcpy (tmp,test))))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:227:29: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:227:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:230:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:230:21: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c: In function 'dummy_list_work':
dummy.c:290:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:290:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:290:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:290:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:304:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if ((pmatch_full (strcpy (path,tmp),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:304:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if ((pmatch_full (strcpy (path,tmp),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:305:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
pmatch_full (strcat (path,"/"),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:305:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
pmatch_full (strcat (path,"/"),pat,'/') ||
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:306:15: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign]
dmatch (path,pat,'/')) &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:306:20: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign]
dmatch (path,pat,'/')) &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:315:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!pmatch (tmp,"INBOX")) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from dummy.c:39:0:
dummy.c:315:23: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (!pmatch (tmp,"INBOX")) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:316:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/')) {
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:316:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/')) {
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:321:30: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:321:35: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (pmatch_full (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:325:18: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:325:23: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (path,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:331:23: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:331:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from dummy.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
dummy.c:331:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:331:60: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_create':
dummy.c:458:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:458:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_rename':
dummy.c:568:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:568:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_open':
dummy.c:597:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (stream->mailbox,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:597:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (stream->mailbox,"INBOX"))
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c: In function 'dummy_copy':
dummy.c:704:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from dummy.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
dummy.c:705:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy");
^
In file included from dummy.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
dummy.c: In function 'dummy_append':
dummy.c:726:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:726:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) {
^
In file included from dummy.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point]
if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX"))
^
dummy.c: In function 'dummy_canonicalize':
dummy.c:803:28: warning: value computed is not used [-Wunused-value]
for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i;
^
dummy.c: In function 'dummy_scan_contents':
dummy.c:383:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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]
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]
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:159:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (tmp); /* coerce to uppercase */
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:198:53: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d);
^
rfc822.c: In function 'rfc822_parse_content':
rfc822.c:490:54: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
rfc822_parse_content_header (&part->body,ucase (s1+8),s);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:490:47: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign]
rfc822_parse_content_header (&part->body,ucase (s1+8),s);
^
In file included from c-client.h:43:0,
from rfc822.c:38:
rfc822.h:64:6: note: expected 'char *' but argument is of type 'unsigned char *'
void rfc822_parse_content_header (BODY *body,char *name,char *s);
^
rfc822.c: In function 'rfc822_parse_content_header':
rfc822.c:560:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
body->disposition.type = ucase (cpystr (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:560:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->disposition.type = ucase (cpystr (s));
^
rfc822.c:574:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
stl->text.data = (unsigned char *) ucase (cpystr (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:601:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_types[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:601:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_types[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:612:36: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
body_types[body->type] = ucase (s);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:612:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body_types[body->type] = ucase (s);
^
rfc822.c:624:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (s) body->subtype = ucase (rfc822_cpy (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:624:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s) body->subtype = ucase (rfc822_cpy (s));
^
rfc822.c:642:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_encodings[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:642:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,body_encodings[i]); i++);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
rfc822.c:653:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
body_encodings[body->encoding] = ucase (s);
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:653:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body_encodings[body->encoding] = ucase (s);
^
rfc822.c: In function 'rfc822_parse_parameter':
rfc822.c:686:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
param->attribute = ucase (cpystr (s));
^
In file included from c-client.h:48:0,
from rfc822.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
rfc822.c:686:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
param->attribute = ucase (cpystr (s));
^
rfc822.c: In function 'rfc822_output_header':
rfc822.c:1462:45: warning: pointer targets in passing argument 4 of 'rfc822_output_header_line' differ in signedness [-Wpointer-sign]
rfc822_output_header_line (buf,"Date",i,env->date) &&
^
In file included from c-client.h:43:0,
from rfc822.c:38:
rfc822.h:88:6: note: expected 'char *' but argument is of type 'unsigned char *'
long rfc822_output_header_line (RFC822BUFFER *buf,char *type,long resent,
^
rfc822.c: In function 'rfc822_output':
rfc822.c:2342:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
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:362:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c:362:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c:365:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c:365:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from nntp.c:32:
nntp.c: In function 'nntp_lsub':
nntp.c:397:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from nntp.c:32:
nntp.c:397:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from nntp.c:32:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
nntp.c: In function 'nntp_status':
nntp.c:566:24: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign]
newsrc_check_uid (state,k,&status.recent,&status.unseen);
^
In file included from nntp.c:33:0:
newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *'
void newsrc_check_uid (unsigned char *state,unsigned long uid,
^
nntp.c:575:20: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign]
newsrc_check_uid (state,i++,&status.recent,&status.unseen);
^
In file included from nntp.c:33:0:
newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *'
void newsrc_check_uid (unsigned char *state,unsigned long uid,
^
nntp.c: In function 'nntp_mopen':
nntp.c:734:12: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign]
lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ?
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *lcase (unsigned char *string);
^
nntp.c: In function 'nntp_fetchfast':
nntp.c:853:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c:854:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c: In function 'nntp_flags':
nntp.c:896:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c:896:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
nntp.c: In function 'nntp_over':
nntp.c:999:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from nntp.c:32:
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c:999:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
^
nntp.c:999:72: note: expected 'const char *' but argument is of type 'unsigned char *'
nntp.c: In function 'nntp_parse_overview':
nntp.c:1045:43: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!elt->day) mail_parse_date (elt,ov->date);
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
nntp.c: In function 'nntp_search_msg':
nntp.c:1314:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
(!mail_parse_date (&delt,ov->date) ||
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
nntp.c: In function 'nntp_sort_loadcache':
nntp.c:1531:33: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt);
^
In file included from c-client.h:41:0,
from nntp.c:32:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
nntp.c: In function 'nntp_extensions':
nntp.c:1818:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1818:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1819:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1819:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1820:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1820:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1821:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1821:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1822:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1822:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1823:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1823:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1825:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTHINFO") && args) {
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1825:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTHINFO") && args) {
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1828:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c:1828:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T;
^
In file included from c-client.h:48:0,
from nntp.c:32:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
nntp.c: In function 'nntp_mail':
nntp.c:1916:19: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
if (s = strstr (env->date," (")) *s = NIL;
^
In file included from osdep.h:44:0,
from c-client.h:42,
from nntp.c:32:
/usr/include/string.h:342:14: note: expected 'const char *' but argument is of type 'unsigned char *'
extern char *strstr (const char *__haystack, const char *__needle)
^
nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable]
long retry = NIL;
^
nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable]
long error = NIL;
^
nntp.c: In function 'nntp_mopen':
nntp.c:764:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3),
^
nntp.c: In function 'nntp_header':
nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (elt->private.msg.header.text.data =
^
`cat CCTYPE` -c `cat CFLAGS` smtp.c
smtp.c: In function 'smtp_open_full':
smtp.c:166:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (mb.service,"submit")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:166:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (mb.service,"submit")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:184:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
s = compare_cstring ("localhost",mb.host) ?
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:184:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
s = compare_cstring ("localhost",mb.host) ?
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c: In function 'smtp_ehlo':
smtp.c:690:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"SIZE")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:690:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"SIZE")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:694:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DELIVERBY")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:694:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DELIVERBY")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:698:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:698:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) {
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:702:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"AUTH"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:702:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"AUTH"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:708:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:708:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:709:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:709:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:710:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:710:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:711:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:711:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:712:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:712:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:713:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:713:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:714:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:714:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:715:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:715:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:716:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:716:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:717:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:717:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:718:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:718:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:719:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:719:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:720:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:720:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:721:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:721:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:722:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ENHANCEDSTATUSCODES"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:722:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ENHANCEDSTATUSCODES"))
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:724:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:724:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:725:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:725:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T;
^
In file included from c-client.h:48:0,
from smtp.c:39:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
smtp.c:708:15: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
^
`cat CCTYPE` -c `cat CFLAGS` imap4r1.c
In file included from c-client.h:48:0,
from imap4r1.c:38:
imap4r1.c: In function 'imap_lsub':
imap4r1.c:509:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from imap4r1.c:38:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
imap4r1.c:509:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from imap4r1.c:38:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
imap4r1.c: In function 'imap_list_work':
imap4r1.c:568:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (cmd,"LIST")) cmd = "RLIST";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:568:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (cmd,"LIST")) cmd = "RLIST";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:570:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:570:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB";
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:582:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
^
imap4r1.c:582:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:583:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
^
imap4r1.c:583:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c: In function 'imap_manage':
imap4r1.c:685:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress]
if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) &&
^
imap4r1.c:706:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ret ? NIL : ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_open':
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:874:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!reply || strcmp (reply->tag,"*") ||
^
imap4r1.c:874:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:875:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
^
imap4r1.c:875:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:876:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
if (reply) mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:881:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:881:37: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:989:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (mb.mailbox,"INBOX");
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:989:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (mb.mailbox,"INBOX");
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:999:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_rimap':
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1045:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
^
imap4r1.c:1045:13: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1049:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
^
imap4r1.c:1049:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c: In function 'imap_anon':
imap4r1.c:1085:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (reply->tag,tag)) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1087:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1102:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_auth':
imap4r1.c:1152:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (compare_cstring (reply->tag,tag))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1153:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:1162:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
lsterr = cpystr (reply->text);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imap4r1.c: In function 'imap_login':
imap4r1.c:1214:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_challenge':
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1244:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
^
imap4r1.c:1244:12: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:1249:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
strlen (reply->text),len))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imap4r1.c: In function 'imap_close':
imap4r1.c:1306:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_fast':
imap4r1.c:1346:40: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_flags':
imap4r1.c:1367:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_overview':
imap4r1.c:1420:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ov.date = env->date;
^
imap4r1.c: In function 'imap_structure':
imap4r1.c:1468:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1595:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1597:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_msgdata':
imap4r1.c:1827:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1837:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1846:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,WARN);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:1850:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_uid':
imap4r1.c:1903:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_msgno':
imap4r1.c:1939:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_flag':
imap4r1.c:1980:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_search':
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2048:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2048:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2067:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:2067:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2073:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c:2109:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_sort':
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2172:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2172:41: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2179:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2179:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2188:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_thread':
imap4r1.c:2275:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (thr->name,type))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:2275:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (thr->name,type))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_thread_work':
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2335:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
^
imap4r1.c:2335:39: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:2342:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:2350:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_check':
imap4r1.c:2374:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_expunge':
imap4r1.c:2399:36: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
else if (mail_sequence (stream,sequence)) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imap4r1.c:2427:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_copy':
imap4r1.c:2465:65: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) &&
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imap4r1.c:2469:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_append':
imap4r1.c:2522:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_append_referral':
imap4r1.c:2585:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_append_single':
imap4r1.c:2615:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
imap4r1.c:2619:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*");
^
imap4r1.c:2620:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.key = "BAD";
^
imap4r1.c:2621:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.text = "Bad date in append";
^
imap4r1.c: In function 'imap_acl_work':
imap4r1.c:2895:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_annotation_work':
imap4r1.c:2906:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_setquota':
imap4r1.c:2929:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_getquota':
imap4r1.c:2951:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_getquotaroot':
imap4r1.c:2974:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
else mm_log (reply->text,ERROR);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
imap4r1.c: In function 'imap_send':
imap4r1.c:3011:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3011:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3012:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"STORE") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3012:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"STORE") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3013:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"SEARCH")) ?
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3013:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (cmd,"SEARCH")) ?
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:3183:42: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!map->date || mail_parse_date (&elt,map->date)) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
imap4r1.c: In function 'imap_send_qstring':
imap4r1.c:3256:8: warning: unused variable 'c' [-Wunused-variable]
char c;
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_send_literal':
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3335:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strcmp (reply->tag,"+")) {/* prompt for more data? */
^
imap4r1.c:3335:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c: In function 'imap_reply':
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->tag,"+")) return reply;
^
imap4r1.c:3692:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3694:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->tag,"*")) {
^
imap4r1.c:3694:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3699:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (tag && !compare_cstring (tag,reply->tag)) return reply;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_reply':
imap4r1.c:3725:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.line = text)) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3731:31: note: in expansion of macro 'LOCAL'
if (stream->debug) mm_dlog (LOCAL->reply.line);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_dlog (char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3732:38: note: in expansion of macro 'LOCAL'
if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3732:38: note: in expansion of macro 'LOCAL'
if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:3732:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3738:15: note: in expansion of macro 'LOCAL'
if (strcmp (LOCAL->reply.tag,"+")) {
^
imap4r1.c:3740:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) {
^
imap4r1.c:3750:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r)))
^
imap4r1.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((IMAPLOCAL *) stream->local)
^
imap4r1.c:3751:54: note: in expansion of macro 'LOCAL'
LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key);
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imap4r1.c:3754:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */
^
imap4r1.c:3755:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r)))
^
imap4r1.c:3756:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.text = "";
^
imap4r1.c: In function 'imap_fake':
imap4r1.c:3776:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*");
^
imap4r1.c:3777:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.key = "NO";
^
imap4r1.c:3778:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->reply.text = text;
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c: In function 'imap_OK':
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3793:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"OK")) {
^
imap4r1.c:3793:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3794:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,NIL,NIL);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3798:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:3798:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3799:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,WARN,NIL);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3801:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (reply->key,"BAD")) {
^
imap4r1.c:3801:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3802:35: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,ERROR,NIL);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
imap4r1.c: In function 'imap_parse_unsolicited':
imap4r1.c:3826:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
msgno = strtoul (reply->key,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3840:26: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
s = ucase (strtok_r (reply->text," ",&r));
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:3840:26: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
s = ucase (strtok_r (reply->text," ",&r));
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:3840:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
s = ucase (strtok_r (reply->text," ",&r));
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:3842:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = strtok_r (NIL,"\n",&r);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3845:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
^
imap4r1.c:3845:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3847:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
^
imap4r1.c:3847:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3849:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
^
imap4r1.c:3849:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3857:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
^
imap4r1.c:3857:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3868:32: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
while (prop = (strtok_r (t," )",&r))) {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:3868:32: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
while (prop = (strtok_r (t," )",&r))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:3869:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = strtok_r (NIL,"\n",&r);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3873:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
^
imap4r1.c:3873:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3881:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000");
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
imap4r1.c:3887:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:3928:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strchr (md.what,']'))) {
^
imap4r1.c:3930:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
imap4r1.c:3932:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3932:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (strncmp (s,"HEADER.FIELDS",13) &&
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3933:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!s[13] || strcmp (s+13,".NOT")))
^
imap4r1.c:3933:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3943:29: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (t = strchr (s = t,' ')) *t++ = '\0';
^
imap4r1.c:3943:29: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:3943:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (t = strchr (s = t,' ')) *t++ = '\0';
^
imap4r1.c:3948:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
md.first = strtoul (s+1,(char **) &s,10) + 1;
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:3991:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
elt->rfc822_size = strtoul (t,(char **) &t,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4022:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (s,"COPY")) {
^
imap4r1.c:4022:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4029:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"FLAGS") && reply->text &&
^
imap4r1.c:4029:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4031:20: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
(s = strtok_r (reply->text+1," )",&r)))
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4031:20: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
(s = strtok_r (reply->text+1," )",&r)))
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4031:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(s = strtok_r (reply->text+1," )",&r)))
^
imap4r1.c:4034:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
compare_cstring (s,stream->user_flags[i]); i++);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4040:74: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imap4r1.c:4042:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (s = strtok_r (NIL," )",&r));
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4043:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SEARCH")) {
^
imap4r1.c:4043:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4045:39: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) do
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4045:39: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) do
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4045:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) do
^
imap4r1.c:4046:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (i = strtoul (t,NIL,10)) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:4055:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while (t = strtok_r (NIL," ",&r));
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4057:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"SORT")) {
^
imap4r1.c:4057:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4065:39: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4065:39: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4065:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (reply->text && (t = strtok_r (reply->text," ",&r))) {
^
imap4r1.c:4066:25: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign]
do if ((i = atol (t)) && (LOCAL->filter ?
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/stdlib.h:283:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__NTH (atol (const char *__nptr))
^
imap4r1.c:4069:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs));
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4075:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"THREAD")) {
^
imap4r1.c:4075:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4090:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"STATUS") && reply->text) {
^
imap4r1.c:4090:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4094:53: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) &&
^
imap4r1.c:4094:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4094:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) &&
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4100:35: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
while (*txt && (s = strchr (txt,' '))) {
^
imap4r1.c:4100:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4100:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (*txt && (s = strchr (txt,' '))) {
^
imap4r1.c:4103:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
i = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:4104:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (txt,"MESSAGES")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4108:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"RECENT")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4112:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"UNSEEN")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4116:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"UIDNEXT")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4120:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (txt,"UIDVALIDITY")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4129:53: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4137:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
^
imap4r1.c:4137:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4139:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(s = strchr (reply->text,')')) && (s[1] == ' ')) {
^
imap4r1.c:4139:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4139:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(s = strchr (reply->text,')')) && (s[1] == ' ')) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4143:23: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign]
if (t = strtok_r (reply->text+1," ",&r)) do {
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *'
__strtok_r_1c (char *__s, char __sep, char **__nextp)
^
imap4r1.c:4143:23: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign]
if (t = strtok_r (reply->text+1," ",&r)) do {
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:354:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *__strtok_r (char *__restrict __s,
^
imap4r1.c:4143:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strtok_r (reply->text+1," ",&r)) do {
^
imap4r1.c:4144:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4145:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4146:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4147:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4148:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4149:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4152:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (t = strtok_r (NIL," ",&r));
^
imap4r1.c:4166:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t);
^
imap4r1.c:4166:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imap4r1.c:4169:59: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign]
if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1617:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes);
^
imap4r1.c:4170:38: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign]
else mm_list (stream,delimiter,s,i);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4174:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NAMESPACE")) {
^
imap4r1.c:4174:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4197:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){
^
imap4r1.c:4197:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4202:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
mbox = imap_parse_astring (stream, &s, reply,NIL);
^
imap4r1.c:4208:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
al->entry = t;
^
imap4r1.c:4226:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
vlIter->attr = cpystr (strlist->text.data);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imap4r1.c:4230:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
vlIter->value = cpystr (strlist->text.data);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4241:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
^
imap4r1.c:4241:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4247:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) &&
^
imap4r1.c:4249:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ac->rights = imap_parse_astring (stream,&s,reply,NIL);
^
imap4r1.c:4258:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign]
else if (ar) (*ar) (stream,t,al);
^
imap4r1.c:4258:34: note: expected 'char *' but argument is of type 'unsigned char *'
imap4r1.c:4262:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign]
else if (ar) (*ar) (stream,t,NIL);
^
imap4r1.c:4262:32: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4266:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4266:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4270:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){
^
imap4r1.c:4272:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(r = imap_parse_astring (stream,&s,reply,NIL))) {
^
imap4r1.c:4286:31: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign]
else if (lr) (*lr) (stream,t,id,r,rl);
^
imap4r1.c:4286:31: note: expected 'char *' but argument is of type 'unsigned char *'
imap4r1.c:4291:29: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign]
else if (lr) (*lr) (stream,t,id,r,NIL);
^
imap4r1.c:4291:29: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4309:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
^
imap4r1.c:4309:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4313:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) {
^
imap4r1.c:4319:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign]
else if (mr) (*mr) (stream,t,r);
^
imap4r1.c:4319:34: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4331:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
^
imap4r1.c:4331:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4342:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s &&
^
imap4r1.c:4344:43: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4345:25: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (t = strchr (s,' ')) t = s;
^
imap4r1.c:4345:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4345:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (t = strchr (s,' ')) t = s;
^
imap4r1.c:4347:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:28: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4348:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4348:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (t = strpbrk (s," )")) t = s;
^
imap4r1.c:4353:30: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign]
if (qt) (*qt) (stream,t,ql);
^
imap4r1.c:4353:30: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4372:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
^
imap4r1.c:4372:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4387:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign]
else if (qr) (*qr) (stream,t,rl);
^
imap4r1.c:4387:34: note: expected 'char *' but argument is of type 'unsigned char *'
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4398:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
^
imap4r1.c:4398:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4399:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,NIL,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4400:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"NO"))
^
imap4r1.c:4400:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4401:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,WARN,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4402:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BAD"))
^
imap4r1.c:4402:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4403:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,ERROR,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4404:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"BYE")) {
^
imap4r1.c:4404:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4406:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign]
imap_parse_response (stream,reply->text,BYE,T);
^
imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4408:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
^
imap4r1.c:4408:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4409:37: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign]
imap_parse_capabilities (stream,reply->text);
^
imap4r1.c:268:6: note: expected 'char *' but argument is of type 'unsigned char *'
void imap_parse_capabilities (MAILSTREAM *stream,char *t);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from c-client.h:42,
from imap4r1.c:38:
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4410:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
^
imap4r1.c:4410:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imap4r1.c:4412:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN))
^
In file included from osdep.h:44:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imap4r1.c:4413:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text);
^
imap4r1.c:4413:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imap4r1.c:4415:25: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign]
mm_list (stream,NIL,t,NIL);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes);
^
imap4r1.c: In function 'imap_parse_response':
imap4r1.c:4448:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDVALIDITY") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4448:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDVALIDITY") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4457:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDNEXT"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4457:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDNEXT"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4459:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4467:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4467:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4468:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Deleted"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4468:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Deleted"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4470:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Flagged"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4470:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Flagged"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4472:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Answered"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4472:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Answered"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4474:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4474:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4482:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CAPABILITY"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4482:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CAPABILITY"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4485:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (t,"COPYUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4485:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (t,"COPYUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4491:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (j && !compare_cstring (t,"APPENDUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4491:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (j && !compare_cstring (t,"APPENDUID") &&
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4498:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"REFERRAL"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4498:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"REFERRAL"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4505:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDNOTSTICKY")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4505:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"UIDNOTSTICKY")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4509:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4509:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4510:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-WRITE"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4510:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"READ-WRITE"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4512:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PARSE") && !errflg)
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4512:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PARSE") && !errflg)
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_namespace':
imap4r1.c:4554:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL);
^
imap4r1.c:4579:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL,
^
imap4r1.c:4591:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,
^
In file included from imap4r1.c:35:0:
imap4r1.c: In function 'imap_parse_thread':
imap4r1.c:4664:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (isdigit (*(s = *txtptr)) &&
^
imap4r1.c:4666:12: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
strtoul (*txtptr,(char **) txtptr,10))) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c: In function 'imap_parse_envelope':
imap4r1.c:4750:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4757:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c:4759:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c: In function 'imap_parse_address':
imap4r1.c:4856:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4857:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4858:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:4859:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c: In function 'imap_parse_flags':
imap4r1.c:4956:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while (*(flag = ++*txtptr) == ' ');
^
imap4r1.c:4964:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,"\\Seen")) elt->seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4964:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,"\\Seen")) elt->seen = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4965:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4965:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4966:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4966:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4967:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Answered")) elt->answered = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4967:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Answered")) elt->answered = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4968:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Recent")) elt->recent = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4968:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Recent")) elt->recent = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4969:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Draft")) elt->draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4969:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (flag,"\\Draft")) elt->draft = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_user_flag':
imap4r1.c:4993:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:4993:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c: In function 'imap_parse_astring':
imap4r1.c:5026:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
ret = strncpy ((char *) fs_get (i + 1),s,i);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/ctype.h:25,
from imap4r1.c:35:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
imap4r1.c:5026:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
ret = strncpy ((char *) fs_get (i + 1),s,i);
^
imap4r1.c: In function 'imap_parse_string':
imap4r1.c:5067:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
st = ++*txtptr; /* remember start of string */
^
imap4r1.c:5116:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) {
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5147:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(reply->line = net_getline (LOCAL->netstream)))
^
imap4r1.c:5148:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
reply->line = cpystr ("");
^
imap4r1.c:5149:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign]
if (stream->debug) mm_dlog (reply->line);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_dlog (char *string);
^
imap4r1.c: In function 'imap_cache':
imap4r1.c:5217:39: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
if (!(b = mail_body (stream,msgno,seg))) {
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
imap4r1.c: In function 'imap_parse_body_structure':
imap4r1.c:5294:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT))
^
imap4r1.c:5295:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (body->subtype);
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5313:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:5334:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) {
^
imap4r1.c:5335:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* application always gets uppercase form */
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5344:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT))
^
imap4r1.c:5345:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (body->subtype); /* parse subtype */
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5352:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:5353:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c:5355:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) {
^
imap4r1.c:5356:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* application always gets uppercase form */
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
imap4r1.c:5369:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
body->size.bytes = strtoul (*txtptr,(char **) txtptr,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5389:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
body->size.lines = strtoul (*txtptr,(char **) txtptr,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5396:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c:5409:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
^
imap4r1.c: In function 'imap_parse_body_parameter':
imap4r1.c:5457:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c:5463:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){
^
imap4r1.c:5485:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
((*(s = *txtptr) == 'I') || (*s == 'i')) &&
^
imap4r1.c: In function 'imap_parse_disposition':
imap4r1.c:5509:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL,
^
imap4r1.c: In function 'imap_parse_language':
imap4r1.c:5552:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) {
^
imap4r1.c: In function 'imap_parse_extension':
imap4r1.c:5620:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (i = strtoul (*txtptr,(char **) txtptr,10)) do
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c:5625:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(reply->line = net_getline (LOCAL->netstream)))
^
imap4r1.c:5626:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
reply->line = cpystr ("");
^
imap4r1.c:5627:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign]
if (stream->debug) mm_dlog (reply->line);
^
In file included from c-client.h:41:0,
from imap4r1.c:38:
mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_dlog (char *string);
^
imap4r1.c:5632:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
strtoul (*txtptr,(char **) txtptr,10);
^
In file included from osdep.h:43:0,
from c-client.h:42,
from imap4r1.c:38:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imap4r1.c: In function 'imap_parse_capabilities':
imap4r1.c:5666:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"IMAP4"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5666:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"IMAP4"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5668:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP4rev1"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5668:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP4rev1"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5670:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5670:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5671:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2bis"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5671:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IMAP2bis"))
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5673:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5673:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5674:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5674:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5675:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5675:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5676:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5676:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5677:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5677:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5678:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5678:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5679:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5679:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5680:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5680:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5681:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5681:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5682:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5682:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5683:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5683:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5684:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5684:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5685:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5685:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5686:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5686:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5687:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5687:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5688:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5688:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5689:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5689:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5690:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5690:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5691:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5691:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5692:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5692:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5693:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5693:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5701:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"THREAD") && !LOCAL->loser) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5701:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"THREAD") && !LOCAL->loser) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5708:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTH")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5708:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"AUTH")) {
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5711:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5711:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T;
^
In file included from c-client.h:48:0,
from imap4r1.c:38:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imap4r1.c:5696:10: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
((t[2] == 'R') || (t[2] == 'r')) &&
^
`cat CCTYPE` -c `cat CFLAGS` pop3.c
pop3.c: In function 'pop3_valid':
pop3.c:180:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:180:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c: In function 'pop3_scan':
pop3.c:232:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(pop3_valid (ref) && pmatch ("INBOX",pat)) :
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:232:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(pop3_valid (ref) && pmatch ("INBOX",pat)) :
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:233:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:233:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
(mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c: In function 'pop3_list':
pop3.c:248:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pop3_valid (ref) && pmatch ("INBOX",pat)) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:248:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pop3_valid (ref) && pmatch ("INBOX",pat)) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:253:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) {
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:253:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) {
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c: In function 'pop3_lsub':
pop3.c:279:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx))
^
misc.h:82:16: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
In file included from c-client.h:48:0,
from pop3.c:33:
pop3.c:279:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx))
^
misc.h:82:18: note: in definition of macro 'pmatch'
pmatch_full (s,pat,NIL)
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from c-client.h:42,
from pop3.c:33:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
pop3.c: In function 'pop3_capa':
pop3.c:500:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:500:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:501:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:501:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:502:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:502:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:503:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:503:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:504:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:504:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T;
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"IMPLEMENTATION") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"IMPLEMENTATION") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"EXPIRE") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
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]
else if (!compare_cstring (t,"EXPIRE") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:516:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (args,"NEVER")) ? 65535 :
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:516:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (args,"NEVER")) ? 65535 :
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:517:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args));
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:517:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args));
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:519:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-DELAY") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:519:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"LOGIN-DELAY") && args) {
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:527:54: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ?
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:527:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ?
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:530:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c:530:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (t,"SASL") && args)
^
In file included from c-client.h:48:0,
from pop3.c:33:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
pop3.c: In function 'pop3_fetchfast':
pop3.c:784:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c:785:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c: In function 'pop3_expunge':
pop3.c:948:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c:949:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) :
^
In file included from c-client.h:41:0,
from pop3.c:33:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
pop3.c: In function 'pop3_header':
pop3.c:848:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (elt->private.msg.header.text.data = (unsigned char *)
^
`cat CCTYPE` -c `cat CFLAGS` unix.c
unix.c: In function 'unix_valid':
unix.c:231:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
unix.c: In function 'unix_open':
unix.c:468:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:468:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:480:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
unix.c:530:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
flock (LOCAL->ld,LOCK_UN); /* release the lock */
^
unix.c: In function 'unix_header':
unix.c:626:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
unix.c:640:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:653:26: note: in expansion of macro 'LOCAL'
*length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT);
^
In file included from unix.c:45:0:
mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines,
^
unix.c: In function 'unix_text_work':
unix.c:703:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
unix.c:731:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = tmp; /* initial buffer chunk */
^
unix.c:734:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) {
^
unix.c: In function 'unix_ping':
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:787:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:789:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_expunge':
unix.c:846:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from unix.c:45:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:847:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from unix.c:45:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable]
MESSAGECACHE *elt = mail_elt (stream,i);
^
unix.c:860:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i);
^
unix.c: In function 'unix_copy':
unix.c:902:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from unix.c:45:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:903:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from unix.c:45:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
unix.c:909:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:909:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:916:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:917:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:921:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:922:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:926:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:927:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:936:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:938:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:947:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:948:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);/* log the error */
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:957:21: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from unix.c:46:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:965:27: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) :
^
unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:966:27: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL);
^
unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:967:18: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from unix.c:46:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:981:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:1007:21: note: in expansion of macro 'LOCAL'
if (!ret) MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_append':
unix.c:1051:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1051:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1093:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from unix.c:45:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable]
unsigned long uidlocation = 0;
^
unix.c: In function 'unix_collect_msg':
unix.c:1196:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((s = stream->user_flags[find_rightmost_bit (&uf)]) &&
^
unix.c: In function 'unix_parse':
unix.c:1462:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__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]
MM_LOG (tmp,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1472:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1474:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR); /* this is pretty bad */
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1486:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
unix.c:1495:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = unix_mbxline (stream,&bs,&i);
^
unix.c:1499:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1501:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1550:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unable to parse internal date: %s",(char *) date);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1551:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1555:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = t = unix_mbxline (stream,&bs,&i);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from unix.c:46:
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:24: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1572:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
unix.c:1572:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
In file included from osdep.h:44:0,
from unix.c:46:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
unix.c:1578:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if (!compare_csizedtext (stream->user_flags[j],&uf)) {
^
In file included from unix.c:52:0:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from unix.c:46:
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1626:22: note: expected 'const char *' but argument is of type 'unsigned char *'
unix.c:1626:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
unix.c:1633:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (stream->user_flags[j],s,k);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
unix.c:1661:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu already has UID %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1666:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu less than %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:1686:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:1742:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (tmp,"STATUS") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1743:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-STATUS") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1744:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-KEYWORDS") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1745:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-UID") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1746:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAP") ||
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1747:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAPBASE")) {
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:1770:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (u = strpbrk (err,"\r\n")) *u = '\0';
^
unix.c:1796:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = unix_mbxline (stream,&bs,&i);
^
unix.c: In function 'unix_rewrite':
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2082:60: note: in expansion of macro 'LOCAL'
unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0;
^
unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2090:23: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) +
^
unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2098:32: note: in expansion of macro 'LOCAL'
size = unix_pseudo (stream,LOCAL->buf);
^
unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2118:53: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf));
^
unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2118:22: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf));
^
unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *'
void unix_write (UNIXFILE *f,char *s,unsigned long i);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2135:29: note: in expansion of macro 'LOCAL'
unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) {
^
unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2149:19: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,elt->private.special.text.size);
^
unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *'
void unix_write (UNIXFILE *f,char *s,unsigned long i);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2170:34: note: in expansion of macro 'LOCAL'
j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag));
^
unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2169:19: note: in expansion of macro 'LOCAL'
unix_write (&f,LOCAL->buf,
^
unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *'
void unix_write (UNIXFILE *f,char *s,unsigned long i);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2255:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2256:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_extend':
unix.c:2277:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1);
^
unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2282:29: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break;
^
In file included from osdep.h:63:0,
from unix.c:46:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2288:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2289:33: note: in expansion of macro 'LOCAL'
if (!stream->silent) MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'mbox_valid':
unix.c:2461:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) &&
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:2461:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) &&
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c: In function 'mbox_create':
unix.c:2476:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c:2476:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox");
^
In file included from unix.c:52:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
unix.c: In function 'mbox_ping':
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2604:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2606:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2618:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2619:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2625:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2627:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2643:15: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from unix.c:40:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((UNIXLOCAL *) stream->local)
^
unix.c:2648:19: note: in expansion of macro 'LOCAL'
else MM_LOG (LOCAL->buf,WARN);
^
In file included from unix.c:45:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
unix.c: In function 'unix_open':
unix.c:519:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,i); /* make sure tied off */
^
unix.c: In function 'unix_header':
unix.c:630:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size);
^
unix.c:640:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
unix.c: In function 'unix_text_work':
unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size);
^
unix.c: In function 'unix_copy':
unix.c:956:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
unix.c:982:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
unix.c: In function 'unix_append':
unix.c:1152:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
unix.c: In function 'unix_rewrite':
unix.c:2139:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
unix.c:2239:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize = size);
^
unix.c: In function 'unix_extend':
unix.c:2285:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
unix.c: In function 'mbox_ping':
unix.c:2611:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (sfd,s = (char *) fs_get (size + 1),size);
^
unix.c:2621:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
unix.c:2629:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
unix.c:2640:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (sfd,0); /* truncate sysinbox to zero bytes */
^
`cat CCTYPE` -c `cat CFLAGS` mbx.c
mbx.c: In function 'mbx_isvalid':
mbx.c:233:8: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (flock (fd,LOCK_SH) ||
^
mbx.c:303:7: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (tmp,tp); /* set the times */
^
mbx.c:307:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX"))
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:307:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX"))
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c: In function 'mbx_rename':
mbx.c:506:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:506:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c: In function 'mbx_open':
mbx.c:587:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mbx.c:590:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:590:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c: In function 'mbx_flags':
mbx.c:677:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mbx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:678:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mbx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c: In function 'mbx_header':
mbx.c:706:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1);
^
mbx.c:709:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = LOCAL->buf,*length);
^
mbx.c: In function 'mbx_text':
mbx.c:746:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mbx.c: In function 'mbx_ping':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:856:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:857:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c: In function 'mbx_expunge':
mbx.c:889:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mbx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:890:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) {
^
In file included from mbx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:896:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",nexp);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:897:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:900:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:901:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c: In function 'mbx_snarf':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:940:15: note: in expansion of macro 'LOCAL'
mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
^
In file included from mbx.c:41:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:941:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:941:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:947:45: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:947:26: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:963:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:964:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c: In function 'mbx_copy':
mbx.c:999:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mbx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:1000:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from mbx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1009:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1010:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1014:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1015:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1019:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1020:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1032:17: note: in expansion of macro 'LOCAL'
mail_date(LOCAL->buf,elt);/* build target header */
^
In file included from mbx.c:41:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
mbx.c:1037:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,t) && (k |= 1 << m)) break;
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:1037:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,t) && (k |= 1 << m)) break;
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1038:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012",
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1038:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1044:47: note: in expansion of macro 'LOCAL'
if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) {
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1044:28: note: in expansion of macro 'LOCAL'
if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) {
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1047:20: note: in expansion of macro 'LOCAL'
ret = write (fd,LOCAL->buf,j) >= 0;
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1058:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1059:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mbx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1065:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%08lx",dstream->uid_last);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1066:15: note: in expansion of macro 'LOCAL'
write (fd,LOCAL->buf,8);
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_append':
mbx.c:1123:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:1123:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mbx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mbx.c:1165:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mbx.c:41:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mbx.c: In function 'mbx_parse':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1274:35: note: in expansion of macro 'LOCAL'
stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1277:16: note: in expansion of macro 'LOCAL'
i = strtoul (LOCAL->buf + 15,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:1281:41: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s);
^
mbx.c:1281:41: note: expected 'const char *' but argument is of type 'unsigned char *'
mbx.c:1281:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s);
^
mbx.c:1284:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG))
^
In file included from osdep.h:44:0,
from mbx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mbx.c:1285:39: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
stream->user_flags[i] = cpystr (s);
^
In file included from mbx.c:46:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1295:14: note: in expansion of macro 'LOCAL'
strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0;
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:83:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1312:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mbx.c:83:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1312:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mbx.c:1312:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:83:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1321:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:83:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1321:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:1321:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mbx.c:42:
mbx.c:1321:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:1321:57: note: expected 'const char *' but argument is of type 'unsigned char *'
mbx.c:1321:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mbx.c:1351:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) {
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:1369:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((m = strtoul (t+13,NIL,16)) &&
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:1385:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) {
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:1419:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
elt->user_flags = strtoul (t,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c: In function 'mbx_read_flags':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1501:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1503:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1510:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1511:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1515:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1518:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf+50);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1522:16: note: in expansion of macro 'LOCAL'
i = strtoul (LOCAL->buf+9,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1531:30: note: in expansion of macro 'LOCAL'
elt->user_flags = strtoul (LOCAL->buf+1,NIL,16);
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
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 differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1547:13: note: in expansion of macro 'LOCAL'
char *s = LOCAL->buf;
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1558:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1562:26: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET,
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_update_status':
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1585:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1587:14: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1594:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1595:14: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1599:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1602:14: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf+50);
^
In file included from osdep.h:65:0,
from mbx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1607:31: note: in expansion of macro 'LOCAL'
fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) +
^
In file included from osdep.h:43:0,
from mbx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1605:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mbx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1615:28: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,21) > 0) break;
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_hdrpos':
mbx.c:1663:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (hdr) *hdr = LOCAL->buf;
^
mbx.c:1670:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (hdr) *hdr = LOCAL->buf;
^
mbx.c:1680:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (hdr) *hdr = LOCAL->buf; /* possibly return header too */
^
mbx.c: In function 'mbx_rewrite':
mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MBXLOCAL *) stream->local)
^
mbx.c:1761:29: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
^
In file included from osdep.h:63:0,
from mbx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mbx.c: In function 'mbx_header':
mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = LOCAL->buf,*length);
^
mbx.c: In function 'mbx_snarf':
mbx.c:965:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,sbuf.st_size);
^
mbx.c: In function 'mbx_copy':
mbx.c:1046:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,j);
^
mbx.c:1060:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mbx.c: In function 'mbx_append':
mbx.c:1195:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mbx.c: In function 'mbx_parse':
mbx.c:1269:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,HDRSIZE);
^
mbx.c: In function 'mbx_rewrite':
mbx.c:1757:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,m);
^
mbx.c:1781:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
`cat CCTYPE` -c `cat CFLAGS` mmdf.c
mmdf.c: In function 'mmdf_isvalid':
mmdf.c:382:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mmdf.c: In function 'mmdf_open':
mmdf.c:607:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:607:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:619:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mmdf.c:669:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
flock (LOCAL->ld,LOCK_UN); /* release the lock */
^
mmdf.c: In function 'mmdf_header':
mmdf.c:765:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
mmdf.c:779:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:792:26: note: in expansion of macro 'LOCAL'
*length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT);
^
In file included from mmdf.c:33:0:
mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines,
^
mmdf.c: In function 'mmdf_text_work':
mmdf.c:842:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
^
mmdf.c:870:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = tmp; /* initial buffer chunk */
^
mmdf.c:873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) {
^
mmdf.c: In function 'mmdf_ping':
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:926:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:928:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_expunge':
mmdf.c:985:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mmdf.c:33:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:986:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from mmdf.c:33:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable]
MESSAGECACHE *elt = mail_elt (stream,i);
^
mmdf.c:999:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i);
^
mmdf.c: In function 'mmdf_copy':
mmdf.c:1038:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mmdf.c:33:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:1039:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from mmdf.c:33:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mmdf.c:1044:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1044:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1051:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1052:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1056:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1057:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1061:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1062:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1071:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1073:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1082:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1083:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR); /* log the error */
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1092:21: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from mmdf.c:34:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1100:27: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) :
^
mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1101:27: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL);
^
mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1102:18: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from mmdf.c:34:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1117:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:1143:21: note: in expansion of macro 'LOCAL'
if (!ret) MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_append':
mmdf.c:1188:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1188:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (mailbox,"INBOX")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1230:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mmdf.c:33:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable]
unsigned long uidlocation = 0;
^
mmdf.c: In function 'mmdf_collect_msg':
mmdf.c:1332:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((s = stream->user_flags[find_rightmost_bit (&uf)]) &&
^
mmdf.c: In function 'mmdf_parse':
mmdf.c:1591:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1592:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1601:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1603:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR); /* this is pretty bad */
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1615:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mmdf.c:1624:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1628:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1634:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1639:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1656:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1692:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Unable to parse internal date: %s",(char *) date);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1693:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1710:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t) s = t = mmdf_mbxline (stream,&bs,&i);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mmdf.c:34:
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:24: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1736:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
mmdf.c:1736:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
^
In file included from osdep.h:44:0,
from mmdf.c:34:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mmdf.c:1742:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign]
if (!compare_csizedtext (stream->user_flags[j],&uf)) {
^
In file included from mmdf.c:39:0:
misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mmdf.c:34:
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1790:22: note: expected 'const char *' but argument is of type 'unsigned char *'
mmdf.c:1790:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
u = strpbrk (s," \n\r");
^
mmdf.c:1797:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (stream->user_flags[j],s,k);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
mmdf.c:1825:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu already has UID %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1830:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"Message %lu UID %lu less than %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:1850:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
MM_LOG (tmp,WARN);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c:1906:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (tmp,"STATUS") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1907:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-STATUS") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1908:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-KEYWORDS") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1909:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-UID") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1910:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAP") ||
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1911:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (tmp,"X-IMAPBASE")) {
^
In file included from mmdf.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mmdf.c:1934:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (u = strpbrk (err,"\r\n")) *u = '\0';
^
mmdf.c:1958:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c:1983:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = mmdf_mbxline (stream,&bs,&i);
^
mmdf.c: In function 'mmdf_rewrite':
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2245:60: note: in expansion of macro 'LOCAL'
unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0;
^
mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2253:23: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) +
^
mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2261:32: note: in expansion of macro 'LOCAL'
size = mmdf_pseudo (stream,LOCAL->buf);
^
mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2281:53: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf));
^
mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2281:22: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf));
^
mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2298:29: note: in expansion of macro 'LOCAL'
mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) {
^
mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2312:19: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,elt->private.special.text.size);
^
mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2333:34: note: in expansion of macro 'LOCAL'
j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag));
^
mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *'
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2332:19: note: in expansion of macro 'LOCAL'
mmdf_write (&f,LOCAL->buf,
^
mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2401:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2402:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_extend':
mmdf.c:2423:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1);
^
mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2428:29: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break;
^
In file included from osdep.h:63:0,
from mmdf.c:34:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2434:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mmdf.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MMDFLOCAL *) stream->local)
^
mmdf.c:2435:33: note: in expansion of macro 'LOCAL'
if (!stream->silent) MM_LOG (LOCAL->buf,ERROR);
^
In file included from mmdf.c:33:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mmdf.c: In function 'mmdf_open':
mmdf.c:658:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,i); /* make sure tied off */
^
mmdf.c: In function 'mmdf_header':
mmdf.c:769:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size);
^
mmdf.c:779:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
^
mmdf.c: In function 'mmdf_text_work':
mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size);
^
mmdf.c: In function 'mmdf_copy':
mmdf.c:1091:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
mmdf.c:1118:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mmdf.c: In function 'mmdf_append':
mmdf.c:1288:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mmdf.c: In function 'mmdf_rewrite':
mmdf.c:2302:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size);
^
mmdf.c:2385:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize = size);
^
mmdf.c: In function 'mmdf_extend':
mmdf.c:2431:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
`cat CCTYPE` -c `cat CFLAGS` tenex.c
tenex.c: In function 'tenex_isvalid':
tenex.c:206:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
tenex.c:211:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:211:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c: In function 'tenex_rename':
tenex.c:315:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (flock (fd,LOCK_EX|LOCK_NB)) {
^
tenex.c:350:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:350:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c: In function 'tenex_open':
tenex.c:427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
tenex.c:433:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:433:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c: In function 'tenex_fast':
tenex.c:500:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:501:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:511:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1);
^
tenex.c: In function 'tenex_flags':
tenex.c:538:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:539:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c: In function 'tenex_header':
tenex.c:564:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1);
^
tenex.c:574:54: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign]
*length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i);
^
In file included from osdep.h:66:0,
from tenex.c:47:
nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl,
^
tenex.c: In function 'tenex_text':
tenex.c:609:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1);
^
tenex.c:632:50: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign]
strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i);
^
In file included from osdep.h:66:0,
from tenex.c:47:
nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl,
^
tenex.c: In function 'tenex_snarf':
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:774:15: note: in expansion of macro 'LOCAL'
mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
^
In file included from tenex.c:46:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:775:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from osdep.h:44:0,
from tenex.c:47:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:775:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:781:45: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:44:0,
from tenex.c:47:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:781:26: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:797:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:798:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c: In function 'tenex_expunge':
tenex.c:833:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:834:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:895:29: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:911:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:914:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:918:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:920:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c: In function 'tenex_copy':
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:961:31: note: in expansion of macro 'LOCAL'
if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) {
^
tenex.c:176:5: note: expected 'char *' but argument is of type 'unsigned char *'
int tenex_isvalid (char *name,char *tmp)
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:968:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:969:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:973:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:974:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:978:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:979:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:982:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from tenex.c:46:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:983:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from tenex.c:46:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:986:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:987:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1009:16: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1014:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1015:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from tenex.c:46:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
tenex.c: In function 'tenex_append':
tenex.c:1072:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:1072:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt");
^
In file included from tenex.c:49:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tenex.c:1122:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from tenex.c:46:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from tenex.c:47:
tenex.c: In function 'tenex_parse':
tenex.c:70:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1244:23: note: in expansion of macro 'LOCAL'
if (!(s = strchr (LOCAL->buf,'\012'))) {
^
tenex.c:70:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1244:23: note: in expansion of macro 'LOCAL'
if (!(s = strchr (LOCAL->buf,'\012'))) {
^
tenex.c:1244:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strchr (LOCAL->buf,'\012'))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from tenex.c:47:
tenex.c:70:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1253:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:70:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1253:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:1253:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from tenex.c:47:
tenex.c:1253:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:1253:57: note: expected 'const char *' but argument is of type 'unsigned char *'
tenex.c:1253:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
tenex.c:1276:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) &&
^
In file included from osdep.h:43:0,
from tenex.c:47:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
tenex.c:1300:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
j = strtoul (t,NIL,8); /* get user flags value */
^
In file included from osdep.h:43:0,
from tenex.c:47:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
tenex.c: In function 'tenex_read_flags':
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1378:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1379:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from tenex.c:47:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1387:15: note: in expansion of macro 'LOCAL'
j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */
^
In file included from osdep.h:43:0,
from tenex.c:47:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
tenex.c: In function 'tenex_update_status':
tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1413:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from tenex.c:42:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((TENEXLOCAL *) stream->local)
^
tenex.c:1421:22: note: in expansion of macro 'LOCAL'
write (LOCAL->fd,LOCAL->buf,12);
^
In file included from osdep.h:63:0,
from tenex.c:47:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
tenex.c: In function 'tenex_hdrpos':
tenex.c:1456:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN));
^
tenex.c: In function 'tenex_fast':
tenex.c:516:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size);
^
tenex.c: In function 'tenex_header':
tenex.c:567:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,*length = i);
^
tenex.c:572:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s,i); /* slurp the data */
^
tenex.c: In function 'tenex_text':
tenex.c:614:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,i);
^
tenex.c:629:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s,i); /* slurp the data */
^
tenex.c: In function 'tenex_snarf':
tenex.c:799:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,sbuf.st_size);
^
tenex.c: In function 'tenex_expunge':
tenex.c:890:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,m);
^
tenex.c:917:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
tenex.c: In function 'tenex_copy':
tenex.c:1008:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,j);
^
tenex.c:1016:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
tenex.c: In function 'tenex_append':
tenex.c:1150:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);/* revert file */
^
tenex.c: In function 'tenex_hdrpos':
tenex.c:1456:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:199:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mtx.c:204:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:204:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c: In function 'mtx_rename':
mtx.c:308:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
if (flock (fd,LOCK_EX|LOCK_NB)) {
^
mtx.c:343:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:343:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c: In function 'mtx_open':
mtx.c:421:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mtx.c:424:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:424:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c: In function 'mtx_flags':
mtx.c:487:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mtx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:488:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mtx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c: In function 'mtx_header':
mtx.c:511:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1);
^
mtx.c: In function 'mtx_text':
mtx.c:546:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mtx.c: In function 'mtx_snarf':
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:685:15: note: in expansion of macro 'LOCAL'
mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
^
In file included from mtx.c:41:0:
mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_date (char *string,MESSAGECACHE *elt);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:686:34: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from osdep.h:44:0,
from mtx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:686:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:692:45: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:44:0,
from mtx.c:42:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:692:26: note: in expansion of macro 'LOCAL'
if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:708:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:709:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c: In function 'mtx_expunge':
mtx.c:744:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mtx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:745:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from mtx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:806:29: note: in expansion of macro 'LOCAL'
if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:821:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:824:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:828:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:830:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c: In function 'mtx_copy':
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:871:29: note: in expansion of macro 'LOCAL'
if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) {
^
mtx.c:169:5: note: expected 'char *' but argument is of type 'unsigned char *'
int mtx_isvalid (char *name,char *tmp)
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:878:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:879:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:883:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:884:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:888:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:889:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:892:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mtx.c:41:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:893:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) return NIL;
^
In file included from mtx.c:41:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:896:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:897:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:919:16: note: in expansion of macro 'LOCAL'
if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:924:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:925:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mtx.c:41:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mtx.c: In function 'mtx_append':
mtx.c:982:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:982:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX");
^
In file included from mtx.c:46:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mtx.c:1032:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mtx.c:41:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mtx.c:42:
mtx.c: In function 'mtx_parse':
mtx.c:66:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1132:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mtx.c:66:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1132:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
mtx.c:1132:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mtx.c:42:
mtx.c:66:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1141:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:66:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1141:24: note: in expansion of macro 'LOCAL'
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:1141:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mtx.c:42:
mtx.c:1141:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:1141:57: note: expected 'const char *' but argument is of type 'unsigned char *'
mtx.c:1141:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
^
mtx.c:1164:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) &&
^
In file included from osdep.h:43:0,
from mtx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mtx.c:1188:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
j = strtoul (t,NIL,8); /* get user flags value */
^
In file included from osdep.h:43:0,
from mtx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mtx.c: In function 'mtx_read_flags':
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1266:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1267:12: note: in expansion of macro 'LOCAL'
fatal (LOCAL->buf);
^
In file included from osdep.h:65:0,
from mtx.c:42:
ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fatal (char *string);
^
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1275:15: note: in expansion of macro 'LOCAL'
j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */
^
In file included from osdep.h:43:0,
from mtx.c:42:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
mtx.c: In function 'mtx_update_status':
mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1301:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtx.c:37:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MTXLOCAL *) stream->local)
^
mtx.c:1309:22: note: in expansion of macro 'LOCAL'
write (LOCAL->fd,LOCAL->buf,12);
^
In file included from osdep.h:63:0,
from mtx.c:42:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mtx.c: In function 'mtx_header':
mtx.c:515:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,*length);
^
mtx.c: In function 'mtx_snarf':
mtx.c:710:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,sbuf.st_size);
^
mtx.c: In function 'mtx_expunge':
mtx.c:801:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,m);
^
mtx.c:827:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,LOCAL->filesize);
^
mtx.c: In function 'mtx_copy':
mtx.c:918:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,LOCAL->buf,j);
^
mtx.c:926:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);
^
mtx.c: In function 'mtx_append':
mtx.c:1053:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,sbuf.st_size);/* revert file */
^
`cat CCTYPE` -c `cat CFLAGS` news.c
news.c: In function 'news_list':
news.c:237:24: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c:237:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c:240:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c:240:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pattern,'.'))
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from news.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
news.c: In function 'news_canonicalize':
news.c:286:34: warning: value computed is not used [-Wunused-value]
for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i;
^
news.c: In function 'news_open':
news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
^
In file included from osdep.h:47:0,
from news.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
^
In file included from osdep.h:47:0,
from news.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
news.c: In function 'news_fast':
news.c:456:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from news.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c:457:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from news.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c: In function 'news_flags':
news.c:474:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from news.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c:474:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
^
In file included from news.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
news.c: In function 'news_load_message':
news.c:61:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((NEWSLOCAL *) stream->local)
^
news.c:495:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from news.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
news.c:61:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((NEWSLOCAL *) stream->local)
^
news.c:500:20: note: in expansion of macro 'LOCAL'
((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) {
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from news.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
news.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
news.c: In function 'news_valid':
news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size);
^
news.c: In function 'news_list':
news.c:228:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:305:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->env->date = cpystr (tmp);
^
phile.c:327:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign]
buf->size = strcrlfcpy (&buf->data,&m,s,buf->size);
^
In file included from osdep.h:66:0,
from phile.c:36:
nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl,
^
phile.c:317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:193:44: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:193:49: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:194:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (name,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:194:30: note: in expansion of macro 'MHINBOX'
!compare_cstring (name,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:198:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
ret = (synonly && compare_cstring (name,"INBOX")) ?
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:198:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
ret = (synonly && compare_cstring (name,"INBOX")) ?
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_path':
mh.c:259:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"Path:")) {
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:259:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"Path:")) {
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_scan':
mh.c:377:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (test,MHINBOX))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:377:32: note: in expansion of macro 'MHINBOX'
if (!compare_cstring (test,MHINBOX))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_lsub':
mh.c:406:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:406:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c: In function 'mh_list_work':
mh.c:438:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:438:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign]
if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL);
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *'
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:440:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (name,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c:440:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign]
if (dmatch (name,pat,'/') &&
^
In file included from env_unix.h:61:0,
from osdep.h:63,
from mh.c:35:
env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *'
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
^
mh.c: In function 'mh_open':
mh.c:590:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
(!compare_cstring (stream->mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:590:40: note: in expansion of macro 'MHINBOX'
(!compare_cstring (stream->mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:595:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (stream->mailbox,"INBOX")) ? T : NIL;
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:595:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (stream->mailbox,"INBOX")) ? T : NIL;
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_fast':
mh.c:641:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mh.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:642:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mh.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c: In function 'mh_load_message':
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:665:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:670:20: note: in expansion of macro 'LOCAL'
((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) {
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mh.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mh.c:674:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mh.c: In function 'mh_ping':
mh.c:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type
long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type
long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:902:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:905:19: note: in expansion of macro 'LOCAL'
if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL,
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mh.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:929:16: note: in expansion of macro 'LOCAL'
mh_setdate (LOCAL->buf,elt);
^
mh.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mh_setdate (char *file,MESSAGECACHE *elt);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:937:14: note: in expansion of macro 'LOCAL'
unlink (LOCAL->buf);/* flush this file */
^
In file included from osdep.h:45:0,
from mh.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mh.c:940:6: warning: too many arguments for format [-Wformat-extra-args]
s,strerror (errno));
^
mh.c: In function 'mh_expunge':
mh.c:984:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mh.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:985:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) {
^
In file included from mh.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:990:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:991:14: note: in expansion of macro 'LOCAL'
if (unlink (LOCAL->buf)) {/* try to delete the message */
^
In file included from osdep.h:45:0,
from mh.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:992:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:994:12: note: in expansion of macro 'LOCAL'
mm_log (LOCAL->buf,(long) NIL);
^
In file included from mh.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1012:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1013:15: note: in expansion of macro 'LOCAL'
mm_log (LOCAL->buf,(long) NIL);
^
In file included from mh.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mh.c: In function 'mh_copy':
mh.c:1044:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mh.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:1045:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))
^
In file included from mh.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1048:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mh.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mh.c:72:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MHLOCAL *) stream->local)
^
mh.c:1049:18: note: in expansion of macro 'LOCAL'
if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL;
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mh.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mh.c:1061:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mh.c: In function 'mh_append':
mh.c:1109:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!((!compare_cstring (mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:1109:38: note: in expansion of macro 'MHINBOX'
if (!((!compare_cstring (mailbox,MHINBOX) ||
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1110:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mailbox,"INBOX")) &&
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1110:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (mailbox,"INBOX")) &&
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) {
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) {
^
In file included from osdep.h:47:0,
from mh.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mh.c:1149:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
if (!mail_parse_date (&elt,date)) {
^
In file included from mh.c:34:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable]
long i,size,last,nfiles;
^
mh.c: In function 'mh_file':
mh.c:1231:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:46:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
#define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */
^
mh.c:1231:30: note: in expansion of macro 'MHINBOX'
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1231:60: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c:1231:65: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
^
In file included from mh.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mh.c: In function 'mh_canonicalize':
mh.c:1264:34: warning: value computed is not used [-Wunused-value]
for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i;
^
mh.c: In function 'mh_setdate':
mh.c:1282:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mh.c: In function 'mh_path':
mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
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:186:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) errno = NIL;
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:186:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (name,"INBOX")) errno = NIL;
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c: In function 'mx_scan_contents':
mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0)
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0)
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mx.c: In function 'mx_create':
mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable]
int fd;
^
mx.c: In function 'mx_rename':
mx.c:439:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:439:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type
for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type
for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mx.c: In function 'mx_open':
mx.c:518:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:518:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:524:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mx.c: In function 'mx_fast':
mx.c:573:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mx.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:574:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)))
^
In file included from mx.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c: In function 'mx_fast_work':
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:591:12: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:593:35: note: in expansion of macro 'LOCAL'
if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) {
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__NTH (stat (const char *__path, struct stat *__statbuf))
^
mx.c: In function 'mx_header':
mx.c:633:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1);
^
mx.c:62:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:648:43: note: in expansion of macro 'LOCAL'
cpytxt (&elt->private.msg.header.text,LOCAL->buf,i);
^
In file included from mx.c:39:0:
misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
^
mx.c:62:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:649:41: note: in expansion of macro 'LOCAL'
cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i);
^
In file included from mx.c:39:0:
misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
^
mx.c: In function 'mx_ping':
mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort);
^
In file included from osdep.h:47:0,
from mx.c:35:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:767:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:770:19: note: in expansion of macro 'LOCAL'
if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL,
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mx.c:35:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:794:16: note: in expansion of macro 'LOCAL'
mx_setdate (LOCAL->buf,elt);
^
mx.c:106:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mx_setdate (char *file,MESSAGECACHE *elt);
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:801:14: note: in expansion of macro 'LOCAL'
unlink (LOCAL->buf);/* flush this file */
^
In file included from osdep.h:45:0,
from mx.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mx.c:804:6: warning: too many arguments for format [-Wformat-extra-args]
s,strerror (errno));
^
mx.c: In function 'mx_expunge':
mx.c:848:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mx.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:849:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) : LONGT) &&
^
In file included from mx.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:855:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:856:14: note: in expansion of macro 'LOCAL'
if (unlink (LOCAL->buf)) {/* try to delete the message */
^
In file included from osdep.h:45:0,
from mx.c:35:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:857:13: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:859:12: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mx.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:875:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Expunged %lu messages",n);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:876:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,(long) NIL);
^
In file included from mx.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mx.c: In function 'mx_copy':
mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:913:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mx.c:30:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MXLOCAL *) stream->local)
^
mx.c:914:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mx.c:34:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mx.c:921:63: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mx.c:34:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:922:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))));
^
In file included from mx.c:34:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mx.c:944:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
unsigned long i,j,uid,uidv;
^
mx.c: In function 'mx_append':
mx.c:1003:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:1003:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX");
^
In file included from mx.c:39:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mx.c:1038:54: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
else if (date && !(ret = mail_parse_date (&elt,date))) {
^
In file included from mx.c:34:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mx.c: In function 'mx_lockindex':
mx.c:1173:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */
^
mx.c: In function 'mx_setdate':
mx.c:1286:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration]
utime (file,tp); /* set the times */
^
mx.c: In function 'mx_header':
mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (fd,LOCAL->buf,elt->rfc822_size);
^
mx.c: In function 'mx_lockindex':
mx.c:1177:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size);
^
mx.c: In function 'mx_unlockindex':
mx.c:1269:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->fd,size);
^
`cat CCTYPE` -c `cat CFLAGS` mix.c
mix.c: In function 'mix_scan_contents':
mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0)
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type
if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0)
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mix.c: In function 'mix_create':
mix.c:420:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
fprintf (f,MTAFMT,now,0,now);
^
mix.c: In function 'mix_delete':
mix.c:471:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration]
else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB))
^
mix.c: In function 'mix_rename':
mix.c:529:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:529:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (old,"INBOX")) {
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type
for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort);
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mix.c: In function 'mix_open':
mix.c:608:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:608:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:610:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get (CHUNKSIZE);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:613:12: note: in expansion of macro 'LOCAL'
mix_dir (LOCAL->buf,stream->mailbox);
^
mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_dir (char *dst,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:615:29: note: in expansion of macro 'LOCAL'
stream->mailbox = cpystr (LOCAL->buf);
^
In file included from mix.c:37:0:
misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:618:35: note: in expansion of macro 'LOCAL'
((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA),
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:621:35: note: in expansion of macro 'LOCAL'
((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA),
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:629:38: note: in expansion of macro 'LOCAL'
LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX));
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:630:39: note: in expansion of macro 'LOCAL'
LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS));
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:631:42: note: in expansion of macro 'LOCAL'
LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox,
^
mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file (char *dst,char *dir,char *name);
^
mix.c: In function 'mix_header':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:720:46: note: in expansion of macro 'LOCAL'
if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:732:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:737:17: note: in expansion of macro 'LOCAL'
!strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:754:22: note: in expansion of macro 'LOCAL'
if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0';
^
mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable]
int fd;
^
mix.c: In function 'mix_text':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:783:46: note: in expansion of macro 'LOCAL'
if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:807:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf; /* initial buffer chunk */
^
mix.c:774:17: warning: unused variable 'i' [-Wunused-variable]
unsigned long i;
^
mix.c: In function 'mix_flag':
mix.c:832:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mix.c:32:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:833:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence)) &&
^
In file included from mix.c:32:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c: In function 'mix_ping':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:975:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:976:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable]
int mfd,ifd,sfd;
^
mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable]
int mfd,ifd,sfd;
^
mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable]
int mfd,ifd,sfd;
^
mix.c: In function 'mix_expunge':
mix.c:1035:29: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) :
^
In file included from mix.c:32:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1036:25: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))) || stream->rdonly);
^
In file included from mix.c:32:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort);
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)'
extern int scandir (const char *__restrict __dir,
^
mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type
long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort);
^
In file included from osdep.h:47:0,
from mix.c:33:
/usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)'
extern int scandir (const char *__restrict __dir,
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1087:15: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Can't locate mix message file %.08lx",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1089:14: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1098:30: note: in expansion of macro 'LOCAL'
else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) &&
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1100:19: note: in expansion of macro 'LOCAL'
truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) {
^
In file included from osdep.h:45:0,
from mix.c:33:
/usr/include/unistd.h:993:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int truncate (const char *__file, __off_t __length)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1100:43: note: in expansion of macro 'LOCAL'
truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) {
^
In file included from osdep.h:45:0,
from mix.c:33:
/usr/include/unistd.h:826:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int unlink (const char *__name) __THROW __nonnull ((1));
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1101:17: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1104:16: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:1131:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp);
^
mix.c:1133:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed);
^
mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable]
int ifd,sfd;
^
mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable]
int ifd,sfd;
^
mix.c: In function 'mix_burp':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1223:18: note: in expansion of macro 'LOCAL'
mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno);
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1227:15: note: in expansion of macro 'LOCAL'
if (stat (LOCAL->buf,&sbuf)) {
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__NTH (stat (const char *__path, struct stat *__statbuf))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1228:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,staterr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1229:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1232:54: note: in expansion of macro 'LOCAL'
else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) {
^
mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mix_burp_check (SEARCHSET *set,size_t size,char *file);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1236:33: note: in expansion of macro 'LOCAL'
else if (ret = !truncate (LOCAL->buf,burp->set.last))
^
In file included from osdep.h:45:0,
from mix.c:33:
/usr/include/unistd.h:993:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int truncate (const char *__file, __off_t __length)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1239:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1240:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1245:25: note: in expansion of macro 'LOCAL'
else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) ||
^
In file included from /usr/include/fcntl.h:289:0,
from osdep.h:49,
from mix.c:33:
/usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *'
open (const char *__path, int __oflag, ...)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1247:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1249:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1253:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,staterr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1254:13: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1259:52: note: in expansion of macro 'LOCAL'
else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) {
^
mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mix_burp_check (SEARCHSET *set,size_t size,char *file);
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from osdep.h:44,
from mix.c:33:
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: note: expected 'const char *' but argument is of type 'unsigned char *'
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1264:13: note: in expansion of macro 'LOCAL'
strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1265:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,"Bad message token in mix message file at %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1267:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1307:16: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1308:15: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,WARN);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable]
void *s;
^
mix.c: In function 'mix_burp_check':
mix.c:1337:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=]
file,size,set->last);
^
mix.c: In function 'mix_copy':
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1357:35: note: in expansion of macro 'LOCAL'
long ret = mix_isvalid (mailbox,LOCAL->buf);
^
mix.c:236:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mix_isvalid (char *name,char *meta)
^
mix.c:1375:68: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
^
In file included from mix.c:32:0:
mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1376:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_sequence (stream,sequence))));
^
In file included from mix.c:32:0:
mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
mix.c:1393:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c:1394:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
hdrsize = strlen (local->buf);
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:1403:43: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign]
if (msgf = mix_data_open (astream,&fd,&size,newsize)) {
^
mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *'
FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size,
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1415:47: note: in expansion of macro 'LOCAL'
if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:1427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
d.chunk = LOCAL->buf;
^
mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
unsigned long j,uid,uidv;
^
mix.c: In function 'mix_append':
mix.c:1519:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret = compare_cstring (mailbox,"INBOX") ?
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:1519:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (ret = compare_cstring (mailbox,"INBOX") ?
^
In file included from mix.c:37:0:
misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
mix.c:1550:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0);
^
mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c:1551:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
hdrsize = strlen (local->buf);
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:1555:45: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign]
if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) {
^
mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *'
FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size,
^
mix.c:1563:51: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
else if (date && !(ret = mail_parse_date (&elt,date))) {
^
In file included from mix.c:32:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mix.c:1570:30: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (&elt,tmp);
^
In file included from mix.c:32:0:
mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mix.c: In function 'mix_append_msg':
mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable]
unsigned long i,j,k,uf,hoff;
^
mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable]
unsigned long i,j,k,uf,hoff;
^
mix.c: In function 'mix_parse':
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1823:42: note: in expansion of macro 'LOCAL'
while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) &&
^
mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:1959:31: note: in expansion of macro 'LOCAL'
if (stat (mix_file_data (LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2041:11: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2044:10: note: in expansion of macro 'LOCAL'
MM_LOG (LOCAL->buf,ERROR);
^
In file included from mix.c:32:0:
mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mm_log (char *string,long errflg);
^
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2054:43: note: in expansion of macro 'LOCAL'
while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen,
^
mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
^
mix.c: In function 'mix_meta_slurp':
mix.c:2150:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1);
^
mix.c:2155:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size))
^
mix.c: In function 'mix_meta_update':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2190:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq));
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2191:35: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT,
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2191:14: note: in expansion of macro 'LOCAL'
sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT,
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mix.c:28:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2193:56: note: in expansion of macro 'LOCAL'
for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf);
^
In file included from osdep.h:44:0,
from mix.c:33:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
mix.c:2194:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) {
^
mix.c:110:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2208:30: note: in expansion of macro 'LOCAL'
ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL;
^
In file included from osdep.h:63:0,
from mix.c:33:
env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *'
long safe_write (int fd,char *buf,long nbytes);
^
mix.c: In function 'mix_index_update':
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0);
^
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=]
mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=]
mix.c: In function 'mix_status_update':
mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
sprintf (tmp,STRFMT,0,0,0,0);
^
mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=]
mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=]
mix.c: In function 'mix_data_open':
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2400:35: note: in expansion of macro 'LOCAL'
if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg),
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c:110:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2416:7: note: in expansion of macro 'LOCAL'
(LOCAL->buf,stream->mailbox,
^
mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_file_data (char *dst,char *dir,unsigned long data);
^
mix.c: In function 'mix_sortcache_open':
mix.c:110:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign]
#define LOCAL ((MIXLOCAL *) stream->local)
^
mix.c:2466:44: note: in expansion of macro 'LOCAL'
while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen,
^
mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
^
mix.c:2565:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
LOCAL->buf = (char *)
^
mix.c:2577:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = LOCAL->buf,sl = NIL,
^
mix.c:2585:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
sl->text.data = cpystr (s);
^
mix.c: In function 'mix_sortcache_update':
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=]
s->message_id ? strlen (s->message_id) + 1 : 0,j);
^
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=]
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=]
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' [-Wformat=]
mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=]
mix.c: In function 'mix_copy':
mix.c:1477:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,size); /* revert file */
^
mix.c: In function 'mix_append':
mix.c:1594:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fd,size); /* revert all writes to file*/
^
mix.c: In function 'mix_meta_update':
mix.c:2209:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (LOCAL->mfd,i); /* and tie off at that point */
^
mix.c: In function 'mix_index_update':
mix.c:2255:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fileno (idxf),sbuf.st_size);
^
mix.c:2288:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
if (ret) ftruncate (fileno (idxf),ftell (idxf));
^
mix.c: In function 'mix_status_update':
mix.c:2335:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
ftruncate (fileno (statf),sbuf.st_size);
^
mix.c:2369:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
if (ret) ftruncate (fileno (statf),ftell (statf));
^
mix.c: In function 'mix_sortcache_update':
mix.c:2697:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
if (ret) ftruncate (fileno (f),ftell (f));
^
mix.c: In function 'mix_sortcache_open':
mix.c:2640:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized]
else fchmod (fd,sbuf.st_mode);
^
sh -c 'rm -rf libc-client.so || true'
gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-z,relro -L/usr/lib -lssl -lcrypto -L/usr/lib/arm-linux-gnueabihf/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so
osdep.o: In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:336: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
echo lnps > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/mtest'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c
mtest.c: In function 'main':
mtest.c:124:10: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (tmp);
^
In file included from ../c-client/c-client.h:48:0,
from mtest.c:39:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mtest.c: In function 'mm':
mtest.c:168:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
switch (*ucase (cmd)) { /* dispatch based on command */
^
In file included from ../c-client/c-client.h:48:0,
from mtest.c:39:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mtest.c:204:13: warning: the address of 'parms' will always evaluate as 'true' [-Waddress]
if (parms) {
^
mtest.c: In function 'overview_header':
mtest.c:402:28: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign]
mail_parse_date (&selt,ov->date);
^
In file included from ../c-client/c-client.h:41:0,
from mtest.c:39:
../c-client/mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
^
mtest.c: In function 'prompt':
mtest.c:622:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations]
gets (txt);
^
mtest.c: In function 'smtptest':
mtest.c:818:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations]
while (gets (line)) {
^
mtest.c:829:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
msg->date = (char *) fs_get (1+strlen (line));
^
mtest.c:830:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (msg->date,line);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from mtest.c:36:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
mtest.c: In function 'prompt':
mtest.c:622:3: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result]
gets (txt);
^
mtest.c: In function 'mm_login':
mtest.c:744:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (user,NETMAXUSER-1,stdin);
^
In file included from /usr/include/stdio.h:937:0,
from mtest.c:36:
In function 'gets',
inlined from 'prompt' at mtest.c:622:3:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:237:3: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
return __gets_warn (__str);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
mtest.o: In function `gets':
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:237: warning: the `gets' function is dangerous and should not be used.
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:236: warning: the `gets' function is dangerous and should not be used.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mtest'
cd ipopd;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/ipopd'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
sh -c 'rm -rf c-client.a || true'
gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-z,relro -L/usr/lib -lssl -lcrypto -L/usr/lib/arm-linux-gnueabihf/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so
osdep.o: In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:336: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
sh -c 'rm -rf c-client.a || true'
gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-z,relro -L/usr/lib -lssl -lcrypto -L/usr/lib/arm-linux-gnueabihf/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so
osdep.o: In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:336: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c
ipop2d.c: In function 'main':
ipop2d.c:149:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* canonicalize case */
^
In file included from ../c-client/c-client.h:48:0,
from ipop2d.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
ipop2d.c: In function 'c_fold':
ipop2d.c:333:10: warning: unused variable 'mb' [-Wunused-variable]
NETMBX mb;
^
ipop2d.c:332:9: warning: unused variable 's' [-Wunused-variable]
char *s = NIL,tmp[2*TMPLEN];
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o `cat ../c-client/LDFLAGS`
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c
ipop3d.c: In function 'main':
ipop3d.c:129:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next;
^
In file included from ../c-client/c-client.h:48:0,
from ipop3d.c:35:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
ipop3d.c:129:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next;
^
In file included from ../c-client/c-client.h:48:0,
from ipop3d.c:35:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
ipop3d.c:186:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
ucase (s); /* canonicalize case */
^
In file included from ../c-client/c-client.h:48:0,
from ipop3d.c:35:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
ipop3d.c: In function 'pass_login':
ipop3d.c:654:8: warning: unused variable 'tmp' [-Wunused-variable]
char tmp[MAILTMPLEN];
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o `cat ../c-client/LDFLAGS`
make[3]: Leaving directory '/<<PKGBUILDDIR>>/ipopd'
cd imapd;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/imapd'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
sh -c 'rm -rf c-client.a || true'
gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-z,relro -L/usr/lib -lssl -lcrypto -L/usr/lib/arm-linux-gnueabihf/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so
osdep.o: In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:336: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
cd ../c-client;make
make[4]: Entering directory '/<<PKGBUILDDIR>>/c-client'
make all `cat SPECIALS`
make[5]: Entering directory '/<<PKGBUILDDIR>>/c-client'
sh -c 'rm -rf c-client.a || true'
gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-z,relro -L/usr/lib -lssl -lcrypto -L/usr/lib/arm-linux-gnueabihf/mit-krb5 -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so
osdep.o: In function `ssl_onceonlyinit':
/<<PKGBUILDDIR>>/c-client/osdep.c:336: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/c-client'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c
imapd.c: In function 'main':
imapd.c:302:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ?
^
imapd.c:302:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ?
^
imapd.c:307:16: warning: pointer targets in passing argument 1 of 'rfc822_date' differ in signedness [-Wpointer-sign]
rfc822_date (tmp); /* get date/time at startup */
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *'
void rfc822_date (char *date);
^
imapd.c:327:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = strchr (proxy,'\n')) *s = '\0';
^
imapd.c:334:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = myusername_full (&i); /* get user name and flags */
^
imapd.c:342:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = "ANONYMOUS";
^
imapd.c:346:22: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
user = cpystr (s); /* copy user name */
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:346:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
user = cpystr (s); /* copy user name */
^
imapd.c:347:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
pass = cpystr ("*"); /* set fake password */
^
imapd.c:356:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (user);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:370:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:392:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (cmdbuf,CMDLEN,TIMEOUT);
^
imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:399:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!strchr (cmdbuf,'\012')) {
^
imapd.c:399:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:400:23: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (t = strchr (cmdbuf,' ')) *t = '\0';
^
imapd.c:400:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:400:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strchr (cmdbuf,' ')) *t = '\0';
^
imapd.c:406:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,t ? (char *) cmdbuf : "*");
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:407:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:409:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
else if (!(tag = strtok (cmdbuf," \015\012"))) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:416:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (!(s = strtok (NIL," \015\012"))) {
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID") && strtok (NIL," \015\012")) {
^
imapd.c:428:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:436:21: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
cmd = cpystr (s); /* save current command */
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:436:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
cmd = cpystr (s); /* save current command */
^
imapd.c:438:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) &&
^
imapd.c:438:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:444:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (arg + i + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"NOOP")) {
^
imapd.c:449:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:454:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGOUT")) {
^
imapd.c:454:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:466:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CAPABILITY")) {
^
imapd.c:466:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:488:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"AUTHENTICATE")) {
^
imapd.c:488:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:498:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
^
imapd.c:498:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:499:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = imap_responder ("",0,NIL)))
^
imapd.c:503:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
user = cpystr ("ANONYMOUS");
^
imapd.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
pass = cpystr ("*");
^
imapd.c:514:39: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign]
else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1822:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]);
^
imapd.c:514:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) {
^
imapd.c:515:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
pass = cpystr ("*");
^
imapd.c:525:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:525:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:528:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
cmd = msg;
^
imapd.c:530:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
auth && compare_cstring (s,auth->name); auth = auth->next);
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:555:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LOGIN")) {
^
imapd.c:555:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:559:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (!((user = cpystr (snarf (&arg))) &&
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:559:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!((user = cpystr (snarf (&arg))) &&
^
imapd.c:560:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
(pass = cpystr (snarf (&arg))))) response = misarg;
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:560:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(pass = cpystr (snarf (&arg))))) response = misarg;
^
imapd.c:563:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (user,"ANONYMOUS") &&
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:574:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (s = strchr (user,'*')) *s++ ='\0';
^
imapd.c:574:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:574:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = strchr (user,'*')) *s++ ='\0';
^
imapd.c:576:24: warning: pointer targets in passing argument 1 of 'server_login' differ in signedness [-Wpointer-sign]
if (server_login (user,pass,s,argc,argv)) {
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *'
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
^
imapd.c:576:29: warning: pointer targets in passing argument 2 of 'server_login' differ in signedness [-Wpointer-sign]
if (server_login (user,pass,s,argc,argv)) {
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *'
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
^
imapd.c:576:34: warning: pointer targets in passing argument 3 of 'server_login' differ in signedness [-Wpointer-sign]
if (server_login (user,pass,s,argc,argv)) {
^
In file included from ../c-client/env_unix.h:61:0,
from ../c-client/osdep.h:63,
from ../c-client/c-client.h:42,
from imapd.c:36:
../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *'
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:590:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STARTTLS")) {
^
imapd.c:590:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:15: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:599:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
^
imapd.c:599:40: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:600:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012"))))
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:600:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012"))))
^
imapd.c:600:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012"))))
^
imapd.c:603:39: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign]
mail_sequence (stream,s)) fetch (t,uid);
^
imapd.c:148:6: note: expected 'char *' but argument is of type 'unsigned char *'
void fetch (char *t,unsigned long uid);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:607:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
^
imapd.c:607:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:609:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:609:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) &&
^
imapd.c:609:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) &&
^
imapd.c:610:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(t = strtok (NIL,"\015\012")))) response = misarg;
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:615:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
^
imapd.c:615:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:616:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen");
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:618:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(i < NUSERFLAGS) && (v = stream->user_flags[i]); i++)
^
imapd.c:619:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (strlen (v) <
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:620:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:622:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (u,v);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:622:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy (u,v);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:624:26: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,tmp,f & ~ST_SET);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
imapd.c:624:28: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,tmp,f & ~ST_SET);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:626:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
^
imapd.c:626:48: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:628:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
^
imapd.c:628:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:634:24: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,t,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
imapd.c:634:26: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign]
mail_flag (stream,s,t,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:645:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CHECK")) {
^
imapd.c:645:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:655:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
^
imapd.c:655:35: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:656:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"UID EXPUNGE")))) {
^
imapd.c:656:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:660:32: warning: pointer targets in passing argument 2 of 'mail_expunge_full' differ in signedness [-Wpointer-sign]
mail_expunge_full (stream,arg,arg ? EX_UID : NIL);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1695:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:666:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
^
imapd.c:666:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:14: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:682:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
^
imapd.c:682:38: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:684:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012"))
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:684:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012"))
^
imapd.c:684:48: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012"))
^
imapd.c:694:37: warning: pointer targets in passing argument 2 of 'mail_copy_full' differ in signedness [-Wpointer-sign]
else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox,
^
imapd.c:694:39: warning: pointer targets in passing argument 3 of 'mail_copy_full' differ in signedness [-Wpointer-sign]
else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:701:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
^
imapd.c:701:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:703:47: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) &&
^
imapd.c:703:47: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:703:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) &&
^
imapd.c:711:24: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(s = strtok (ucase (s)," "))) response = badatt;
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:711:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strtok (ucase (s)," "))) response = badatt;
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:716:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"REVERSE")) {
^
imapd.c:716:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:718:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(s = strtok (NIL," "))) {
^
imapd.c:719:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
s = ""; /* end of attributes */
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:723:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"DATE")) pg->function = SORTDATE;
^
imapd.c:723:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:724:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
^
imapd.c:724:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:725:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
^
imapd.c:725:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:726:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
^
imapd.c:726:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:727:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"TO")) pg->function = SORTTO;
^
imapd.c:727:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:728:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"CC")) pg->function = SORTCC;
^
imapd.c:728:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:729:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
^
imapd.c:729:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:731:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while (s = strtok (NIL," "));
^
imapd.c:735:55: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg &&
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:758:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
^
imapd.c:758:46: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:763:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:763:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) &&
^
imapd.c:764:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(cs = cpystr (cs)) && (arg = strtok (NIL,"\015\012"))))
^
imapd.c:770:36: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign]
if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1756:13: note: expected 'char *' but argument is of type 'unsigned char *'
THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:783:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
^
imapd.c:783:53: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:848:46: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (s = snarf (&arg)) charset = cpystr (s);
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:938:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
^
imapd.c:938:43: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:939:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
strcmp (cmd,"BBOARD"))) {
^
imapd.c:939:11: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:943:41: warning: pointer targets in passing argument 1 of 'bboardname' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *bboardname (char *cmd,char *name);
^
imapd.c:943:45: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *bboardname (char *cmd,char *name);
^
imapd.c:943:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:943:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s = bboardname (cmd,s))) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:944:40: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign]
DRIVER *factory = mail_valid (NIL,s,NIL);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1632:9: note: expected 'char *' but argument is of type 'unsigned char *'
DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose);
^
imapd.c:955:31: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
(stream = mail_open (stream,s,f | OP_SILENT)) &&
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:961:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(t = mail_fetch_text (stream,1,NIL,&i,NIL)) &&
^
imapd.c:964:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (tmp,t,i)[i] = '\0';
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
imapd.c:964:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (tmp,t,i)[i] = '\0';
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:966:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:966:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strpbrk (tmp,"\r\n")) *t = '\0';
^
imapd.c:968:33: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) &&
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:980:40: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (!factory && isnewsproxy (s)) {
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:981:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:982:35: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
stream = mail_open (stream,tmp,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:985:38: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign]
else stream = mail_open (stream,s,f);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *'
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
^
imapd.c:991:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"#MHINBOX"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:993:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else lastsel = cpystr (compare_cstring (s,"INBOX") ?
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1012:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"APPEND"))) {
^
imapd.c:1012:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1022:37: warning: pointer targets in passing argument 2 of 'mail_append_multiple' differ in signedness [-Wpointer-sign]
if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) {
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1700:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af,
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1037:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
^
imapd.c:1037:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1043:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1043:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1044:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,LONGT)) {
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1044:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,LONGT)) {
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1044:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,LONGT)) {
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1046:26: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign]
mail_list (NIL,"",tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
imapd.c:1049:26: warning: pointer targets in passing argument 2 of 'mail_list' differ in signedness [-Wpointer-sign]
else mail_list (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
imapd.c:1049:28: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign]
else mail_list (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1055:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"SCAN")) {
^
imapd.c:1055:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1061:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1061:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1062:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL))
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1062:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL))
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1062:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL))
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1064:26: warning: pointer targets in passing argument 2 of 'mail_scan' differ in signedness [-Wpointer-sign]
else mail_scan (NIL,s,t,u);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
^
imapd.c:1064:28: warning: pointer targets in passing argument 3 of 'mail_scan' differ in signedness [-Wpointer-sign]
else mail_scan (NIL,s,t,u);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
^
imapd.c:1064:30: warning: pointer targets in passing argument 4 of 'mail_scan' differ in signedness [-Wpointer-sign]
else mail_scan (NIL,s,t,u);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1070:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
^
imapd.c:1070:44: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1076:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1076:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (s,t)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
imapd.c:1077:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1077:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1077:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
^
imapd.c:1077:59: warning: pointer targets in passing argument 2 of 'newsrc_lsub' differ in signedness [-Wpointer-sign]
if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
^
In file included from imapd.c:37:0:
../c-client/newsrc.h:37:6: note: expected 'char *' but argument is of type 'unsigned char *'
void newsrc_lsub (MAILSTREAM *stream,char *pattern);
^
imapd.c:1078:26: warning: pointer targets in passing argument 2 of 'mail_lsub' differ in signedness [-Wpointer-sign]
else mail_lsub (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
^
imapd.c:1078:28: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign]
else mail_lsub (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1085:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND")) {
^
imapd.c:1085:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1087:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:1087:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) &&
^
imapd.c:1089:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(arg = strtok (NIL,"\015\012")) && (s = snarf_list (&arg))))
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1093:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
else if (strpbrk (s,"%?")) response =
^
imapd.c:1093:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1095:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign]
else if (nameok (NIL,s)) {
^
imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *'
long nameok (char *ref,char *name);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1098:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
^
imapd.c:1098:19: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1099:27: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign]
mail_lsub (NIL,NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1100:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
^
imapd.c:1100:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1103:27: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign]
mail_list (NIL,NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *'
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1112:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"STATUS")) {
^
imapd.c:1112:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1114:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
(t = strchr (arg,')')) && (t - arg) && !t[1]))
^
imapd.c:1114:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1114:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
(t = strchr (arg,')')) && (t - arg) && !t[1]))
^
imapd.c:1120:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
t = strtok (ucase (arg)," ");
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:1120:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = strtok (ucase (arg)," ");
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1122:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
^
imapd.c:1122:21: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1123:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
^
imapd.c:1123:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1124:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
^
imapd.c:1124:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1125:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
^
imapd.c:1125:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1126:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
^
imapd.c:1126:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1129:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1132:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while (t = strtok (NIL," "));
^
imapd.c:1135:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1135:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
imapd.c:1136:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1136:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1139:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1139:36: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1140:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox)))) {
^
imapd.c:1140:26: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1144:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1148:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1148:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1150:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1150:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1154:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1154:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1157:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1157:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1159:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu",
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1159:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1162:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign]
strcat (tmp,")\015\012");
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strcat (char *__restrict __dest, const char *__restrict __src))
^
imapd.c:1164:18: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign]
pastring (s);
^
imapd.c:179:6: note: expected 'char *' but argument is of type 'unsigned char *'
void pastring (char *s);
^
imapd.c:1165:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1167:28: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) {
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:1168:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1169:30: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign]
if (!mail_status (NIL,tmp,f)) response = lose;
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_status (MAILSTREAM *stream,char *mbx,long flags);
^
imapd.c:1171:33: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign]
else if (!mail_status (NIL,s,f)) response = lose;
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_status (MAILSTREAM *stream,char *mbx,long flags);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1178:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
^
imapd.c:1178:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1182:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (s,"MAILBOX")) response = badarg;
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1185:31: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign]
else mail_subscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_subscribe (MAILSTREAM *stream,char *mailbox);
^
imapd.c:1187:26: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':');
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:1187:49: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':');
^
In file included from imapd.c:37:0:
../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsrc_update (MAILSTREAM *stream,char *group,char state);
^
imapd.c:1188:29: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign]
else mail_subscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_subscribe (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1193:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
^
imapd.c:1193:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1197:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (compare_cstring (s,"MAILBOX")) response = badarg;
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1200:28: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!');
^
imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *'
long isnewsproxy (char *name);
^
imapd.c:1200:51: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign]
else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!');
^
In file included from imapd.c:37:0:
../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *'
long newsrc_update (MAILSTREAM *stream,char *group,char state);
^
imapd.c:1201:33: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign]
else mail_unsubscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_unsubscribe (MAILSTREAM *stream,char *mailbox);
^
imapd.c:1203:31: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign]
else mail_unsubscribe (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_unsubscribe (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1208:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"NAMESPACE")) {
^
imapd.c:1208:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1259:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"CREATE"))) {
^
imapd.c:1259:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1262:26: warning: pointer targets in passing argument 2 of 'mail_create' differ in signedness [-Wpointer-sign]
else mail_create (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1641:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_create (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1267:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"DELETE"))) {
^
imapd.c:1267:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1271:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1271:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1272:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1272:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1274:28: warning: pointer targets in passing argument 2 of 'mail_delete' differ in signedness [-Wpointer-sign]
else mail_delete (NIL,s);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1642:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_delete (MAILSTREAM *stream,char *mailbox);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!(anonymous || strcmp (cmd,"RENAME"))) {
^
imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1284:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1284:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!compare_cstring (s,"INBOX")) s = "INBOX";
^
imapd.c:1285:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
imapd.c:1285:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1286:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (lastsel && (!strcmp (s,lastsel) ||
^
imapd.c:1286:31: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1287:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
(stream && !strcmp (s,stream->mailbox))))
^
imapd.c:1287:28: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1289:28: warning: pointer targets in passing argument 2 of 'mail_rename' differ in signedness [-Wpointer-sign]
else mail_rename (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_rename (MAILSTREAM *stream,char *old,char *newname);
^
imapd.c:1289:30: warning: pointer targets in passing argument 3 of 'mail_rename' differ in signedness [-Wpointer-sign]
else mail_rename (NIL,s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *'
long mail_rename (MAILSTREAM *stream,char *old,char *newname);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1296:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (cmd,"IDLE")) {
^
imapd.c:1296:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1327:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* OK Timeout in %lu minutes\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1329:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1333:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1335:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* prod client to wake up */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1344:10: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (tmp,MAILTMPLEN,INPUTTIMEOUT);
^
imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout);
^
imapd.c:1355:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1356:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1358:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012",
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1360:12: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1383:17: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign]
if (PSINR (tmp,i)) litplus.size -= i;
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1856:6: note: expected 'char *' but argument is of type 'unsigned char *'
long PSINR (char *s,unsigned long n);
^
imapd.c:1392:9: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (tmp,MAILTMPLEN,INPUTTIMEOUT);
^
imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1394:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (t = strchr (tmp,'\012')) {
^
imapd.c:1394:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1394:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = strchr (tmp,'\012')) {
^
imapd.c:1399:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (((i = strlen (tmp)) > 3) && (tmp[i - 1] == '}') &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:1405:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (tmp + i + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:1420:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,lstref ? "*" : tag);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1421:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* start response */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1424:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (user);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1427:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,tag);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1428:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* start response */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1437:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,tag);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1438:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:1441:20: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity);
^
imapd.c:1441:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:1441:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity);
^
imapd.c:1440:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,"[%.80sUID %lu ",(char *)
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1442:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1458:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (cmd);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c:1472:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf (tmp,response,tag,cmd,lasterror ());
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
^
imapd.c:1473:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign]
PSOUT (tmp); /* output response */
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *'
int PSOUT (char *s);
^
imapd.c: In function 'staint':
imapd.c:1853:36: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
if (user) s = sout (sout (s,"."),user);
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c:1858:44: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
if (user) s = sout (sout (s,", user="),user);
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c:1878:53: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
if (cmd) s = sout (sout (s,", last command="),cmd);
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c:1880:28: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign]
else s = sout (sout (s,cmd)," in progress");
^
imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *'
char *sout (char *s,char *t);
^
imapd.c: In function 'parse_astring':
imapd.c:2062:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) {
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:2081:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i);
^
imapd.c:2081:16: warning: pointer targets in passing argument 1 of 'inliteral' differ in signedness [-Wpointer-sign]
inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i);
^
imapd.c:1945:6: note: expected 'char *' but argument is of type 'unsigned char *'
void inliteral (char *s,unsigned long n)
^
imapd.c:2083:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (*arg = t,CMDLEN - (t - cmdbuf),INPUTTIMEOUT);
^
imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2084:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!strchr (t,'\012')) return flush ();
^
imapd.c:2084:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2086:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!strtok (t,"\015\012")) *t = '\0';
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:2088:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (((i = strlen (t)) > 3) && (t[i - 1] == '}') &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:2094:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (t + i + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c: In function 'parse_stringlist':
imapd.c:2206:51: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign]
while ((c == ' ') && (t = parse_astring (s,&i,&c))) {
^
imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *parse_astring (unsigned char **arg,unsigned long *size,
^
imapd.c:2206:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
while ((c == ' ') && (t = parse_astring (s,&i,&c))) {
^
imapd.c:2218:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (t = *s) { /* need to reload strtok() state? */
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c: In function 'parse_criterion':
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c2 (const char *__s, int __accept1, int __accept2)
^
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
/usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *'
__strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3)
^
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:27: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2293:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
imapd.c:2293:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2309:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LL")) ret = T;
^
imapd.c:2309:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2310:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
^
imapd.c:2310:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2314:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
^
imapd.c:2314:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2316:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
^
imapd.c:2316:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2318:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
^
imapd.c:2318:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2322:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"C") && c == ' ' && *++tail)
^
imapd.c:2322:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2326:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
^
imapd.c:2326:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2327:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
^
imapd.c:2327:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2330:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
^
imapd.c:2330:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2331:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
^
imapd.c:2331:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2335:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
^
imapd.c:2335:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2339:31: warning: pointer targets in passing argument 1 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign]
*hdr = mail_newsearchheader (s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *'
SEARCHHEADER *mail_newsearchheader (char *line,char *text);
^
imapd.c:2339:33: warning: pointer targets in passing argument 2 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign]
*hdr = mail_newsearchheader (s,t);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *'
SEARCHHEADER *mail_newsearchheader (char *line,char *text);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2346:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
^
imapd.c:2346:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2350:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
^
imapd.c:2350:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2354:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
^
imapd.c:2354:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2355:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
^
imapd.c:2355:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2363:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"LD")) ret = pgm->old = T;
^
imapd.c:2363:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2364:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
^
imapd.c:2364:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2366:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"R") && c == ' ') {
^
imapd.c:2366:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2374:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
^
imapd.c:2374:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2378:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
^
imapd.c:2378:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2381:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
^
imapd.c:2381:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2382:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
^
imapd.c:2382:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2384:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
^
imapd.c:2384:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2386:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
^
imapd.c:2386:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2388:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
^
imapd.c:2388:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2390:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
^
imapd.c:2390:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2392:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
^
imapd.c:2392:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2396:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
^
imapd.c:2396:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2398:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
^
imapd.c:2398:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2403:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
^
imapd.c:2403:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2412:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
^
imapd.c:2412:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2413:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
^
imapd.c:2413:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2414:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
^
imapd.c:2414:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2415:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
^
imapd.c:2415:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2416:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
^
imapd.c:2416:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2418:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
^
imapd.c:2418:25: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2421:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
^
imapd.c:2421:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c: In function 'crit_string':
imapd.c:2584:35: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign]
char *s = parse_astring (arg,&i,&c);
^
imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *parse_astring (unsigned char **arg,unsigned long *size,
^
imapd.c:2584:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
char *s = parse_astring (arg,&i,&c);
^
imapd.c:2594:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (!*arg) *arg = (char *) (*string)->text.data + i;
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c: In function 'fetch_work':
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2641:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (t),"ALL"))
^
imapd.c:2641:16: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2647:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (s = strtok (t," ")) do { /* parse attribute list */
^
imapd.c:2648:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (list && (i = strlen (s)) && (s[i-1] == ')')) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2653:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (s,"UID")) { /* no-op if implicit */
^
imapd.c:2653:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2656:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
^
imapd.c:2656:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2657:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
^
imapd.c:2657:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2658:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
^
imapd.c:2658:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2659:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"ENVELOPE")) {
^
imapd.c:2659:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2663:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODY")) {
^
imapd.c:2663:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2667:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"BODYSTRUCTURE")) {
^
imapd.c:2667:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2671:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822")) {
^
imapd.c:2671:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2675:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
^
imapd.c:2675:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2676:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strcmp (s,"RFC822.TEXT")) {
^
imapd.c:2676:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:24: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2681:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
imapd.c:2681:50: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2681:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
imapd.c:2682:45: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2682:45: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2683:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
imapd.c:2683:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2683:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
!strncmp (s,"BINARY.SIZE[",12)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2723:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
imapd.c:2723:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2723:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"MIME",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2736:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
imapd.c:2736:18: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2736:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,"HEADER",6)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2741:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
imapd.c:2741:20: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2741:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".FIELDS",7)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2743:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
imapd.c:2743:22: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2743:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
if (!strncmp (v,".NOT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
imapd.c:2747:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
if (*v || !(v = strtok (NIL,"\015\012")) ||
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
imapd.c:2755:23: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
else if (!strncmp (v,"TEXT",4)) {
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
extern int strncmp (const char *__s1, const char *__s2, size_t __n)
^
imapd.c:2778:48: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
!(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) ||
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:2780:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
(*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) &&
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:2791:10: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
strtok (v," "); /* reset strtok mechanism */
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:2798:12: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
strtok (v," "); /* reset strtok mechanism */
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:2809:42: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (s && *s) ta->section = cpystr (s);
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:2816:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
} while ((s = strtok (NIL," ")) && (k < MAXFETCH) && list);
^
imapd.c: In function 'fetch_body_part_binary':
imapd.c:2955:38: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign]
BODY *body = mail_body (stream,i,ta->section);
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *'
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,
^
imapd.c: In function 'fetch_rfc822_text':
imapd.c:3312:9: warning: unused variable 'f' [-Wunused-variable]
int f = mail_elt (stream,i)->seen;
^
imapd.c: In function 'penv':
imapd.c:3329:15: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign]
pnstring (env->date); /* output envelope fields */
^
imapd.c:178:6: note: expected 'char *' but argument is of type 'unsigned char *'
void pnstring (char *s);
^
imapd.c: In function 'nameok':
imapd.c:3864:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c:3864:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c:3873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c:3873:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
^
imapd.c: In function 'proxycopy':
imapd.c:4019:28: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)))
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imapd.c:4019:62: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign]
mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)))
^
In file included from ../c-client/c-client.h:41:0,
from imapd.c:36:
../c-client/mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *'
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
^
imapd.c: In function 'append_msg':
imapd.c:4128:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
t = ++arg; /* pointer to flag list contents */
^
imapd.c:4135:47: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign]
if (*arg == '"') *date = ad->date = cpystr (snarf (&arg));
^
In file included from ../c-client/c-client.h:48:0,
from imapd.c:36:
../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *'
char *cpystr (const char *string);
^
imapd.c:4140:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
else if (!(i = strtoul (arg+1,&t,10)))
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c:4148:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign]
slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf),INPUTTIMEOUT);
^
imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *'
void slurp (char *s,int n,unsigned long timeout)
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from imapd.c:36:
imapd.c:4149:17: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign]
if (strchr (ad->arg,'\012')) {
^
imapd.c:4149:17: note: expected 'const char *' but argument is of type 'unsigned char *'
imapd.c:4151:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign]
if (!strtok (ad->arg,"\015\012")) *ad->arg = '\0';
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:348:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
extern char *strtok (char *__restrict __s, const char *__restrict __delim)
^
imapd.c:4153:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') &&
^
In file included from ../c-client/osdep.h:44:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
extern size_t strlen (const char *__s)
^
imapd.c:4159:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign]
litplus.size = strtoul (ad->arg + j + 1,NIL,10);
^
In file included from ../c-client/osdep.h:43:0,
from ../c-client/c-client.h:42,
from imapd.c:36:
/usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
extern unsigned long int strtoul (const char *__restrict __nptr,
^
imapd.c: In function 'mm_login':
imapd.c:4529:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign]
strncpy (password,pass,256); /* and password */
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from imapd.c:29:
/usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
__NTH (strncpy (char *__restrict __dest, const char *__restrict __src,
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o `cat ../c-client/LDFLAGS`
make[3]: Leaving directory '/<<PKGBUILDDIR>>/imapd'
cd mailutil;make
make[3]: Entering directory '/<<PKGBUILDDIR>>/mailutil'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c
mailutil.c: In function 'prune_criteria':
mailutil.c:453:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
switch (*ucase (criterion)) {
^
In file included from ../c-client/c-client.h:48:0,
from mailutil.c:31:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
mailutil.c: In function 'mbxcopy':
mailutil.c:594:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (tmp,MAILTMPLEN-1,stdin);
^
mailutil.c: In function 'mm_login':
mailutil.c:893:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets (username,NETMAXUSER-1,stdin);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mailutil'
cd mlock;make || true
make[3]: Entering directory '/<<PKGBUILDDIR>>/mlock'
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c
mlock.c: In function 'die':
mlock.c:60:3: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration]
write (1,"?",1); /* indicate "impossible" failure */
^
mlock.c: In function 'main':
mlock.c:75:3: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration]
if (!grp || (grp->gr_gid != getegid ()))
^
mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration]
chdir (dir);
^
mlock.c:113:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60)))
^
mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
unlink (lock); /* time out lock if enough time has passed */
^
mlock.c:123:7: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration]
(unsigned long) getpid ());
^
mlock.c:125:5: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration]
gethostname (hitch + len,MAXHOSTNAMELEN);
^
mlock.c:132:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
close (ld); /* close the hitching-post */
^
mlock.c:138:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration]
i = link (hitch,lock) ? errno : 0;
^
mlock.c:161:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
if (tries--) sleep (1); /* sleep 1 second and try again */
^
mlock.c:169:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
read (0,tmp,1); /* read continue signal from parent */
^
`cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mlock'
cd dmail;make || true
make[3]: Entering directory '/<<PKGBUILDDIR>>/dmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c
dmail.c: In function 'main':
dmail.c:162:5: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2);
^
dmail.c: In function 'deliver':
dmail.c:231:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!*mailbox || !compare_cstring ((unsigned char *) mailbox,"INBOX"))
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c: In function 'mm_notify':
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from dmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from dmail.c:36:
dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *'
dmail.c: In function 'file_string_setpos':
dmail.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data);
^
dmail.c: In function 'delivery_unsafe':
dmail.c:443:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized]
sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
make[3]: Leaving directory '/<<PKGBUILDDIR>>/dmail'
cd tmail;make || true
make[3]: Entering directory '/<<PKGBUILDDIR>>/tmail'
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c
tmail.c: In function 'main':
tmail.c:166:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (format->name,"dummy"))
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tmail.c:166:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
!compare_cstring (format->name,"dummy"))
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
tmail.c:171:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2);
^
tmail.c: In function 'getusername':
tmail.c:608:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign]
if (!**t || !compare_cstring ((unsigned char *) *t,"INBOX")) *t = NIL;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *'
int compare_cstring (unsigned char *s1,unsigned char *s2);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c: In function 'mm_notify':
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
In file included from ../c-client/c-client.h:48:0,
from tmail.c:36:
../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *'
unsigned char *ucase (unsigned char *string);
^
In file included from /usr/include/string.h:635:0,
from ../c-client/osdep.h:44,
from ../c-client/c-client.h:42,
from tmail.c:36:
tmail.c:705:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
^
tmail.c:705:16: note: expected 'const char *' but argument is of type 'unsigned char *'
tmail.c: In function 'file_string_setpos':
tmail.c:124:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data);
^
tmail.c: In function 'delivery_unsafe':
tmail.c:564:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized]
sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type);
^
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS`
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tmail'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
pod2man -c "" -r "UW IMAP 2007f~dfsg-4+deb8u1" debian/mlock.pod debian/mlock.1
touch debian/build-stamp
fakeroot debian/rules binary-arch
sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <debian/control.in.in >debian/control.in
test -x debian/rules
dh_testroot
dh_prep
dh_installdirs -A
mkdir -p "."
echo "sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <debian/control.in.in | diff -u debian/control.in -"
sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <debian/control.in.in | diff -u debian/control.in -
for file in `find debian -maxdepth 2 -type f -name '*.in' -not -name control.in -not -name control.in.in -not -name POTFILES.in`; do \
targetfile=`echo $file | sed -e 's/__VER__/2007e/g' -e 's/\\.in$//'`; \
sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' <$file >$targetfile; \
done
mkdir -p debian/tmp/usr/lib
install -m 0644 c-client.a debian/tmp/usr/lib/libc-client.a
install -m 0644 c-client/libc-client.so debian/tmp/usr/lib/libc-client.so.2007e.0
ln -s libc-client.so.2007e.0 debian/tmp/usr/lib/libc-client.so.2007e
ln -s libc-client.so.2007e.0 debian/tmp/usr/lib/libc-client.so
mkdir -p debian/tmp/usr/include/c-client
install -m 0644 -t debian/tmp/usr/include/c-client \
src/c-client/*.h \
src/osdep/unix/*.h \
c-client/auths.c \
c-client/linkage.c \
c-client/linkage.h \
c-client/osdep.h
Adding cdbs dependencies to debian/libc-client2007e-dev.substvars
dh_installdirs -plibc-client2007e-dev
Adding cdbs dependencies to debian/libc-client2007e.substvars
dh_installdirs -plibc-client2007e
Adding cdbs dependencies to debian/mlock.substvars
dh_installdirs -pmlock
Adding cdbs dependencies to debian/uw-mailutils.substvars
dh_installdirs -puw-mailutils
dh_installdocs -plibc-client2007e-dev
dh_installexamples -plibc-client2007e-dev
dh_installman -plibc-client2007e-dev
dh_installinfo -plibc-client2007e-dev
dh_installmenu -plibc-client2007e-dev
dh_installcron -plibc-client2007e-dev
dh_installinit -plibc-client2007e-dev
dh_installdebconf -plibc-client2007e-dev
dh_installemacsen -plibc-client2007e-dev
dh_installcatalogs -plibc-client2007e-dev
dh_installpam -plibc-client2007e-dev
dh_installlogrotate -plibc-client2007e-dev
dh_installlogcheck -plibc-client2007e-dev
dh_installchangelogs -plibc-client2007e-dev
dh_installudev -plibc-client2007e-dev
dh_lintian -plibc-client2007e-dev
dh_bugfiles -plibc-client2007e-dev
dh_install -plibc-client2007e-dev
dh_link -plibc-client2007e-dev
dh_buildinfo -plibc-client2007e-dev
Use of uninitialized value within @essentials in string ne at /usr/bin/dh_buildinfo line 216.
dh_installmime -plibc-client2007e-dev
dh_installgsettings -plibc-client2007e-dev
dh_installdocs -plibc-client2007e
dh_installexamples -plibc-client2007e
dh_installman -plibc-client2007e
dh_installinfo -plibc-client2007e
dh_installmenu -plibc-client2007e
dh_installcron -plibc-client2007e
dh_installinit -plibc-client2007e
dh_installdebconf -plibc-client2007e
dh_installemacsen -plibc-client2007e
dh_installcatalogs -plibc-client2007e
dh_installpam -plibc-client2007e
dh_installlogrotate -plibc-client2007e
dh_installlogcheck -plibc-client2007e
dh_installchangelogs -plibc-client2007e
dh_installudev -plibc-client2007e
dh_lintian -plibc-client2007e
dh_bugfiles -plibc-client2007e
dh_install -plibc-client2007e
dh_link -plibc-client2007e
dh_buildinfo -plibc-client2007e
Use of uninitialized value within @essentials in string ne at /usr/bin/dh_buildinfo line 216.
dh_installmime -plibc-client2007e
dh_installgsettings -plibc-client2007e
dh_installdocs -pmlock
dh_installexamples -pmlock
dh_installman -pmlock
dh_installinfo -pmlock
dh_installmenu -pmlock
dh_installcron -pmlock
dh_installinit -pmlock
dh_installdebconf -pmlock
dh_installemacsen -pmlock
dh_installcatalogs -pmlock
dh_installpam -pmlock
dh_installlogrotate -pmlock
dh_installlogcheck -pmlock
dh_installchangelogs -pmlock
dh_installudev -pmlock
dh_lintian -pmlock
dh_bugfiles -pmlock
dh_install -pmlock
dh_link -pmlock
dh_buildinfo -pmlock
Use of uninitialized value within @essentials in string ne at /usr/bin/dh_buildinfo line 216.
dh_installmime -pmlock
dh_installgsettings -pmlock
dh_installdocs -puw-mailutils
dh_installexamples -puw-mailutils
dh_installman -puw-mailutils
dh_installinfo -puw-mailutils
dh_installmenu -puw-mailutils
dh_installcron -puw-mailutils
dh_installinit -puw-mailutils
dh_installdebconf -puw-mailutils
dh_installemacsen -puw-mailutils
dh_installcatalogs -puw-mailutils
dh_installpam -puw-mailutils
dh_installlogrotate -puw-mailutils
dh_installlogcheck -puw-mailutils
dh_installchangelogs -puw-mailutils
dh_installudev -puw-mailutils
dh_lintian -puw-mailutils
dh_bugfiles -puw-mailutils
dh_install -puw-mailutils
dh_link -puw-mailutils
dh_buildinfo -puw-mailutils
Use of uninitialized value within @essentials in string ne at /usr/bin/dh_buildinfo line 216.
dh_installmime -puw-mailutils
dh_installgsettings -puw-mailutils
d-shlibmove --commit --override s/libkrb5-dev/krb5-multidev/ \
--movedev "debian/tmp/usr/include/*" usr/include \
debian/tmp/usr/lib/libc-client.so
Library package automatic movement utility
--> comerr-dev package exists.
--> krb5-multidev package exists.
--> libpam0g-dev package exists.
--> libssl-dev package exists.
set -e
install -d -m 755 debian/libc-client2007e-dev/usr/lib
install -d -m 755 debian/libc-client2007e/usr/lib
mv debian/tmp/usr/lib/libc-client.a debian/libc-client2007e-dev/usr/lib
mv debian/tmp/usr/lib/libc-client.la debian/libc-client2007e-dev/usr/lib || true
mv debian/tmp/usr/lib/libc-client.so debian/libc-client2007e-dev/usr/lib
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libc-client.so.2007e debian/libc-client2007e/usr/lib
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/libc-client.so.2007e.0 debian/libc-client2007e/usr/lib
PKGDEV=libc-client2007e-dev
PKGSHL=libc-client2007e
install -d -m 755 debian/libc-client2007e-dev/usr/include
mv debian/tmp/usr/include/* debian/libc-client2007e-dev/usr/include
mv: cannot stat 'debian/tmp/usr/lib/libc-client.la': No such file or directory
touch debian/install-libs-stamp
dh_strip -plibc-client2007e-dev
dh_compress -plibc-client2007e-dev
dh_fixperms -plibc-client2007e-dev
dh_makeshlibs -plibc-client2007e-dev
dh_strip -plibc-client2007e
dh_compress -plibc-client2007e
dh_fixperms -plibc-client2007e
dh_makeshlibs -plibc-client2007e
dh_strip -pmlock
dh_compress -pmlock
dh_fixperms -pmlock
dh_makeshlibs -pmlock
dh_strip -puw-mailutils
dh_compress -puw-mailutils
dh_fixperms -puw-mailutils
dh_makeshlibs -puw-mailutils
dh_installdeb -plibc-client2007e-dev
dh_perl -plibc-client2007e-dev
dh_shlibdeps -plibc-client2007e-dev
dh_installdeb -plibc-client2007e
dh_perl -plibc-client2007e
dh_shlibdeps -plibc-client2007e
dpkg-shlibdeps: warning: symbol mm_flags used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_searched used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_expunged used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_login used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_list used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_fatal used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_log used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_nocritical used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_status used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mm_notify used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries
dpkg-shlibdeps: warning: 5 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 was not linked against libdl.so.2 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 was not linked against libcom_err.so.2 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 was not linked against libk5crypto.so.3 (it uses none of the library's symbols)
dh_installdeb -pmlock
dh_perl -pmlock
dh_shlibdeps -pmlock
chown root.mail debian/mlock/usr/bin/mlock
chmod 2755 debian/mlock/usr/bin/mlock
dh_installdeb -puw-mailutils
dh_perl -puw-mailutils
dh_shlibdeps -puw-mailutils
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libcrypto.so.1.0.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libpam.so.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libkrb5.so.3 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libcom_err.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libgssapi_krb5.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libdl.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libk5crypto.so.3 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/uw-mailutils/usr/bin/tmail debian/uw-mailutils/usr/bin/dmail debian/uw-mailutils/usr/bin/mailutil were not linked against libssl.so.1.0.0 (they use none of the library's symbols)
dh_gencontrol -plibc-client2007e-dev
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums -plibc-client2007e-dev
dh_builddeb -plibc-client2007e-dev
dpkg-deb: building package `libc-client2007e-dev' in `../libc-client2007e-dev_2007f~dfsg-4+deb8u1_armhf.deb'.
dh_gencontrol -plibc-client2007e
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums -plibc-client2007e
dh_builddeb -plibc-client2007e
dpkg-deb: building package `libc-client2007e' in `../libc-client2007e_2007f~dfsg-4+deb8u1_armhf.deb'.
dh_gencontrol -pmlock
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums -pmlock
dh_builddeb -pmlock
dpkg-deb: building package `mlock' in `../mlock_2007f~dfsg-4+deb8u1_armhf.deb'.
dh_gencontrol -puw-mailutils
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
dh_md5sums -puw-mailutils
dh_builddeb -puw-mailutils
dpkg-deb: building package `uw-mailutils' in `../uw-mailutils_2007f~dfsg-4+deb8u1_armhf.deb'.
dpkg-genchanges -B -mRaspbian 2019 test autobuilder <root@raspbian.org> >../uw-imap_2007f~dfsg-4+deb8u1_armhf.changes
dpkg-genchanges: binary-only arch-specific upload (source code and arch-indep packages not included)
dpkg-source --after-build uw-imap-2007f~dfsg
dpkg-buildpackage: binary-only upload (no source included)
--------------------------------------------------------------------------------
Build finished at 2019-03-01T16:23:52Z
Finished
--------
I: Built successfully
+------------------------------------------------------------------------------+
| Post Build Chroot |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Changes |
+------------------------------------------------------------------------------+
uw-imap_2007f~dfsg-4+deb8u1_armhf.changes:
------------------------------------------
Format: 1.8
Date: Fri, 01 Mar 2019 00:01:06 -0500
Source: uw-imap
Binary: libc-client2007e-dev libc-client2007e mlock uw-mailutils
Architecture: armhf
Version: 8:2007f~dfsg-4+deb8u1
Distribution: jessie-staging
Urgency: high
Maintainer: Raspbian 2019 test autobuilder <root@raspbian.org>
Changed-By: Roberto C. Sanchez <roberto@debian.org>
Description:
libc-client2007e - c-client library for mail protocols - library files
libc-client2007e-dev - c-client library for mail protocols - development files
mlock - mailbox locking program
uw-mailutils - c-client support programs
Closes: 914632
Changes:
uw-imap (8:2007f~dfsg-4+deb8u1) jessie-security; urgency=high
.
* Non-maintainer upload by the LTS Team.
* [CVE-2018-19518] 2013_disable_rsh.patch (new): Disable access to IMAP
mailboxes through running imapd over rsh, and therefore ssh (Closes:
#914632). Code using the library can enable it with tcp_parameters()
after making sure that the IMAP server name is sanitized.
Checksums-Sha1:
37c85bd781832e3637abaf3945e831c29dc0aaae 487540 libc-client2007e-dev_2007f~dfsg-4+deb8u1_armhf.deb
79418d9d972ebdba4b2a4ea67e5e9d77b0b47387 571708 libc-client2007e_2007f~dfsg-4+deb8u1_armhf.deb
7d29bf39003f0cf8806344ecca26f257e576f381 33314 mlock_2007f~dfsg-4+deb8u1_armhf.deb
d76b01725a1f073d0e6a0982daf1dfbf6797d63b 55532 uw-mailutils_2007f~dfsg-4+deb8u1_armhf.deb
Checksums-Sha256:
b7af01b64702338a3548f878b3975b043e645675944924938306c3418c9753e2 487540 libc-client2007e-dev_2007f~dfsg-4+deb8u1_armhf.deb
650b04caf2f4b66c7e05c11b223bc7213d372682f947c6733045249b1a657a6a 571708 libc-client2007e_2007f~dfsg-4+deb8u1_armhf.deb
075b881f0b1291162b978da52fccd7c0e1d807197113734f59d03786eddafec5 33314 mlock_2007f~dfsg-4+deb8u1_armhf.deb
c22e997bd0891a36b91ae6e7baec0b5cd88975b82d13d23f58d1afdd6e4802fc 55532 uw-mailutils_2007f~dfsg-4+deb8u1_armhf.deb
Files:
641ed505fa7e708960704101ce3628f3 487540 libdevel extra libc-client2007e-dev_2007f~dfsg-4+deb8u1_armhf.deb
ee00ce605a0fbfa694916daf86eac63c 571708 libs optional libc-client2007e_2007f~dfsg-4+deb8u1_armhf.deb
4f8d24341fcb25380cae5e650e181a05 33314 mail optional mlock_2007f~dfsg-4+deb8u1_armhf.deb
bdac1812f0d1a02b5379723d8dd8f49f 55532 mail optional uw-mailutils_2007f~dfsg-4+deb8u1_armhf.deb
+------------------------------------------------------------------------------+
| Buildinfo |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Package contents |
+------------------------------------------------------------------------------+
libc-client2007e-dev_2007f~dfsg-4+deb8u1_armhf.deb
--------------------------------------------------
new debian package, version 2.0.
size 487540 bytes: control archive=2924 bytes.
924 bytes, 24 lines control
5497 bytes, 84 lines md5sums
Package: libc-client2007e-dev
Source: uw-imap
Version: 8:2007f~dfsg-4+deb8u1
Architecture: armhf
Maintainer: Magnus Holmgren <holmgren@debian.org>
Installed-Size: 1498
Depends: comerr-dev, krb5-multidev, libpam0g-dev, libssl-dev, libc-client2007e (= 8:2007f~dfsg-4+deb8u1)
Conflicts: libc-client-dev
Replaces: libc-client-dev
Provides: libc-client-dev
Section: libdevel
Priority: extra
Homepage: http://www.washington.edu/imap/
Description: c-client library for mail protocols - development files
IMAP (Internet Message Access Protocol) is a method of accessing
electronic messages kept on a (possibly shared) mail server.
.
The UW (University of Washington) IMAP toolkit provides the c-client
mail-handling library supporting various network transport methods,
file system storage formats, and authentication and authorization
methods.
.
This package contains the static c-client library and development
headers.
drwxr-xr-x root/root 0 2019-03-01 16:23 ./
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/include/
drwxr-xr-x root/root 0 2019-03-01 16:22 ./usr/include/c-client/
-rw-r--r-- root/root 132 2019-03-01 16:22 ./usr/include/c-client/auths.c
-rw-r--r-- root/root 1687 2019-03-01 16:22 ./usr/include/c-client/c-client.h
-rw-r--r-- root/root 1524 2019-03-01 16:22 ./usr/include/c-client/dummy.h
-rw-r--r-- root/root 1507 2019-03-01 16:22 ./usr/include/c-client/env.h
-rw-r--r-- root/root 2933 2019-03-01 16:22 ./usr/include/c-client/env_unix.h
-rw-r--r-- root/root 1071 2019-03-01 16:22 ./usr/include/c-client/fdstring.h
-rw-r--r-- root/root 1377 2019-03-01 16:22 ./usr/include/c-client/flockcyg.h
-rw-r--r-- root/root 4388 2019-03-01 16:22 ./usr/include/c-client/flocksim.h
-rw-r--r-- root/root 799 2019-03-01 16:22 ./usr/include/c-client/flstring.h
-rw-r--r-- root/root 905 2019-03-01 16:22 ./usr/include/c-client/fs.h
-rw-r--r-- root/root 825 2019-03-01 16:22 ./usr/include/c-client/ftl.h
-rw-r--r-- root/root 8374 2019-03-01 16:22 ./usr/include/c-client/imap4r1.h
-rw-r--r-- root/root 1290 2019-03-01 16:22 ./usr/include/c-client/linkage.c
-rw-r--r-- root/root 541 2019-03-01 16:22 ./usr/include/c-client/linkage.h
-rw-r--r-- root/root 68950 2019-03-01 16:22 ./usr/include/c-client/mail.h
-rw-r--r-- root/root 3351 2019-03-01 16:22 ./usr/include/c-client/misc.h
-rw-r--r-- root/root 987 2019-03-01 16:22 ./usr/include/c-client/netmsg.h
-rw-r--r-- root/root 1486 2019-03-01 16:22 ./usr/include/c-client/newsrc.h
-rw-r--r-- root/root 939 2019-03-01 16:22 ./usr/include/c-client/nl.h
-rw-r--r-- root/root 1618 2019-03-01 16:22 ./usr/include/c-client/nntp.h
-rw-r--r-- root/root 1230 2019-03-01 16:22 ./usr/include/c-client/os_a32.h
-rw-r--r-- root/root 1230 2019-03-01 16:22 ./usr/include/c-client/os_a41.h
-rw-r--r-- root/root 1296 2019-03-01 16:22 ./usr/include/c-client/os_a52.h
-rw-r--r-- root/root 1122 2019-03-01 16:22 ./usr/include/c-client/os_aix.h
-rw-r--r-- root/root 1292 2019-03-01 16:22 ./usr/include/c-client/os_aos.h
-rw-r--r-- root/root 2061 2019-03-01 16:22 ./usr/include/c-client/os_art.h
-rw-r--r-- root/root 1960 2019-03-01 16:22 ./usr/include/c-client/os_asv.h
-rw-r--r-- root/root 1213 2019-03-01 16:22 ./usr/include/c-client/os_aux.h
-rw-r--r-- root/root 1359 2019-03-01 16:22 ./usr/include/c-client/os_bsd.h
-rw-r--r-- root/root 1077 2019-03-01 16:22 ./usr/include/c-client/os_bsf.h
-rw-r--r-- root/root 1059 2019-03-01 16:22 ./usr/include/c-client/os_bsi.h
-rw-r--r-- root/root 1113 2019-03-01 16:22 ./usr/include/c-client/os_cvx.h
-rw-r--r-- root/root 1634 2019-03-01 16:22 ./usr/include/c-client/os_cyg.h
-rw-r--r-- root/root 1379 2019-03-01 16:22 ./usr/include/c-client/os_d-g.h
-rw-r--r-- root/root 1261 2019-03-01 16:22 ./usr/include/c-client/os_do4.h
-rw-r--r-- root/root 1451 2019-03-01 16:22 ./usr/include/c-client/os_drs.h
-rw-r--r-- root/root 1531 2019-03-01 16:22 ./usr/include/c-client/os_dyn.h
-rw-r--r-- root/root 1392 2019-03-01 16:22 ./usr/include/c-client/os_hpp.h
-rw-r--r-- root/root 1722 2019-03-01 16:22 ./usr/include/c-client/os_isc.h
-rw-r--r-- root/root 1481 2019-03-01 16:22 ./usr/include/c-client/os_lnx.h
-rw-r--r-- root/root 1058 2019-03-01 16:22 ./usr/include/c-client/os_lyn.h
-rw-r--r-- root/root 1071 2019-03-01 16:22 ./usr/include/c-client/os_mct.h
-rw-r--r-- root/root 1205 2019-03-01 16:22 ./usr/include/c-client/os_mnt.h
-rw-r--r-- root/root 1680 2019-03-01 16:22 ./usr/include/c-client/os_nto.h
-rw-r--r-- root/root 1211 2019-03-01 16:22 ./usr/include/c-client/os_nxt.h
-rw-r--r-- root/root 1199 2019-03-01 16:22 ./usr/include/c-client/os_os4.h
-rw-r--r-- root/root 1199 2019-03-01 16:22 ./usr/include/c-client/os_osf.h
-rw-r--r-- root/root 1294 2019-03-01 16:22 ./usr/include/c-client/os_osx.h
-rw-r--r-- root/root 1738 2019-03-01 16:22 ./usr/include/c-client/os_ptx.h
-rw-r--r-- root/root 1457 2019-03-01 16:22 ./usr/include/c-client/os_pyr.h
-rw-r--r-- root/root 1452 2019-03-01 16:22 ./usr/include/c-client/os_qnx.h
-rw-r--r-- root/root 957 2019-03-01 16:22 ./usr/include/c-client/os_s40.h
-rw-r--r-- root/root 1761 2019-03-01 16:22 ./usr/include/c-client/os_sc5.h
-rw-r--r-- root/root 1807 2019-03-01 16:22 ./usr/include/c-client/os_sco.h
-rw-r--r-- root/root 1396 2019-03-01 16:22 ./usr/include/c-client/os_sgi.h
-rw-r--r-- root/root 1392 2019-03-01 16:22 ./usr/include/c-client/os_shp.h
-rw-r--r-- root/root 1481 2019-03-01 16:22 ./usr/include/c-client/os_slx.h
-rw-r--r-- root/root 1981 2019-03-01 16:22 ./usr/include/c-client/os_soln.h
-rw-r--r-- root/root 1949 2019-03-01 16:22 ./usr/include/c-client/os_solo.h
-rw-r--r-- root/root 1199 2019-03-01 16:22 ./usr/include/c-client/os_sos.h
-rw-r--r-- root/root 1185 2019-03-01 16:22 ./usr/include/c-client/os_sua.h
-rw-r--r-- root/root 1307 2019-03-01 16:22 ./usr/include/c-client/os_sun.h
-rw-r--r-- root/root 2979 2019-03-01 16:22 ./usr/include/c-client/os_sv2.h
-rw-r--r-- root/root 1838 2019-03-01 16:22 ./usr/include/c-client/os_sv4.h
-rw-r--r-- root/root 1036 2019-03-01 16:22 ./usr/include/c-client/os_ult.h
-rw-r--r-- root/root 2396 2019-03-01 16:22 ./usr/include/c-client/os_vu2.h
-rw-r--r-- root/root 1481 2019-03-01 16:22 ./usr/include/c-client/osdep.h
-rw-r--r-- root/root 838 2019-03-01 16:22 ./usr/include/c-client/pseudo.h
-rw-r--r-- root/root 5421 2019-03-01 16:22 ./usr/include/c-client/rfc822.h
-rw-r--r-- root/root 2538 2019-03-01 16:22 ./usr/include/c-client/smtp.h
-rw-r--r-- root/root 2309 2019-03-01 16:22 ./usr/include/c-client/sslio.h
-rw-r--r-- root/root 1775 2019-03-01 16:22 ./usr/include/c-client/tcp.h
-rw-r--r-- root/root 1224 2019-03-01 16:22 ./usr/include/c-client/tcp_unix.h
-rw-r--r-- root/root 6711 2019-03-01 16:22 ./usr/include/c-client/unix.h
-rw-r--r-- root/root 22967 2019-03-01 16:22 ./usr/include/c-client/utf8.h
-rw-r--r-- root/root 1529 2019-03-01 16:22 ./usr/include/c-client/utf8aux.h
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/lib/
-rw-r--r-- root/root 1211708 2019-03-01 16:23 ./usr/lib/libc-client.a
lrwxrwxrwx root/root 0 2019-03-01 16:22 ./usr/lib/libc-client.so -> libc-client.so.2007e.0
drwxr-xr-x root/root 0 2019-03-01 16:22 ./usr/share/
drwxr-xr-x root/root 0 2019-03-01 16:22 ./usr/share/doc/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/doc/libc-client2007e-dev/
-rw-r--r-- root/root 921 2019-03-01 16:22 ./usr/share/doc/libc-client2007e-dev/NEWS.Debian.gz
-rw-r--r-- root/root 435 2019-03-01 05:01 ./usr/share/doc/libc-client2007e-dev/TODO.Debian
-rw-r--r-- root/root 2065 2019-03-01 16:23 ./usr/share/doc/libc-client2007e-dev/buildinfo_armhf.gz
-rw-r--r-- root/root 22410 2019-03-01 05:01 ./usr/share/doc/libc-client2007e-dev/changelog.Debian.gz
-rw-r--r-- root/root 1724 2019-03-01 05:01 ./usr/share/doc/libc-client2007e-dev/copyright
-rw-r--r-- root/root 31555 2011-07-23 00:20 ./usr/share/doc/libc-client2007e-dev/internal.txt.gz
-rw-r--r-- root/root 7527 2011-07-23 00:20 ./usr/share/doc/libc-client2007e-dev/locking.txt.gz
libc-client2007e_2007f~dfsg-4+deb8u1_armhf.deb
----------------------------------------------
new debian package, version 2.0.
size 571708 bytes: control archive=1595 bytes.
938 bytes, 21 lines control
1480 bytes, 19 lines md5sums
135 bytes, 7 lines * postinst #!/bin/sh
132 bytes, 7 lines * postrm #!/bin/sh
35 bytes, 1 lines shlibs
Package: libc-client2007e
Source: uw-imap
Version: 8:2007f~dfsg-4+deb8u1
Architecture: armhf
Maintainer: Magnus Holmgren <holmgren@debian.org>
Installed-Size: 1332
Depends: libpam-modules, mlock, libc6 (>= 2.15), libcomerr2 (>= 1.01), libgssapi-krb5-2 (>= 1.10+dfsg~), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2), libpam0g (>= 0.99.7.1), libssl1.0.0 (>= 1.0.0)
Suggests: uw-mailutils
Section: libs
Priority: optional
Homepage: http://www.washington.edu/imap/
Description: c-client library for mail protocols - library files
IMAP (Internet Message Access Protocol) is a method of accessing
electronic messages kept on a (possibly shared) mail server.
.
The UW (University of Washington) IMAP toolkit provides the c-client
mail-handling library supporting various network transport methods,
file system storage formats, and authentication and authorization
methods.
.
This package contains the shared c-client library.
drwxr-xr-x root/root 0 2019-03-01 16:23 ./
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/lib/
lrwxrwxrwx root/root 0 2019-03-01 16:22 ./usr/lib/libc-client.so.2007e -> libc-client.so.2007e.0
-rw-r--r-- root/root 1023184 2019-03-01 16:23 ./usr/lib/libc-client.so.2007e.0
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/doc/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/doc/libc-client2007e/
-rw-r--r-- root/root 155953 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/FAQ.html
-rw-r--r-- root/root 40955 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/FAQ.txt.gz
-rw-r--r-- root/root 921 2019-03-01 16:22 ./usr/share/doc/libc-client2007e/NEWS.Debian.gz
-rw-r--r-- root/root 2097 2019-03-01 16:22 ./usr/share/doc/libc-client2007e/README.Debian.gz
-rw-r--r-- root/root 12055 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/RELNOTES.gz
-rw-r--r-- root/root 2629 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/Y2K.gz
-rw-r--r-- root/root 4149 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/bugs.txt.gz
-rw-r--r-- root/root 2065 2019-03-01 16:23 ./usr/share/doc/libc-client2007e/buildinfo_armhf.gz
-rw-r--r-- root/root 6422 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/calendar.txt.gz
-rw-r--r-- root/root 22410 2019-03-01 05:01 ./usr/share/doc/libc-client2007e/changelog.Debian.gz
-rw-r--r-- root/root 1724 2019-03-01 05:01 ./usr/share/doc/libc-client2007e/copyright
-rw-r--r-- root/root 2856 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/drivers.txt.gz
-rw-r--r-- root/root 3569 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/formats.txt.gz
-rw-r--r-- root/root 8639 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/imaprc.txt.gz
-rw-r--r-- root/root 31555 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/internal.txt.gz
-rw-r--r-- root/root 7527 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/locking.txt.gz
-rw-r--r-- root/root 3784 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/md5.txt
-rw-r--r-- root/root 1979 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/naming.txt.gz
mlock_2007f~dfsg-4+deb8u1_armhf.deb
-----------------------------------
new debian package, version 2.0.
size 33314 bytes: control archive=946 bytes.
714 bytes, 21 lines control
460 bytes, 7 lines md5sums
Package: mlock
Source: uw-imap
Version: 8:2007f~dfsg-4+deb8u1
Architecture: armhf
Maintainer: Magnus Holmgren <holmgren@debian.org>
Installed-Size: 80
Depends: libc6 (>= 2.4)
Section: mail
Priority: optional
Homepage: http://www.washington.edu/imap/
Description: mailbox locking program
IMAP (Internet Message Access Protocol) is a method of accessing
electronic messages kept on a (possibly shared) mail server.
.
The UW (University of Washington) IMAP toolkit provides the c-client
mail-handling library supporting various network transport methods,
file system storage formats, and authentication and authorization
methods.
.
This package contains a program to lock mailbox files to avoid
corruption.
drwxr-xr-x root/root 0 2019-03-01 16:23 ./
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/bin/
-rwxr-sr-x root/mail 6832 2019-03-01 16:23 ./usr/bin/mlock
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/doc/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/doc/mlock/
-rw-r--r-- root/root 921 2019-03-01 16:22 ./usr/share/doc/mlock/NEWS.Debian.gz
-rw-r--r-- root/root 2065 2019-03-01 16:23 ./usr/share/doc/mlock/buildinfo_armhf.gz
-rw-r--r-- root/root 22410 2019-03-01 05:01 ./usr/share/doc/mlock/changelog.Debian.gz
-rw-r--r-- root/root 1724 2019-03-01 05:01 ./usr/share/doc/mlock/copyright
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/lintian/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 50 2019-03-01 05:01 ./usr/share/lintian/overrides/mlock
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/man/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/man/man1/
-rw-r--r-- root/root 2148 2019-03-01 16:23 ./usr/share/man/man1/mlock.1.gz
uw-mailutils_2007f~dfsg-4+deb8u1_armhf.deb
------------------------------------------
new debian package, version 2.0.
size 55532 bytes: control archive=1315 bytes.
43 bytes, 1 lines conffiles
1146 bytes, 24 lines control
725 bytes, 11 lines md5sums
Package: uw-mailutils
Source: uw-imap
Version: 8:2007f~dfsg-4+deb8u1
Architecture: armhf
Maintainer: Magnus Holmgren <holmgren@debian.org>
Installed-Size: 148
Depends: libc-client2007e, libc6 (>= 2.4), libcomerr2 (>= 1.01), libgssapi-krb5-2 (>= 1.6.dfsg.2), libk5crypto3 (>= 1.6.dfsg.2), libkrb5-3 (>= 1.6.dfsg.2), libpam0g (>= 0.99.7.1), libssl1.0.0 (>= 1.0.0)
Section: mail
Priority: optional
Homepage: http://www.washington.edu/imap/
Description: c-client support programs
IMAP (Internet Message Access Protocol) is a method of accessing
electronic messages kept on a (possibly shared) mail server.
.
The UW (University of Washington) IMAP toolkit provides the c-client
mail-handling library supporting various network transport methods,
file system storage formats, and authentication and authorization
methods.
.
This package contains helper tools for the libc-client library:
- mailutil: utility program which helps manage email mailboxes (both
local and IMAP/POP3/NNTP);
- dmail: MDA (Mail Delivery Agent) for use with procmail;
- tmail: MDA for use with the system mailer (such as Sendmail or Postfix).
drwxr-xr-x root/root 0 2019-03-01 16:23 ./
drwxr-xr-x root/root 0 2019-03-01 16:23 ./etc/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./etc/logcheck/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./etc/logcheck/ignore.d.server/
-rw-r--r-- root/root 247 2019-03-01 16:23 ./etc/logcheck/ignore.d.server/uw-mailutils
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/bin/
-rwxr-xr-x root/root 18144 2019-03-01 16:23 ./usr/bin/dmail
-rwxr-xr-x root/root 26476 2019-03-01 16:23 ./usr/bin/mailutil
-rwxr-xr-x root/root 22268 2019-03-01 16:23 ./usr/bin/tmail
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/doc/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/doc/uw-mailutils/
-rw-r--r-- root/root 921 2019-03-01 16:22 ./usr/share/doc/uw-mailutils/NEWS.Debian.gz
-rw-r--r-- root/root 336 2019-03-01 16:22 ./usr/share/doc/uw-mailutils/README.Debian
-rw-r--r-- root/root 2065 2019-03-01 16:23 ./usr/share/doc/uw-mailutils/buildinfo_armhf.gz
-rw-r--r-- root/root 22410 2019-03-01 05:01 ./usr/share/doc/uw-mailutils/changelog.Debian.gz
-rw-r--r-- root/root 1724 2019-03-01 05:01 ./usr/share/doc/uw-mailutils/copyright
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/man/
drwxr-xr-x root/root 0 2019-03-01 16:23 ./usr/share/man/man1/
-rw-r--r-- root/root 1583 2019-03-01 16:23 ./usr/share/man/man1/dmail.1.gz
-rw-r--r-- root/root 2954 2019-03-01 16:23 ./usr/share/man/man1/mailutil.1.gz
-rw-r--r-- root/root 2666 2019-03-01 16:23 ./usr/share/man/man1/tmail.1.gz
+------------------------------------------------------------------------------+
| Post Build |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+
Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+
Build Architecture: armhf
Build Type: any
Build-Space: 25612
Build-Time: 224
Distribution: jessie-staging
Host Architecture: armhf
Install-Time: 372
Job: uw-imap_8:2007f~dfsg-4+deb8u1
Machine Architecture: armhf
Package: uw-imap
Package-Time: 658
Source-Version: 8:2007f~dfsg-4+deb8u1
Space: 25612
Status: successful
Version: 8:2007f~dfsg-4+deb8u1
--------------------------------------------------------------------------------
Finished at 2019-03-01T16:23:52Z
Build needed 00:10:58, 25612k disk space