<86>Dec 6 04:39:36 userdel[2755389]: delete user 'rooter' <86>Dec 6 04:39:36 userdel[2755389]: removed group 'rooter' owned by 'rooter' <86>Dec 6 04:39:36 userdel[2755389]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 6 04:39:36 groupadd[2755404]: group added to /etc/group: name=rooter, GID=621 <86>Dec 6 04:39:36 groupadd[2755404]: group added to /etc/gshadow: name=rooter <86>Dec 6 04:39:36 groupadd[2755404]: new group: name=rooter, GID=621 <86>Dec 6 04:39:36 useradd[2755418]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Dec 6 04:39:36 userdel[2755440]: delete user 'builder' <86>Dec 6 04:39:36 userdel[2755440]: removed group 'builder' owned by 'builder' <86>Dec 6 04:39:36 userdel[2755440]: removed shadow group 'builder' owned by 'builder' <86>Dec 6 04:39:36 groupadd[2755455]: group added to /etc/group: name=builder, GID=622 <86>Dec 6 04:39:36 groupadd[2755455]: group added to /etc/gshadow: name=builder <86>Dec 6 04:39:36 groupadd[2755455]: new group: name=builder, GID=622 <86>Dec 6 04:39:36 useradd[2755464]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash warning: line 63: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found <13>Dec 6 04:39:41 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 04:39:41 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Dec 6 04:39:41 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 04:39:41 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 6 04:39:41 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Dec 6 04:39:41 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Dec 6 04:39:41 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Dec 6 04:39:41 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 04:39:41 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed <13>Dec 6 04:39:41 rpmi: rpm-macros-pam0-1.3.1.0.5.955b-alt2 1530819916 installed <13>Dec 6 04:39:41 rpmi: libpam0-devel-1.3.1.0.5.955b-alt2 1530819916 installed <13>Dec 6 04:39:41 rpmi: libssl-devel-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed warning: line 63: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/uw-imap-2004g-alt4.nosrc.rpm warning: line 63: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Installing uw-imap-2004g-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98433 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + echo Using release number alt4 Using release number alt4 + cd /usr/src/RPM/BUILD + rm -rf imap-2004g + echo 'Source #0 (imap-2004g.tar.bz2):' Source #0 (imap-2004g.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/imap-2004g.tar.bz2 + /bin/tar -xf - + cd imap-2004g + /bin/chmod -c -Rf u+rwX,go-w . + ln -s . imap + tar jxvf /usr/src/RPM/SOURCES/imap-c-client-maildir.tar.bz2 imap/ imap/README.maildir imap/src/ imap/src/osdep/ imap/src/osdep/unix/ imap/src/osdep/unix/maildir.c imap/src/osdep/unix/maildir.h + echo 'Patch #1 (uw-imap-2001a-alt7-ALT-custom.patch):' Patch #1 (uw-imap-2001a-alt7-ALT-custom.patch): + /usr/bin/patch -p1 -b --suffix .ALT patching file Makefile Hunk #1 succeeded at 242 with fuzz 2 (offset -31 lines). patching file src/imapd/imapd.8 Hunk #2 succeeded at 29 with fuzz 1 (offset 3 lines). patching file src/ipopd/ipopd.8 Hunk #1 succeeded at 3 with fuzz 2. patching file src/osdep/unix/tcp_unix.c Hunk #1 succeeded at 317 (offset -17 lines). patching file src/osdep/unix/Makefile Hunk #1 succeeded at 83 (offset 24 lines). Hunk #2 succeeded at 454 (offset 1 line). + echo 'Patch #2 (uw-imap-2001a-alt7-flocksim.patch):' Patch #2 (uw-imap-2001a-alt7-flocksim.patch): + /usr/bin/patch -p1 -b --suffix .deb-port patching file src/osdep/unix/os_lnx.h patching file src/osdep/unix/nfstold.c patching file src/osdep/unix/os_lnx.c Hunk #1 succeeded at 42 with fuzz 2 (offset 1 line). patching file src/osdep/unix/flocksim.c patching file src/osdep/unix/nfstnew.c + echo 'Patch #3 (uw-imap-2001a-debian-portability.patch):' Patch #3 (uw-imap-2001a-debian-portability.patch): + /usr/bin/patch -p1 -b --suffix .deb-nonull patching file src/c-client/auth_md5.c + echo 'Patch #4 (uw-imap-2001a-debian-nonull.patch):' Patch #4 (uw-imap-2001a-debian-nonull.patch): + /usr/bin/patch -p1 -b --suffix .overflow patching file src/osdep/unix/env_unix.c Hunk #1 succeeded at 662 with fuzz 2 (offset 31 lines). Hunk #2 succeeded at 719 (offset 41 lines). + echo 'Patch #5 (uw-imap-2001a-overflow.patch):' Patch #5 (uw-imap-2001a-overflow.patch): + /usr/bin/patch -p1 -b --suffix .flock patching file src/c-client/rfc822.c Hunk #1 succeeded at 575 with fuzz 2 (offset -35 lines). + echo 'Patch #21 (uw-imap-2001a-debian-openssl1.1_autoverify.patch):' Patch #21 (uw-imap-2001a-debian-openssl1.1_autoverify.patch): + /usr/bin/patch -p1 patching file src/osdep/unix/ssl_unix.c + /usr/bin/subst 's/^(char \*version = ".+)(";)/${1}alt$2/g' src/imapd/imapd.c src/ipopd/ipop2d.c src/ipopd/ipop3d.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.74786 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2004g + make -j8 SSLTYPE=unix.nopwd EXTRADRIVERS= 'EXTRASPECIALS=MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs' lnp make sslunix.nopwd make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2004g' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make: Entering directory '/usr/src/RPM/BUILD/imap-2004g' 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: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make: Entering directory '/usr/src/RPM/BUILD/imap-2004g' make build EXTRACFLAGS='-DDISABLE_POP_PROXY=1' EXTRALDFLAGS='' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd IP=4 EXTRASPECIALS='MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs' BUILDTYPE=lnp make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2004g' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2004g' Building c-client for lnp... echo `cat SPECIALS` MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-DDISABLE_POP_PROXY=1'\ EXTRALDFLAGS=''\ EXTRADRIVERS=''\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix.nopwd IP=4\ MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/c-client' make build EXTRACFLAGS='-DDISABLE_POP_PROXY=1' EXTRALDFLAGS='' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd IP=4 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-pipe -frecord-gcc-switches -Wall -Wno-parentheses -g -O2 -fPIC -DPIC" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/c-client' sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -pipe -frecord-gcc-switches -Wall -Wno-parentheses -g -O2 -fPIC -DPIC '-DDISABLE_POP_PROXY=1' > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" > OSCFLAGS echo -lpam -ldl > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.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;ranlib c-client.a" > ARCHIVE echo lnx > OSTYPE ./drivers imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log make[4]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/c-client' echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS make[4]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/c-client' 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 ip4_unix.c ip_unix.c sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/var/lib/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/var/lib/ssl/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib64 -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 /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:35, from osdep.c:23: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from osdep.h:60, from osdep.c:23: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from osdep.c:23: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock In file included from osdep.c:40: nl_unix.c: In function 'strcrlfcpy': nl_unix.c:41:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1); ^ In file included from env_unix.c:137, from osdep.c:41: pmatch.c: In function 'pmatch_full': pmatch.c:33:43: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; ^ In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:187:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ auth_md5.c:189:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = user; *s && !isupper (*s); s++); ^ auth_md5.c:191: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:35: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:192:22: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] for (s = strtok (buf,"\015\012"),lret = NIL; s; ^~~ In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:192:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = strtok (buf,"\015\012"),lret = NIL; s; ^ auth_md5.c:193:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = ret ? NIL : strtok (NIL,"\015\012")) ^ auth_md5.c:195:45: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:195:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:197:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:197: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:35: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:198:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:198:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^~~~ In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:201: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:35: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from osdep.c:41: env_unix.c: In function 'pwuser': env_unix.c:500: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:34: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ In file included from osdep.c:41: env_unix.c:504: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:35: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from osdep.c:41: env_unix.c:504: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:35: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from osdep.c:41: env_unix.c:504:24: 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:34: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ In file included from osdep.c:41: env_unix.c: In function 'valpwd': env_unix.c:530: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:497:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c:535: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:497:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c:538:44: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) ^ env_unix.c:497: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:569: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:497: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:587: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:497: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:626: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:626: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:629: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:629: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c: In function 'mailboxfile': env_unix.c:907:51: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:907: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:917:64: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:917: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:937:56: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:937: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:951: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:951: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:965:31: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:965: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c: In function 'dorc': env_unix.c:1397: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1397: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1410:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1410:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1411: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1411: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1413:27: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1413: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1415: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1415: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1419:29: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1419: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1427:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1427:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1428: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1428: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1430:27: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1430: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1432: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1432: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1436:29: 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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1436: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1446: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1446: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1450: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1450: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1454: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1454: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1458: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1458: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1462: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1462: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1466: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1466: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1470: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1470: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1474: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1474: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1478: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1478: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1482: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1482: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1484: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1484: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1487: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1487: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1489: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1489: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1491: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1491: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1493: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1493: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1495: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1495: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1497: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1497: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1499: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1499: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1501: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1501: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1503: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1503: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1505: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1505: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1507: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1507: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1509: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1509: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1511: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1511: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1513: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1513: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1515: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1515: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1517: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1517: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1519: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1519: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1522: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1522: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1524: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1524: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1526: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1526: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1528: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1528: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1530: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1530: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1532: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1532: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1534: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1534: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1536: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1536: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1538: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1538: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1540: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1540: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1542: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1542: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1544: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1544: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1546: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1546: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1548: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1548: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1550: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1550: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1552: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1552: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1554: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1554: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1558: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1558: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1560: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1560: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1563: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1563: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1565: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1565: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1567: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1567: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1569: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1569: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1571: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1571: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1573: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1573: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1574: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1574: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1576: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1576: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1579: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1579: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1581: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1581: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1584: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1584: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1586: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1586: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1588: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c:1588: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:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c: In function 'mm_blocknotify': env_unix.c:1635:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ret = (void *) alarm (0); ^ env_unix.c:1638:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned int) data) alarm ((unsigned int) data); ^ env_unix.c:1638:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((unsigned int) data) alarm ((unsigned int) data); ^ In file included from tcp_unix.c:21, from osdep.c:43: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:157:30: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (he = gethostbyname (lcase (strcpy (tmp,name))))) { ^~~~~~~~~~~~~~~~~ In file included from osdep.c:35: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from tcp_unix.c:21, from osdep.c:43: ip_unix.c:157:23: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] (he = gethostbyname (lcase (strcpy (tmp,name))))) { ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:30: /usr/include/netdb.h:142:24: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct hostent *gethostbyname (const char *__name); ^~~~~~~~~~~~~ osdep.c: In function 'ssl_start_work': osdep.c:421:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] TLSv1_client_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/x509.h:14, from osdep.c:232: /usr/include/openssl/ssl.h:1884:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~~ osdep.c:416:25: warning: unused variable 'scq' [-Wunused-variable] sslcertificatequery_t scq = ^~~ osdep.c:415:16: warning: unused variable 'tmp' [-Wunused-variable] char *s,*err,tmp[MAILTMPLEN]; ^~~ osdep.c:415:12: warning: unused variable 'err' [-Wunused-variable] char *s,*err,tmp[MAILTMPLEN]; ^~~ osdep.c:415:9: warning: unused variable 's' [-Wunused-variable] char *s,*err,tmp[MAILTMPLEN]; ^ osdep.c:414:9: warning: unused variable 'cert' [-Wunused-variable] X509 *cert; ^~~~ osdep.c: In function 'ssl_server_init': osdep.c:810:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] TLSv1_server_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/x509.h:14, from osdep.c:232: /usr/include/openssl/ssl.h:1883:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:879:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/x509.h:14, from osdep.c:232: /usr/include/openssl/rsa.h:235:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:187: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:41: env_unix.c: In function 'pw_login': env_unix.c:644:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^~~~~~~~~~~~~~~~~~~~ At top level: osdep.c:514:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) ^~~~~~~~~~~~~~~~~~~~~ osdep.c:499:14: warning: 'ssl_extract_cn' defined but not used [-Wunused-function] static char *ssl_extract_cn (char *name) ^~~~~~~~~~~~~~ In file included from osdep.c:43: tcp_unix.c: In function 'tcp_name': tcp_unix.c:896:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] sprintf (tmp,"Reverse DNS resolution %s",adr); ^~ ~~~ In file included from /usr/include/stdio.h:862, from osdep.c:24: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:43: tcp_unix.c:904:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] if (flag) sprintf (ret = tmp,"%s %s",t,adr); ^ In file included from /usr/include/stdio.h:862, from osdep.c:24: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c In file included from osdep.h:60, from mail.c:25: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from mail.c:25: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mail.c: In function 'mail_parameters': mail.c:344:50: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:344: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:349:50: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:349: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:354:50: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:354: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:362:26: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:362: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 mail.c:27: misc.h:98: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:711: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:711: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:712:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,v)); ^~~~~~~~~~~~~~~~~~~~~~ In file included from mail.c:27: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ mail.c:713: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:713: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:715: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:715: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:721: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:721: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:722: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:722: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:723: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:723: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:724: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:724: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:725: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:725: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:726: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:726: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:727:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:727:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; ^~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:728: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:728: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:730: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:730: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:732:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:732:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; ^~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:733: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:733: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:736: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:736: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:739: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:739: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:740:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:740:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:741:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:741:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:742:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:742:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:743:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:743:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^~~~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:744:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,s)); ^~~~~~~~~~~~~~~~~~~~~~ In file included from mail.c:27: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ mail.c:745: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:745: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:746:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:746:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^~~~~~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:747:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:747:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^~~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:748:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:748:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^~~~~~~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:750: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:750: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 mail.c:27: misc.h:98: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:923: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:923: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 mail.c:27: misc.h:98: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:1151:52: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:1151: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 mail.c:27: misc.h:98: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:1354: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 mail.c:24: mail.h:1653: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:1370: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 mail.c:24: mail.h:1652: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:1395:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ov.date = env->date; ^ mail.c: In function 'mail_fetch_header': mail.c:1613: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 mail.c:24: mail.h:1585: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:1703: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 mail.c:24: mail.h:1585: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:1757: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 mail.c:24: mail.h:1585: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:1839: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 mail.c:24: mail.h:1585: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:1899: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 mail.c:24: mail.h:1585: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:1967: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 mail.c:24: mail.h:1585: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:2181: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 mail.c:24: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mail.c:2182:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^~~~~~~~ In file included from mail.c:24: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mail.c: In function 'mail_append_multiple': mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^~~~~~~~~~~~~~~~~~~~ In file included from mail.c:27: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ mail.c:2474:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:36, from mail.c:25: /usr/include/string.h:140: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:2597: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:35, from mail.c:25: /usr/include/stdlib.h:180: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:2728: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:36, from mail.c:25: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mail.c:2728: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:428, from /usr/include/ctype.h:25, from mail.c:22: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ mail.c:2728: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 mail.c:27: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mail.c:2734: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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2738: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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2740: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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2749: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:36, from mail.c:25: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mail.c:2777: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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2795:19: 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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2797: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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2798: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:35, from mail.c:25: /usr/include/stdlib.h:180: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:3128: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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:3139: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:35, from mail.c:25: /usr/include/stdlib.h:180: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:3237: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 mail.c:27: misc.h:99: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:3368: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:2587: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:3539: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:2587: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_keyword': mail.c:3688:50: 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 mail.c:27: misc.h:99: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:3819:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^~~~~~~~~ In file included from mail.c:27: misc.h:78: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:3906: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:2710: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:4112:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (env) t = env->date; ^ mail.c:4128: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:2710: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:4420:30: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4420:39: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4423:30: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4423:37: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4426:30: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4426:37: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4429:30: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4429:42: 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 mail.c:27: misc.h:98: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:4528: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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4528:33: 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 mail.c:27: misc.h:98: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:4572:30: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4572:41: 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 mail.c:27: misc.h:98: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:4890:58: 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:2710: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:5126: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:35, from mail.c:25: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:5142: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:35, from mail.c:25: /usr/include/stdlib.h:180: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:5197:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (strcpy (flg,t)); ^~~~~~~~~~~~~~ In file included from mail.c:27: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mail.c:5229:24: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5229:26: 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 mail.c:27: misc.h:98: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:5280:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((!compare_cstring (smb.host, ~~~^~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5281:46: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5286:27: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5286:36: 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 mail.c:27: misc.h:98: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:5856:47: 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 mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5856: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 mail.c:27: misc.h:98: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:5888:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (auth->name,mechanism)) ~~~~^~~~~~ In file included from mail.c:27: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5888:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (auth->name,mechanism)) ^~~~~~~~~ In file included from mail.c:27: misc.h:98: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` misc.c In file included from osdep.h:60, from misc.c:31: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from misc.c:31: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock misc.c: In function 'compare_csizedtext': misc.c:408:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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 In file included from osdep.h:60, from newsrc.c:25: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from newsrc.c:25: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock newsrc.c: In function 'newsrc_lsub': newsrc.c:160: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:63, from osdep.h:55, from newsrc.c:25: env.h:23: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:160: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:63, from osdep.h:55, from newsrc.c:25: env.h:23: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:163: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:63, from osdep.h:55, from newsrc.c:25: env.h:23: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:163: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:63, from osdep.h:55, from newsrc.c:25: env.h:23: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:460: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 In file included from osdep.h:60, from smanager.c:25: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from smanager.c:25: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock smanager.c: In function 'sm_subscribe': smanager.c:38: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 smanager.c:26: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c:38: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 smanager.c:26: misc.h:98: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:71: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 smanager.c:26: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c:71: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 smanager.c:26: misc.h:98: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 In file included from osdep.h:60, from utf8.c:25: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from utf8.c:25: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock utf8.c:110:39: warning: missing braces around initializer [-Wmissing-braces] static const CHARSET utf8_csvalid[] = { ^ utf8.c:238:38: warning: missing braces around initializer [-Wmissing-braces] static const SCRIPT utf8_scvalid[] = { ^ utf8.c: In function 'utf8_script': utf8.c:275: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 utf8.c:26: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:275:51: 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 utf8.c:26: misc.h:98: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:291: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 utf8.c:26: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:291:52: 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 utf8.c:26: misc.h:98: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_rmap': utf8.c:397:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; ^~~~~~~ In file included from utf8.c:26: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:397:43: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; ^~~~~~ In file included from utf8.c:26: misc.h:98: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_cstext': utf8.c:504:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~ In file included from utf8.c:26: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:504:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~~~~~~~ In file included from utf8.c:26: misc.h:98: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_text_euc': utf8.c:797:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] c1 + ((unsigned int) p2->tab) : UBOGON; ^ utf8.c:812:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] c1 + ((unsigned int) p3->tab) : UBOGON; ^ utf8.c: In function 'utf8_rmap': utf8.c:465:11: warning: iteration 94 invokes undefined behavior [-Waggressive-loop-optimizations] if ((u = jis0208tab[ku][ten]) != UBOGON) { ~~~^~~~~~~~~~~~~~~~~~~~~~ utf8.c:464:2: note: within this loop for (ten = 0; ten <= MAX_JIS0208_TEN; ten++) ^~~ cc1: warning: iteration 83 invokes undefined behavior [-Waggressive-loop-optimizations] utf8.c:463:7: note: within this loop for (ku = 0; ku <= MAX_JIS0208_KU; ku++) ^~~ `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c In file included from osdep.h:60, from dummy.c:27: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from dummy.c:27: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock dummy.c: In function 'dummy_valid': dummy.c:117: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:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:117: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:31: misc.h:98: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:177:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) ^~~~ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dummy.c:177:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) ^~~~~~~ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:208: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:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:208: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:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:209:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^~~~~~~~~~~~~~~~~ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dummy.c:209:12: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^~~~~~~ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:211: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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:211: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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:214: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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:214: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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:263:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/')) ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:263:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/')) ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:270:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((int) mail_parameters (NIL,GET_HIDEDOTFILES,NIL)) ? NIL : ^ dummy.c:278:20: 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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:278:24: 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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:279:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^~~~~~~~~~~~~~~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:279:37: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:279:57: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ dummy.c:279:61: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ dummy.c:287:23: 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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:287:27: 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:63, from osdep.h:55, from dummy.c:27: env.h:23: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:292:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (strcat (tmp,"/"),pat,'/') && ^~~~~~~~~~~~~~~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:292:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (strcat (tmp,"/"),pat,'/') && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:295:18: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (tmp,pat,'/') && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ dummy.c:295:22: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (tmp,pat,'/') && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ dummy.c:302:51: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:302:55: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && ^~~ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23: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:303:20: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (tmp,"INBOX")) ^~~ In file included from dummy.c:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:303:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (tmp,"INBOX")) ^~~~~~~ In file included from dummy.c:31: misc.h:98: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:389: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:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:389: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:31: misc.h:98: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_path': dummy.c:433:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters(NIL,GET_MBXPROTECTION,NIL))) >= 0) ^ dummy.c: In function 'dummy_rename': dummy.c:495: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:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:495: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:31: misc.h:98: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:524:32: 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:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:524: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:31: misc.h:98: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:628: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:26: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ dummy.c:629: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:26: mail.h:1652: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:649:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && ^~~~~~~ In file included from dummy.c:31: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:649:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && ^~~~~~~ In file included from dummy.c:31: misc.h:98: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_contents': dummy.c:335:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:60, from dummy.c:27: dummy.c: In function 'dummy_listed': flocksim.h:50:4: warning: 'csiz' may be used uninitialized in this function [-Wmaybe-uninitialized] dummy_scan_contents (name,contents,csiz,fsiz) ^~~~~~~~~~~~~~~~~~~ dummy.c:362:17: note: 'csiz' was declared here unsigned long csiz; ^~~~ dummy.c: In function 'dummy_delete': dummy.c:454:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] sprintf (tmp,"Can't delete - invalid name: %.80s",s); ^~~~~ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c In file included from osdep.h:60, from netmsg.c:26: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from netmsg.c:26: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock `cat CCTYPE` -c `cat CFLAGS` flstring.c In file included from osdep.h:60, from flstring.c:24: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from flstring.c:24: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock `cat CCTYPE` -c `cat CFLAGS` fdstring.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:35, from fdstring.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from osdep.h:60, from fdstring.c:22: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from fdstring.c:22: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock fdstring.c: In function 'fd_string_init': fdstring.c:48:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] s->data = (void *) d->fd; /* note fd */ ^ fdstring.c: In function 'fd_string_setpos': fdstring.c:87:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lseek ((int) s->data,s->data1 + s->offset,L_SET); ^ fdstring.c:88:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] read ((int) s->data,s->curpos,(size_t) s->cursize); ^ fdstring.c:88:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read ((int) s->data,s->curpos,(size_t) s->cursize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:58: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 In file included from osdep.h:60, from rfc822.c:33: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from rfc822.c:33: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock rfc822.c: In function 'rfc822_header': rfc822.c:97:45: warning: pointer targets in passing argument 4 of 'rfc822_header_line' differ in signedness [-Wpointer-sign] rfc822_header_line (&header,"Date",env,env->date); ~~~^~~~~~ In file included from rfc822.c:34: rfc822.h:41:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_header_line (char **header,char *type,ENVELOPE *env,char *text); ^~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:385:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); /* coerce to uppercase */ ^~~ In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:411:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' 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:683:56: 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 rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:683: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 rfc822.c:34: rfc822.h:52: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:750: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 rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:750:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ rfc822.c:764: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 rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:788:18: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase (rfc822_cpy(s));/* search for body type */ ^~~~~~~~~~~~~ In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:788:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] s = ucase (rfc822_cpy(s));/* search for body type */ ^ rfc822.c:803: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 rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:803:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ rfc822.c:816:18: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase (rfc822_cpy(s));/* search for body encoding */ ^~~~~~~~~~~~~ In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:816:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] s = ucase (rfc822_cpy(s));/* search for body encoding */ ^ rfc822.c:823:52: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] else body_encodings[body->encoding] = ucase (cpystr (s)); ^~~~~~~~~~ In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:823:43: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] else body_encodings[body->encoding] = ucase (cpystr (s)); ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:850:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^~~~~~~~~~ In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:850:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ `cat CCTYPE` -c `cat CFLAGS` nntp.c In file included from osdep.h:60, from nntp.c:25: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from nntp.c:25: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock nntp.c: In function 'nntp_list': nntp.c:358: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:63, from osdep.h:55, from nntp.c:25: env.h:23: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:358: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:63, from osdep.h:55, from nntp.c:25: env.h:23: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:361: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:63, from osdep.h:55, from nntp.c:25: env.h:23: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:361: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:63, from osdep.h:55, from nntp.c:25: env.h:23: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 nntp.c:28: nntp.c: In function 'nntp_lsub': nntp.c:393: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:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23: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 nntp.c:28: nntp.c:393: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:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23: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:562: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:29: newsrc.h:34:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^~~~~~~~~~~~~~~~ nntp.c:571: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:29: newsrc.h:34: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:727: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) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net_host (nstream->netstream) : mb.host)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nntp.c:28: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ nntp.c:737:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf (tmp,"{%s:%lu/nntp",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ nntp.c: In function 'nntp_fetchfast': nntp.c:845: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 nntp.c:24: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ nntp.c:846:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from nntp.c:24: mail.h:1652: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:888: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 nntp.c:24: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ nntp.c:888: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 nntp.c:24: mail.h:1652: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:991:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:991:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from osdep.h:36, from nntp.c:25: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ nntp.c: In function 'nntp_parse_overview': nntp.c:1037:45: 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 nntp.c:24: mail.h:1589: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:1312:29: 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 nntp.c:24: mail.h:1589: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:1524: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 nntp.c:24: mail.h:1589: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_open_full': nntp.c:1676:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] stream->host = cpystr ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ nntp.c:1729:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ nntp.c:1731:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] strncpy (mb.host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ nntp.c:1754:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ nntp.c:1755:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] strncpy (mb.host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ nntp.c: In function 'nntp_extensions': nntp.c:1806: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1806: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1807: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1807: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1808: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1808: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1809: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1809: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1810: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1810: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1811: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1811: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1813: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1813: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1816: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 nntp.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1816: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 nntp.c:28: misc.h:98: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:1897:22: 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:36, from nntp.c:25: /usr/include/string.h:330:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ nntp.c: In function 'nntp_send_auth': nntp.c:1980:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf (tmp,"{%.200s/nntp",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ nntp.c:1981:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ nntp.c: In function 'nntp_mopen': nntp.c:756: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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) k,f); ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1092:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned char *) fs_get ((size_t) *size + 3), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) *size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c In file included from osdep.h:60, from smtp.c:32: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from smtp.c:32: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock smtp.c: In function 'smtp_open_full': smtp.c:161:36: 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 smtp.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:161: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 smtp.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:174:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] stream->host = cpystr ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ smtp.c:179: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 smtp.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:179:37: 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 smtp.c:35: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:230:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ smtp.c:233:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ smtp.c: In function 'smtp_mail': smtp.c:438:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ smtp.c:439:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ smtp.c: In function 'smtp_ehlo': smtp.c:658:12: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (strncpy (tmp,stream->reply+4,MAILTMPLEN-1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smtp.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c In file included from osdep.h:60, from imap4r1.c:33: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from imap4r1.c:33: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock In file included from imap4r1.c:36: imap4r1.c: In function 'imap_lsub': imap4r1.c:487: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:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from imap4r1.c:33: env.h:23: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 imap4r1.c:36: imap4r1.c:487: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:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:63, from osdep.h:55, from imap4r1.c:33: env.h:23: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:546: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:546: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:548: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:548: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:560:56: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:561:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c: In function 'imap_manage': imap4r1.c:663:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && ^~ imap4r1.c:684:18: 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 imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_open': imap4r1.c:852:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:853:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:853:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:854:31: 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 imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:859:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:883:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ imap4r1.c:885:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] strncpy (mb.host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL)? ^ imap4r1.c:931:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf (tmp,"{%s",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ imap4r1.c:963:38: 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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:963: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:973: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 imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_rimap': imap4r1.c:1019:61: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:1023:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:1023:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c: In function 'imap_anon': imap4r1.c:1059: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1061: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1076:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502: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:1126: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1127: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1136:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] lsterr = cpystr (reply->text); ~~~~~^~~~~~ In file included from imap4r1.c:36: misc.h:80: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:1188:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_challenge': imap4r1.c:1218:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:1223:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (reply->text),len))) { ~~~~~^~~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:385: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:1280: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 imap4r1.c:32: mail.h:1502: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:1320:45: 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 imap4r1.c:32: mail.h:1502: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:1341:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502: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:1394:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ov.date = env->date; ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1442:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1567:22: 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 imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1569:20: 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 imap4r1.c:32: mail.h:1502: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:1799:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1809:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1818:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1822:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502: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:1875:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502: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:1911:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502: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:1952:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_search': imap4r1.c:2019:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2038:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2044:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:2080: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 imap4r1.c:32: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_sort': imap4r1.c:2142:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2149:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2158:23: 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 imap4r1.c:32: mail.h:1502: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:2243:32: 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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2243: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 imap4r1.c:36: misc.h:98: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_thread_work': imap4r1.c:2303:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2310:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2318:21: 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 imap4r1.c:32: mail.h:1502: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:2342:16: 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 imap4r1.c:32: mail.h:1502: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:2353:16: 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 imap4r1.c:32: mail.h:1502: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:2381:62: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && ^~~~~~~~ In file included from imap4r1.c:32: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ imap4r1.c:2384:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502: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:2436: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 imap4r1.c:32: mail.h:1502: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:2497:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from imap4r1.c:32: mail.h:1502: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:2527: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 imap4r1.c:32: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ imap4r1.c:2531:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ imap4r1.c:2532:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ imap4r1.c:2533:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ imap4r1.c:2543:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2729:23: 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 imap4r1.c:32: mail.h:1502: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:2753:23: 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 imap4r1.c:32: mail.h:1502: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:2775:23: 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 imap4r1.c:32: mail.h:1502: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:2798:23: 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 imap4r1.c:32: mail.h:1502: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:2835: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2835: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2836:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2836:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2837:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2837:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2990:45: 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 imap4r1.c:32: mail.h:1589: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_literal': imap4r1.c:3115:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c: In function 'imap_reply': imap4r1.c:3450:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3452:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3457: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 imap4r1.c:36: misc.h:98: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:3482:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ imap4r1.c:3488:43: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (LOCAL->reply.line); ^ In file included from imap4r1.c:32: mail.h:1503:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c:3489:57: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = (char *) strtok (LOCAL->reply.line," "))) { ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imap4r1.c:3489:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = (char *) strtok (LOCAL->reply.line," "))) { ^ imap4r1.c:3495:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3497:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.key = (char *) strtok (NIL," "))) { ^ imap4r1.c:3507:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = (char *) strtok (NIL,"\n"))) ^ imap4r1.c:3508:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap4r1.c:3511:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ imap4r1.c:3512:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = (char *) strtok (NIL,"\n"))) ^ imap4r1.c:3513:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.text = ""; ^ imap4r1.c: In function 'imap_fake': imap4r1.c:3533:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ imap4r1.c:3534:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ imap4r1.c:3535:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.text = text; ^ imap4r1.c: In function 'imap_OK': imap4r1.c:3550:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3551:38: 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:221: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:3555:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3556:38: 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:221: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:3558:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3559:40: 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:221: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:3582:27: 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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3596:38: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] s = ucase ((char *) strtok (reply->text," ")); ~~~~~^~~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imap4r1.c:3596:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase ((char *) strtok (reply->text," ")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:3598:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] t = (char *) strtok (NIL,"\n"); ^ imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3622:39: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] while (prop = ((char *) strtok (t," )"))) { ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imap4r1.c:3623:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] t = (char *) strtok (NIL,"\n"); ^ imap4r1.c:3627: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 imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^~~~~~~~~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3635: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 imap4r1.c:32: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ imap4r1.c:3641: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3682:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ imap4r1.c:3684:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ imap4r1.c:3686: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:36, from imap4r1.c:33: /usr/include/string.h:140:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ imap4r1.c:3687:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ~^~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3697:31: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ~~^~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:3697:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3702:24: 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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3745: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3783:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3784:63: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] (*reply->text == '(') && (s = (char *) strtok (reply->text+1," )"))) ~~~~~~~~~~~^~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imap4r1.c:3784:33: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (*reply->text == '(') && (s = (char *) strtok (reply->text+1," )"))) ^ imap4r1.c:3787:44: 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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3793: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 imap4r1.c:36: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imap4r1.c:3795:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while (s = (char *) strtok (NIL," )")); ^ imap4r1.c:3796:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3798:51: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (reply->text && (t = (char *) strtok (reply->text," "))) do ~~~~~^~~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imap4r1.c:3798:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (reply->text && (t = (char *) strtok (reply->text," "))) do ^ imap4r1.c:3799: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3808:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] } while (t = (char *) strtok (NIL," ")); ^ imap4r1.c:3810:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3818:51: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (reply->text && (t = (char *) strtok (reply->text," "))) { ~~~~~^~~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imap4r1.c:3818:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (reply->text && (t = (char *) strtok (reply->text," "))) { ^ imap4r1.c:3819: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:428, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/stdlib.h:366:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^~~~~ imap4r1.c:3822:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while ((t = (char *) strtok (NIL," ")) && ^ imap4r1.c:3829:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3844:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3848:53: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:3848:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:3854:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:3854:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:3857: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3858: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3862: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3866: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3870: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3874: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3883: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:428, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ imap4r1.c:3891:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3891:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3893:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ~~~~~^~~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:3893:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:3897:41: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (t = (char *) strtok (reply->text+1," ")) do { ~~~~~~~~~~~^~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imap4r1.c:3897:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (t = (char *) strtok (reply->text+1," ")) do { ^ imap4r1.c:3898: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3899: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3900: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3901: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3902: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3903: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3906:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while (t = (char *) strtok (NIL," ")); ^ imap4r1.c:3920:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ imap4r1.c:3920:13: 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:428, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/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:3923: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 imap4r1.c:32: mail.h:1500:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^~~~~~~ imap4r1.c:3924: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 imap4r1.c:32: mail.h:1499:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^~~~~~~ imap4r1.c:3928:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3951:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3957:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ imap4r1.c:3959:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ac->rights = imap_parse_astring (stream,&s,reply,NIL); ^ imap4r1.c:3968:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,al); ^ imap4r1.c:3968:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:3972:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:3972:32: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:3976:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3980:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ imap4r1.c:3982:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:3996: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:3996:31: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4001: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:4001:29: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4019:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4023:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4029:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4029:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4041:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4052:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ imap4r1.c:4054:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] qc->usage = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4056:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] qc->limit = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4061:30: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4061:30: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4080:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4095:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4095:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4106:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4106:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4107:38: 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:221: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:4108:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4109:38: 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:221: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:4110:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4111:38: 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:221: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:4112:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4114:38: 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:221: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:4116:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4117:42: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ~~~~~^~~~~~ imap4r1.c:256:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4118:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ~~~~~^~~~~ In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4120:42: 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:36, from imap4r1.c:33: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap4r1.c:4121:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ imap4r1.c:4121:18: 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:428, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/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:4123: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 imap4r1.c:32: mail.h:1499: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:4153:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4153:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && ^~~~~~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4161:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4161:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) ^~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4163:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4163:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && ^~~~~~~~~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4171: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4171: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4172: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4172: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4174: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4174: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4176: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4176: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4178: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4178: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4185:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4185:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) ^~~~~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4189:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (LOCAL->tmp,"REFERRAL")) ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4189:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (LOCAL->tmp,"REFERRAL")) ^~~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4194:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4194:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { ^~~~~~~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4198:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4198:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; ^~~~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4199:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4199:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) ^~~~~~~~~~~~ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4201:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) ^ In file included from imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4201:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) ^~~~~~~ In file included from imap4r1.c:36: misc.h:98: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:4243:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ imap4r1.c:4268:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ imap4r1.c:4280:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, ^ In file included from imap4r1.c:29: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4353:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ imap4r1.c:4355: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180: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:4439:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4446:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:4448:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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:4544:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4545:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4546:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4547:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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:4632:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ imap4r1.c:4640: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4640: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4641: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4641: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4642: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4642: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4643: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4643: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4644: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4644: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4645: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4645: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 imap4r1.c:36: misc.h:98: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:4669: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4669:50: 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 imap4r1.c:36: misc.h:98: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:4702: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:428, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ imap4r1.c:4702:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:4743:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] st = ++*txtptr; /* remember start of string */ ^ imap4r1.c:4762:9: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return string; ^~~~~~ imap4r1.c:4792:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (*txtptr,(char **) txtptr,10)) > 0x7fffffff) { ^~~~~~~ In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4822:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:4823:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:4824:38: 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 imap4r1.c:32: mail.h:1503:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c:4834:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return string; ^~~~~~ imap4r1.c: In function 'imap_cache': imap4r1.c:4892: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 imap4r1.c:32: mail.h:1585: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:4969:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:4970:13: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); ~~~~^~~~~~~~~ In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:4988:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5009:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5010: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 imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5019:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5020:13: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); /* parse subtype */ ~~~~^~~~~~~~~ In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5027:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5028:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5030:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5031: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 imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5044: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5054: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5060:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5073:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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:5121:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5127:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ ^ imap4r1.c:5149:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ((*(s = *txtptr) == 'I') || (*s == 'i')) && ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5173:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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:5216:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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:5284: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5289:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5290:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5291:38: 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 imap4r1.c:32: mail.h:1503:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c:5296: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:35, from imap4r1.c:33: /usr/include/stdlib.h:180: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:5330: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5330: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5332: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5332: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5334: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5334: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5335: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5335: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5337: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5337: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5338: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5338: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5339: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5339: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5340: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5340: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5341: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5341: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5342: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5342: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5343: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5343: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5344: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5344: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5345: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5345: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5346: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5346: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5347: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5347: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5348: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5348: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5349: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5349: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5350: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5350: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5351: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5351: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5352: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5352: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5353: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5353: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5361: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5361: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5368: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5368: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5371: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 imap4r1.c:36: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5371: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 imap4r1.c:36: misc.h:98: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` pop3.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:35, from pop3.c:23: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from osdep.h:60, from pop3.c:23: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from pop3.c:23: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock pop3.c: In function 'pop3_valid': pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^~~~~~~~~~~~~~~~~~~~~~~ In file included from pop3.c:28: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ pop3.c:176:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:36, from pop3.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from pop3.c:28: pop3.c: In function 'pop3_scan': pop3.c:229:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^~~~~~~ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c:229:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^~~ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c:230: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:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c:230: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:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c: In function 'pop3_list': pop3.c:245: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:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c:245: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:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c:250: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:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c:250: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:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c: In function 'pop3_lsub': pop3.c:276: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:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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 pop3.c:28: pop3.c:276: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:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23: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_open': pop3.c:418:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ pop3.c: In function 'pop3_capa': pop3.c:496: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:496: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:497: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:497: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:498: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:498: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:499: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:499: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:500: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:500: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 pop3.c:28: misc.h:98: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,"USER")) LOCAL->cap.user = T; ^ In file included from pop3.c:28: misc.h:98: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,"USER")) LOCAL->cap.user = T; ^~~~~~ In file included from pop3.c:28: misc.h:98: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,"IMPLEMENTATION") && args) ^ In file included from pop3.c:28: misc.h:98: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,"IMPLEMENTATION") && args) ^~~~~~~~~~~~~~~~ In file included from pop3.c:28: misc.h:98: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,"EXPIRE") && args) { ^ In file included from pop3.c:28: misc.h:98: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,"EXPIRE") && args) { ^~~~~~~~ In file included from pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:512: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:512: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:513: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:513: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:515: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:515: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:523: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:523: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:526: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 pop3.c:28: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:526: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 pop3.c:28: misc.h:98: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_auth': pop3.c:600:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ pop3.c:602:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] strncpy (mb->host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ pop3.c: In function 'pop3_fetchfast': pop3.c:779: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 pop3.c:22: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ pop3.c:780:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from pop3.c:22: mail.h:1652: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:843:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = (unsigned char *) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs_get ((size_t) elt->private.msg.header.text.size + 1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) elt->private.msg.header.text.size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c In file included from osdep.h:60, from unix.c:40: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from unix.c:40: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock unix.c: In function 'unix_valid': unix.c:204:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime unix.c: In function 'unix_create': unix.c:311:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { ^ unix.c: In function 'unix_open': unix.c:438:43: 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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:438: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:450:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = CHUNK) + 1); ^ unix.c:477:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] chmod (LOCAL->lname,(int) mail_parameters (NIL,GET_LOCKPROTECTION,NIL)); ^ unix.c: In function 'unix_header': unix.c:590:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:604:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c:612:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^ In file included from unix.c:39: mail.h:1599:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^~~~~~~~~~~ unix.c:613:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; /* return processed copy */ ^ unix.c: In function 'unix_text_work': unix.c:662:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:674:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; ^ unix.c:690:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ unix.c:693:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (CHR (&bs)) { ^ unix.c: In function 'unix_expunge': unix.c:804:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ unix.c: In function 'unix_copy': unix.c:836: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:39: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ unix.c:837: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:39: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ unix.c:841:27: 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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:841:35: 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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:852:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:853:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ unix.c:853:18: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:857:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:858:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ unix.c:858:18: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:866:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:867:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^ unix.c:867:18: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:877:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:55, from unix.c:40: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ unix.c:884:34: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL); ^ unix.c:121:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:885:23: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55, from unix.c:40: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ unix.c:894:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:907:26: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ unix.c:907:26: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'unix_append': unix.c:947:27: 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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:947:35: 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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:978: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:39: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ unix.c:936:15: warning: unused variable 'tstream' [-Wunused-variable] MAILSTREAM *tstream = NIL; ^~~~~~~ unix.c: In function 'unix_parse': unix.c:1256: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1257:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ unix.c:1257:13: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1266: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1268:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ unix.c:1268:13: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1280:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ unix.c:1289:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c:1293: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1295:10: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ unix.c:1295:10: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1344: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1345:12: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ unix.c:1345:12: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1349:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ unix.c:1366:24: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:303:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ unix.c:1366:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1366: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:36, from unix.c:40: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ unix.c:1372:52: 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:46: misc.h:99:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ unix.c:1420:22: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:303:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ unix.c:1420:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1426: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ unix.c:1454: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1459: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1464:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu greater than last %lu", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1471:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ unix.c:1471:13: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1527: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1528: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1529: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1530: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1531: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1532: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1555:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ unix.c:1580:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c: In function 'unix_rewrite': unix.c:1837:65: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^ unix.c:1722:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:1844:28: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,flag) + ^ unix.c:1748:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:1851:37: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] size = unix_pseudo (stream,LOCAL->buf); ^ unix.c:1722:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:1871:58: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:1722:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:1871:27: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:125:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:1887:34: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,flag)))) { ^ unix.c:1748:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:1901:24: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^ unix.c:125:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:1915:39: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,flag)); ^ unix.c:1748:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:1914:24: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf, ^ unix.c:125:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:1997:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:1998:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ unix.c:1998:20: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'unix_extend': unix.c:2019:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ unix.c:2024:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:55, from unix.c:40: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ unix.c:2030:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:2031:38: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ unix.c:2031:38: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'mbox_valid': unix.c:2218: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:46: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:2218: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:46: misc.h:98: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:2354:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:2356:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ unix.c:2356:15: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:2368:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:2369:17: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ unix.c:2369:17: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:2375:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:2377:17: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ unix.c:2377:17: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:2393:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/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:2398:24: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] else MM_LOG (LOCAL->buf,WARN); ^ unix.c:2398:24: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'unix_open': unix.c:483: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:594: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:604: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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:666: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:876: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:895: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:1027: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:1891: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:1984: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:2027: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:2361: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:2371:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2379:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2390:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1534:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:862, from unix.c:34: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from osdep.h:60, from mbx.c:34: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from mbx.c:34: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mbx.c: In function 'mbx_isvalid': mbx.c:190:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((s = mbx_file (tmp,name)) && !stat (s,&sbuf) && ^ mbx.c:190:43: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if ((s = mbx_file (tmp,name)) && !stat (s,&sbuf) && ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/sys/stat.h:449:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ mbx.c:209:38: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:209:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:212:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:212:68: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); ^ In file included from mbx.c:39: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ mbx.c:220:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (tmp,tp); /* set the times */ ^~~~~ utimes mbx.c:224: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 mbx.c:39: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:224: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 mbx.c:39: misc.h:98: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_create': mbx.c:308:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { ^ mbx.c: In function 'mbx_rename': mbx.c:417: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:39: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:417: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:39: misc.h:98: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:498:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); ^ mbx.c:503:43: 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:39: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:503: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:39: misc.h:98: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:591: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:33: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:592: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:33: mail.h:1652: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:620:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mbx.c:623:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_text': mbx.c:72:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:640:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->text.data; ^~~~~ mbx.c:671:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->text.data,i); ^ mbx.c: In function 'mbx_ping': mbx.c:773:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:774:17: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c:774:17: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_expunge': mbx.c:806:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:807:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c:807:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:810:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:811:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c:811:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_snarf': mbx.c:848:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mbx.c:33: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mbx.c:849:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:849:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:855:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:855:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c:871:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:872:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:872:15: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_copy': mbx.c:905:43: warning: pointer targets in passing argument 3 of 'mbx_isvalid' differ in signedness [-Wpointer-sign] if (!mbx_isvalid (&dstream,mailbox,LOCAL->buf)) switch (errno) { ^ mbx.c:181:5: note: expected 'char *' but argument is of type 'unsigned char *' int mbx_isvalid (MAILSTREAM **stream,char *name,char *tmp) ^~~~~~~~~~~ mbx.c:911:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:912:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:912:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:916:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:917:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:917:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:920: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:33: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:921: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:33: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mbx.c:925:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:926:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:926:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:944:22: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date(LOCAL->buf,elt);/* build target header */ ^ In file included from mbx.c:33: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mbx.c:949: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:39: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:949: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:39: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:950:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:950:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:956:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:956:33: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) ^ In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c:959:25: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = write (fd,LOCAL->buf,j) >= 0; ^ In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c:964:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:965:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:965:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_append': mbx.c:1014:27: 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:39: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:1014:35: 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:39: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:1059: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:33: mail.h:1589: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:1156:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^ In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1159:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf + 15,NIL,16); ^ In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1163:41: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1163:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1166: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:36, from mbx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:1167: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:39: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ mbx.c:1177:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^ In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1194:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1194:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1203:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1203:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1203:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ~^~ In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1203:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1233: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:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1251:24: 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:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1267:24: 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:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1301: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:35, from mbx.c:34: /usr/include/stdlib.h:180: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:1383:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1385:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:57, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1392:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1393:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:57, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1397:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1400:22: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:57, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1404:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf+9,NIL,16); ^ In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1413:40: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^ In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180: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:72:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1429:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->buf; ^~~~~ mbx.c:1440:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1444:37: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, ^ In file included from osdep.h:55, from mbx.c:34: env_unix.h:91: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:1467:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1469:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:57, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1476:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1477:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:57, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1481:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1484:24: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:57, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1489:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^ In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1487:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/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:1497:33: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^ In file included from osdep.h:55, from mbx.c:34: env_unix.h:91: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:1545:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1552:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1562:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ ^ mbx.c: In function 'mbx_rewrite': mbx.c:1643:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:55, from mbx.c:34: env_unix.h:91: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:623: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_text': mbx.c:671:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->text.data,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:873: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:958:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:966: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:1083: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:1151: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:1639:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1663: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 In file included from osdep.h:60, from mmdf.c:28: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from mmdf.c:28: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mmdf.c: In function 'mmdf_isvalid': mmdf.c:372:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime mmdf.c: In function 'mmdf_create': mmdf.c:468:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { ^ mmdf.c: In function 'mmdf_open': mmdf.c:594:43: 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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:594: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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:606:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = CHUNK) + 1); ^ mmdf.c:633:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] chmod (LOCAL->lname,(int) mail_parameters (NIL,GET_LOCKPROTECTION,NIL)); ^ mmdf.c: In function 'mmdf_header': mmdf.c:746:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:760:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c:768:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^ In file included from mmdf.c:27: mail.h:1599:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^~~~~~~~~~~ mmdf.c:769:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; /* return processed copy */ ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:818:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:830:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; ^ mmdf.c:846:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ mmdf.c:849:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (CHR (&bs)) { ^ mmdf.c: In function 'mmdf_expunge': mmdf.c:961:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:994: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:27: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mmdf.c:995: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:27: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mmdf.c:999:27: 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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:999:35: 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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1010:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1011:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:1011:18: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1015:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1016:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:1016:18: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1024:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1025:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^ mmdf.c:1025:18: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1035:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mmdf.c:1042:34: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL); ^ mmdf.c:278:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:1043:23: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mmdf.c:1053:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1066:26: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:1066:26: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c: In function 'mmdf_append': mmdf.c:1106:27: 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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1106:35: 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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1137: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:27: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append_msg': mmdf.c:1232:15: warning: operation on 'c' may be undefined [-Wsequence-point] while ((c = (SIZE (msg)) ? (c = 0xff & SNX (msg)) : '\n') == '\r'); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_parse': mmdf.c:1410: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1411:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ mmdf.c:1411:13: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1420: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1422:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ mmdf.c:1422:13: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1434:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mmdf.c:1443:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1447: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1453:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1458:14: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ mmdf.c:1458:14: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1475:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1511: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1512:14: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ mmdf.c:1512:14: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1528:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1549:24: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:303:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ mmdf.c:1549:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1549: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:36, from mmdf.c:28: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mmdf.c:1555:52: 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:33: misc.h:99:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ mmdf.c:1603:22: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:303:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ mmdf.c:1603:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1609: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ mmdf.c:1637: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1642: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1647:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu greater than last %lu", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:1654:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ mmdf.c:1654:13: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1710: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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1711: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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1712: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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1713: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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1714: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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1715: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:33: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1738:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ mmdf.c:1762:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1777:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2025:65: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^ mmdf.c:1910:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:2032:28: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,flag) + ^ mmdf.c:1936:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:2039:37: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] size = mmdf_pseudo (stream,LOCAL->buf); ^ mmdf.c:1910:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:2059:58: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:1910:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:2059:27: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:282:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:2075:34: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,flag)))) { ^ mmdf.c:1936:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:2089:24: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:282:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:2103:39: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,flag)); ^ mmdf.c:1936:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:2102:24: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf, ^ mmdf.c:282:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:2168:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:2169:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:2169:20: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c: In function 'mmdf_extend': mmdf.c:2190:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ mmdf.c:2195:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mmdf.c:2201:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/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:2202:38: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:2202:38: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c: In function 'mmdf_open': mmdf.c:639: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:750: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:760: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), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:822: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:1034: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:1054: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:1185: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:2079: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:2155: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:2198:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_parse': mmdf.c:1717:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:862, from mmdf.c:22: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c In file included from osdep.h:60, from tenex.c:39: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from tenex.c:39: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock tenex.c: In function 'tenex_isvalid': tenex.c:198:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ stime tenex.c:203: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:41: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:203: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:41: misc.h:98: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:341: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:41: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:341: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:41: misc.h:98: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:418:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); ^ tenex.c:424:43: 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:41: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.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 tenex.c:41: misc.h:98: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:491: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:38: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:492: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:38: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:502:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); ^ tenex.c: In function 'tenex_flags': tenex.c:529: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:38: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:530: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:38: mail.h:1652: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:555:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:565: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:58, from tenex.c:39: nl.h:24:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ tenex.c:568:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; ^ tenex.c: In function 'tenex_text': tenex.c:600:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:623: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:58, from tenex.c:39: nl.h:24: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:765:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from tenex.c:38: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ tenex.c:766:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ tenex.c:766:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:772:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ tenex.c:772:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ tenex.c:788:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:789:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:789:15: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c: In function 'tenex_expunge': tenex.c:879:30: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ tenex.c:894:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:896:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ tenex.c:896:20: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:900:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:902:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ tenex.c:902:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c: In function 'tenex_copy': tenex.c:940:36: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ tenex.c:168:5: note: expected 'char *' but argument is of type 'unsigned char *' int tenex_isvalid (char *name,char *tmp) ^~~~~~~~~~~~~ tenex.c:948:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:949:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:949:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:953:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:954:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:954:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:957: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:38: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:958: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:38: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:961:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:962:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:962:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:984:21: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ tenex.c:989:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:990:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:990:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c: In function 'tenex_append': tenex.c:1045: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:41: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:1045: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:41: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:1091: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:38: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ tenex.c: In function 'tenex_parse': tenex.c:1210:28: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ tenex.c:1210:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1219:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ tenex.c:1219:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1219:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ~^~ In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ tenex.c:1219:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1242: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:35, from tenex.c:39: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ tenex.c:1266: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:35, from tenex.c:39: /usr/include/stdlib.h:180: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:1344:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:1345:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:57, from tenex.c:39: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ tenex.c:1353:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:35, from tenex.c:39: /usr/include/stdlib.h:180: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:1379:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/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:1387:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:55, from tenex.c:39: env_unix.h:91: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:1422:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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:507: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:558:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length = i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:563: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:605:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:620: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:790: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:874:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:899:5: 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:983:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:991: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:1119: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:1422: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 In file included from osdep.h:60, from mtx.c:34: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from mtx.c:34: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mtx.c: In function 'mtx_isvalid': mtx.c:192:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ utimes mtx.c:197: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:38: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:197: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:38: misc.h:98: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:335: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:38: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:335: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:38: misc.h:98: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:413:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); ^ mtx.c:418:43: 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:38: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:418: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:38: misc.h:98: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:482: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:33: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:483: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:33: mail.h:1652: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:506:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mtx.c:511:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; ^ mtx.c: In function 'mtx_snarf': mtx.c:692:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mtx.c:33: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mtx.c:693:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mtx.c:693:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:699:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mtx.c:699:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mtx.c:715:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:716:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:716:15: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c: In function 'mtx_expunge': mtx.c:805:30: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mtx.c:820:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:822:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ mtx.c:822:20: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:826:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:828:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ mtx.c:828:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c: In function 'mtx_copy': mtx.c:866:34: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ mtx.c:162:5: note: expected 'char *' but argument is of type 'unsigned char *' int mtx_isvalid (char *name,char *tmp) ^~~~~~~~~~~ mtx.c:874:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:875:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:875:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:879:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:880:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:880:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:883: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:33: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:884: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:33: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mtx.c:887:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:888:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:888:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:910:21: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mtx.c:915:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:916:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:916:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c: In function 'mtx_append': mtx.c:971: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:38: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:971: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:38: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:1017: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:33: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mtx.c: In function 'mtx_parse': mtx.c:1114:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mtx.c:1114:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1123:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mtx.c:1123:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1123:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ~^~ In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mtx.c:1123:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1146: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:35, from mtx.c:34: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mtx.c:1170: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:35, from mtx.c:34: /usr/include/stdlib.h:180: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:1248:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:1249:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:57, from mtx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mtx.c:1257:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:35, from mtx.c:34: /usr/include/stdlib.h:180: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:1283:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/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:1291:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:55, from mtx.c:34: env_unix.h:91: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:510: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_text': mtx.c:551:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->text.data,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:717: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:800:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:825:5: 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:909:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:917: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:1038: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 In file included from osdep.h:60, from news.c:27: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from news.c:27: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock news.c: In function 'news_list': news.c:222: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:63, from osdep.h:55, from news.c:27: env.h:23: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:222: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:63, from osdep.h:55, from news.c:27: env.h:23: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:225: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:63, from osdep.h:55, from news.c:27: env.h:23: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:225: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:63, from osdep.h:55, from news.c:27: env.h:23: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_open': news.c:347:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~ In file included from osdep.h:39, from news.c:27: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:347:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~~ In file included from osdep.h:39, from news.c:27: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ news.c:353:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); ^ news.c: In function 'news_fast': news.c:436: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:26: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ news.c:437: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:26: mail.h:1652: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:453: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:26: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ news.c:453: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:26: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ news.c: In function 'news_header': news.c:485:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from news.c:22: /usr/include/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:486:26: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; ^ In file included from /usr/include/fcntl.h:313, from osdep.h:41, from news.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ news.c:498:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ news.c: In function 'news_valid': news.c:146: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:213: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_header': news.c:501:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` phile.c In file included from osdep.h:60, from phile.c:28: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from phile.c:28: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock phile.c: In function 'phile_open': phile.c:297:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ phile.c:319: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:58, from phile.c:28: nl.h:24:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ phile.c:309: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 In file included from osdep.h:60, from mh.c:27: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from mh.c:27: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mh.c: In function 'mh_isvalid': mh.c:161:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { ~~~~^~ In file included from mh.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:161:52: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { ^~~~~~~ In file included from mh.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ mh.c:187:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^~~~~~~~~ In file included from osdep.h:36, from mh.c:27: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ mh.c: In function 'mh_list': mh.c:288: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:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:288:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MHINBOX")) ^~~~~~~~~~ In file included from mh.c:32: misc.h:98: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:305: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:63, from osdep.h:55, from mh.c:27: env.h:23: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:305: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:63, from osdep.h:55, from mh.c:27: env.h:23: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:337: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:63, from osdep.h:55, from mh.c:27: env.h:23: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:337: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:63, from osdep.h:55, from mh.c:27: env.h:23: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:339: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:63, from osdep.h:55, from mh.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ mh.c:339: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:63, from osdep.h:55, from mh.c:27: env.h:24: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:513:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); ~~~~~~^~~~~~~~~ In file included from mh.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:513:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); ^~~~~~~~~~ In file included from mh.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:517:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); ^ mh.c: In function 'mh_fast': mh.c:562: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:26: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:563: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:26: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mh.c: In function 'mh_header': mh.c:595:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/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:596:26: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; ^ In file included from /usr/include/fcntl.h:313, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:608:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ mh.c: In function 'mh_ping': mh.c:688:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~ In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:688:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~~ In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:726:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/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:729:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^ In file included from /usr/include/fcntl.h:313, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:751:21: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] mh_setdate (LOCAL->buf,elt); ^ mh.c:82:6: note: expected 'char *' but argument is of type 'unsigned char *' void mh_setdate (char *file,MESSAGECACHE *elt); ^~~~~~~~~~ mh.c:758:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:37, from mh.c:27: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mh.c: In function 'mh_expunge': mh.c:808:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/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:809:24: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:37, from mh.c:27: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mh.c:810:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/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:812:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:26: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mh.c:828:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/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:829:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:26: mail.h:1502: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:855: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:26: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:856: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:26: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mh.c:859:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/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:860:23: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^ In file included from /usr/include/fcntl.h:313, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:873:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ mh.c: In function 'mh_append': mh.c:919:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); ^~~~~~~ In file included from mh.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:919:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); ^~~~~~~~~~ In file included from mh.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:938:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~ In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:938:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~~ In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:956: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:26: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_file': mh.c:1034:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); ^~~~ In file included from mh.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:1034:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); ^~~~~~~~~~ In file included from mh.c:32: misc.h:98: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_setdate': mh.c:1074:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ utimes mh.c: In function 'mh_isvalid': mh.c:179:5: 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_header': mh.c:611:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_copy': mh.c:876:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mx.c In file included from osdep.h:60, from mx.c:27: flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from mx.c:27: osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mx.c: In function 'mx_list_work': mx.c:259:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && ^~~~ In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ mx.c:259:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && ^~~ In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ mx.c:264:66: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) ^~~ In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ mx.c:264:70: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) ^~~ In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ mx.c: In function 'mx_create': mx.c:327:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_MBXPROTECTION,mailbox)))<0) ^ mx.c: In function 'mx_rename': mx.c:413:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); ^~~ In file included from mx.c:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:413:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); ^~~~~~~ In file included from mx.c:32: misc.h:98: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_open': mx.c:436:43: 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:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:436: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:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:440:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); ^ mx.c: In function 'mx_fast': mx.c:489: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:26: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:490: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:26: mail.h:1652: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:507:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/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:509:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] stat (LOCAL->buf,&sbuf); /* get size of message */ ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/sys/stat.h:449:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ mx.c:519:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; /* return file name */ ^ mx.c: In function 'mx_header': mx.c:549:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ mx.c:564:48: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^ In file included from mx.c:32: misc.h:81:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^~~~~~ mx.c:565:51: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^ In file included from mx.c:32: misc.h:81: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:647:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:39, from mx.c:27: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:647:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); ^~~~~~~~~~ In file included from osdep.h:39, from mx.c:27: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:687:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/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:690:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^ In file included from /usr/include/fcntl.h:313, from osdep.h:41, from mx.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mx.c:713:21: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] mx_setdate (LOCAL->buf,elt); ^ mx.c:86:6: note: expected 'char *' but argument is of type 'unsigned char *' void mx_setdate (char *file,MESSAGECACHE *elt); ^~~~~~~~~~ mx.c:718:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:37, from mx.c:27: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mx.c: In function 'mx_expunge': mx.c:765:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/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:766:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:37, from mx.c:27: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mx.c:767:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/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:769:17: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ mx.c:769:17: note: expected 'char *' but argument is of type 'unsigned char *' mx.c:785:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/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:786:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ mx.c:786:20: note: expected 'char *' but argument is of type 'unsigned char *' mx.c: In function 'mx_copy': mx.c:814: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 mx.c:26: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:815:29: 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:26: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mx.c:823:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ mx.c: In function 'mx_append': mx.c:875: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:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:875: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:32: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:912:35: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&selt,date)) { ^~~~ In file included from mx.c:26: mail.h:1589: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_setdate': mx.c:1139:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^~~~~ utimes mx.c: In function 'mx_header': mx.c:552: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_copy': mx.c:826:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1032: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:1122:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,size); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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 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;ranlib c-client.a make[3]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/c-client' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from mtest.c:31: ../c-client/flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from ../c-client/c-client.h:34, from mtest.c:31: ../c-client/osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mtest.c: In function 'main': mtest.c:116: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:38, from mtest.c:31: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mtest.c: In function 'mm': mtest.c:158: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:38, from mtest.c:31: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mtest.c: In function 'overview_header': mtest.c:370:30: 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:33, from mtest.c:31: ../c-client/mail.h:1589: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:585:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] gets (txt); ^~~~ fgets mtest.c: In function 'smtptest': mtest.c:778:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] msg->date = (char *) fs_get (1+strlen (line)); ^ mtest.c:779:14: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtest.c:28: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` /usr/bin/ld.default: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld.default: mtest.o: in function `smtptest': /usr/src/RPM/BUILD/imap-2004g/mtest/mtest.c:767: warning: the `gets' function is dangerous and should not be used. make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/mtest' cd ipopd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/ipopd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from ipop2d.c:30: ../c-client/flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from ../c-client/c-client.h:34, from ipop2d.c:30: ../c-client/osdep.h:52: note: this is the location of the previous definition #define flock safe_flock ipop2d.c: In function 'main': ipop2d.c:145: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:38, from ipop2d.c:30: ../c-client/misc.h:78: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:330:10: warning: unused variable 'mb' [-Wunused-variable] NETMBX mb; ^~ ipop2d.c:329: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 ../c-client/c-client.a `cat ../c-client/LDFLAGS` /usr/bin/ld.default: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: 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 In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from ipop3d.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from ../c-client/c-client.h:34, from ipop3d.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition #define flock safe_flock ipop3d.c: In function 'main': ipop3d.c:167: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:38, from ipop3d.c:29: ../c-client/misc.h:78: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:564:8: warning: unused variable 'tmp' [-Wunused-variable] char tmp[TMPLEN]; ^~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` /usr/bin/ld.default: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/ipopd' cd imapd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/imapd' `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 In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition #define flock safe_flock imapd.c: In function 'main': imapd.c:264:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:264:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:269: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:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:26:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_date (char *date); ^~~~~~~~~~~ imapd.c:285:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (s = strchr (proxy,'\n')) *s = '\0'; ^ imapd.c:292:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = myusername_full (&i); /* get user name and flags */ ^ imapd.c:300:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = "ANONYMOUS"; ^ imapd.c:304: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:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:304:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ imapd.c:305:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] pass = cpystr ("*"); /* set fake password */ ^ imapd.c:314: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:326: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:340:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (cmdbuf,CMDLEN); /* slurp command */ ^~~~~~ imapd.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n); ^~~~~ imapd.c:347:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!strchr (cmdbuf,'\012')) { ^~~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imapd.c:348:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^~~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imapd.c:348:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^ imapd.c:354: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:355: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:357: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:364:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if (!(cmd = strtok (NIL," \015\012"))) { ^ imapd.c:376:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:383:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && ^ imapd.c:383: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:387:48: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (arg[i] == '{') litplus = strtoul (arg + i + 1,NIL,10); ~~~~~~~~^~~ In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:391:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:396:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:408:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:430:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:439:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^~~~~~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:440:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(s = imap_responder ("",0,NIL))) ^ imapd.c:444:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] user = cpystr ("ANONYMOUS"); ^ imapd.c:445:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:456: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:33, from imapd.c:29: ../c-client/mail.h:1695: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:456:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ imapd.c:457:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:467:23: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] lsterr = cpystr (s); ^ In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:468:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (s,auth->name)) auth = auth->next; ~~~~^~~~~~ In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:486:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:490: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:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:490:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ imapd.c:491: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:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:491:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ imapd.c:514:22: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imapd.c:514:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:516: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:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32: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:516: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:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32: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:516: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:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32: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:528:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:538:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:538:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:539: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:539:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:539:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:542:39: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign] mail_sequence (stream,s)) fetch (t,uid); ^ imapd.c:129:6: note: expected 'char *' but argument is of type 'unsigned char *' void fetch (char *t,unsigned long uid); ^~~~~ imapd.c:546:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:546:45: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:548: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:548:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:548:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:549:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (t = strtok (NIL,"\015\012")))) response = misarg; ^ imapd.c:554:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^~~~~~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:554:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:555: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ imapd.c:557:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++) ^ imapd.c:558: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:559: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:561: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ imapd.c:561: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ imapd.c:563: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:33, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ imapd.c:563: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:33, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ imapd.c:565:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:565:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:567:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:567:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:573: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:33, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ imapd.c:573: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:33, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ imapd.c:584:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:594:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:604:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:604:45: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:619:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:619:38: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:621: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:621:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:621:48: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:628: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:33, from imapd.c:29: ../c-client/mail.h:1575:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^~~~~~~~~~~~~~ imapd.c:628: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:33, from imapd.c:29: ../c-client/mail.h:1575:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^~~~~~~~~~~~~~ imapd.c:635:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:635:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:637:49: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ~~^~~~~~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imapd.c:637:37: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:645: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:645:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(s = strtok (ucase (s)," "))) response = badatt; ^ imapd.c:650:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:652:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(s = strtok (NIL," "))) { ^ imapd.c:653:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = ""; /* end of attributes */ ^ imapd.c:657:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:658:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:659:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:660:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:661:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:662:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:663:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:665:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] } while (s = strtok (NIL," ")); ^ imapd.c:669: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:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:692:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:692:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:697: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:697:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && ^ imapd.c:698:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (cs = cpystr (cs)) && (arg = strtok (NIL,"\015\012")))) ^ imapd.c:704: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:33, from imapd.c:29: ../c-client/mail.h:1632:13: note: expected 'char *' but argument is of type 'unsigned char *' THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset, ^~~~~~~~~~~ imapd.c:717:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:717:53: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:732: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:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:763:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:763:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:764:11: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:768: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:174:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^~~~~~~~~~ imapd.c:768: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:174:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^~~~~~~~~~ imapd.c:768:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:768:27: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ~~^~~~~~~~~~~~~~~~~~~~ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:769: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:33, from imapd.c:29: ../c-client/mail.h:1514:9: note: expected 'char *' but argument is of type 'unsigned char *' DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose); ^~~~~~~~~~ imapd.c:779: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:33, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^~~~~~~~~ imapd.c:785:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (t = mail_fetch_text (stream,1,NIL,&i,NIL)) && ^ imapd.c:788: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ imapd.c:788: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ imapd.c:790:20: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:303:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ imapd.c:790:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:792: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:33, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^~~~~~~~~ imapd.c:805:40: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (!factory && isnewsproxy (s)) { ^ imapd.c:175:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^~~~~~~~~~~ imapd.c:806: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:807: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:33, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^~~~~~~~~ imapd.c:810: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:33, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^~~~~~~~~ imapd.c:816: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:38, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:818: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:38, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:839:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:849: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:33, from imapd.c:29: ../c-client/mail.h:1579:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af, ^~~~~~~~~~~~~~~~~~~~ imapd.c:865:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:865:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:871:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:871:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:872:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:872:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:872:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^~~ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:874: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:33, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:877: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:33, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:877: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:33, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:883:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:889:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:889:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:890:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:890:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:890:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^~~ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:892: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:33, from imapd.c:29: ../c-client/mail.h:1518:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^~~~~~~~~ imapd.c:892: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:33, from imapd.c:29: ../c-client/mail.h:1518:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^~~~~~~~~ imapd.c:892: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:33, from imapd.c:29: ../c-client/mail.h:1518:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^~~~~~~~~ imapd.c:898:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:898:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:904:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:904:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:905: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:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:905: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:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:905: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:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:905: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:30: ../c-client/newsrc.h:29:6: note: expected 'char *' but argument is of type 'unsigned char *' void newsrc_lsub (MAILSTREAM *stream,char *pattern); ^~~~~~~~~~~ imapd.c:906: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:33, from imapd.c:29: ../c-client/mail.h:1520:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:906: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:33, from imapd.c:29: ../c-client/mail.h:1520:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:913:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:916:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (cmd = ucase (s)) && ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:916:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (cmd = ucase (s)) && ^ imapd.c:917:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (arg = strtok (NIL,"\015\012")) && (s = snarf_list (&arg)))) ^ imapd.c:921:22: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:303:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ imapd.c:923:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:926:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:926:70: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1520:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:927:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"ALL.MAILBOXES")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:930: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:33, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:939:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:941:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imapd.c:941:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:947: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:947:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] t = strtok (ucase (arg)," "); ^ imapd.c:949:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:950:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:951:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:952:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:953:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:956: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:959:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] } while (t = strtok (NIL," ")); ^ imapd.c:962: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:38, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:962:42: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:963: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:38, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:963:50: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ imapd.c:966:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:967:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:972: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:977: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:977:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:979: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:979:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:983: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:983:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:986: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:986:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:988: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:988:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:991: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ imapd.c:993:18: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign] pastring (s); ^ imapd.c:161:6: note: expected 'char *' but argument is of type 'unsigned char *' void pastring (char *s); ^~~~~~~~ imapd.c:994: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:996: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:33, from imapd.c:29: ../c-client/mail.h:1526:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^~~~~~~~~~~ imapd.c:1003:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1007: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:38, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1010: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:33, from imapd.c:29: ../c-client/mail.h:1521:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~ imapd.c:1012: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:175:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^~~~~~~~~~~ imapd.c:1012:50: 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:30: ../c-client/newsrc.h:30:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^~~~~~~~~~~~~ imapd.c:1013: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:33, from imapd.c:29: ../c-client/mail.h:1521:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~ imapd.c:1018:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1022: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:38, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1025: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:175:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^~~~~~~~~~~ imapd.c:1025:52: 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:30: ../c-client/newsrc.h:30:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^~~~~~~~~~~~~ imapd.c:1026: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:33, from imapd.c:29: ../c-client/mail.h:1522:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~~~ imapd.c:1028: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:33, from imapd.c:29: ../c-client/mail.h:1522:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~~~ imapd.c:1033:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1084:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1087: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:33, from imapd.c:29: ../c-client/mail.h:1523:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_create (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~ imapd.c:1092:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1095:26: 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:33, from imapd.c:29: ../c-client/mail.h:1524:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_delete (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~ imapd.c:1100:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1103:26: 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:33, from imapd.c:29: ../c-client/mail.h:1525:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^~~~~~~~~~~ imapd.c:1103:28: 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:33, from imapd.c:29: ../c-client/mail.h:1525:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^~~~~~~~~~~ imapd.c:1109:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1139: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1141: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1145: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1147: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1155:10: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN); ^~~ imapd.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n); ^~~~~ imapd.c:1166: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1167: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1169: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1171: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1190:16: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign] if (!PSINR (tmp,i)) inerror ("reading literal"); ^~~ In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1732:6: note: expected 'char *' but argument is of type 'unsigned char *' long PSINR (char *s,unsigned long n); ^~~~~ imapd.c:1205: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1212:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1213: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1217:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1219:28: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] else if (lstref) sprintf (tmp,altlose,tag,lstref); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1221:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] else sprintf (tmp,response,tag,cmd,lasterror ()); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/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:1223: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:33, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c: In function 'parse_astring': imapd.c:1672: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:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:1691:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:1691:18: 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:1583:6: note: expected 'char *' but argument is of type 'unsigned char *' void inliteral (char *s,unsigned long n) ^~~~~~~~~ imapd.c:1693:17: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (*arg = t,CMDLEN - (t - cmdbuf)); ~~~~~^~~ imapd.c:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n) ^~~~~ imapd.c:1694:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!strchr (t,'\012')) return flush (); ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imapd.c:1696: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:1698: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1702:49: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (t[i] == '{') litplus = strtoul (t + i + 1,NIL,10); ~~~~~~^~~ In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180: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:1772: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:1640:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^~~~~~~~~~~~~ imapd.c:1772:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:1784:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (t = *s) { /* need to reload strtok() state? */ ^ imapd.c: In function 'parse_criterion': imapd.c:1846:30: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ~~~^~~~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:303:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ imapd.c:1846:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:1846: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1862:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1863:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1867:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1869:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1871:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1875:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1879:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1880:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1883:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1884:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1888:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1892: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:33, from imapd.c:29: ../c-client/mail.h:1667:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^~~~~~~~~~~~~~~~~~~~ imapd.c:1892: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:33, from imapd.c:29: ../c-client/mail.h:1667:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^~~~~~~~~~~~~~~~~~~~ imapd.c:1899:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1903:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1907:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1908:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1916:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1917:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1919:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1928:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1931:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1932:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1934:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1936:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1938:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1940:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1942:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1946:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1948:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1953:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1962:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1963:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1964:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1965:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1966:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:1968:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ~^~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c: In function 'crit_string': imapd.c:2126: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:1640:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^~~~~~~~~~~~~ imapd.c:2126:13: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^~~~~~~~~~~~~ imapd.c:2136:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!*arg) *arg = (char *) (*string)->text.data + i; ^ imapd.c: In function 'fetch_work': imapd.c:2183: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:38, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imapd.c:2183:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^~~~~~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2189:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (s = strtok (t," ")) do { /* parse attribute list */ ^ imapd.c:2190: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:2195:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2198:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2199:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2200:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2201:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2205:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2209:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2213:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2217:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2218:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imapd.c:2223: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2223: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2224: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2224: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2225: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2265: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2278: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2283: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2285: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2289:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (*v || !(v = strtok (NIL,"\015\012")) || ^ imapd.c:2297: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140: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:2320:49: 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:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:2322: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:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:2333: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:2340: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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:2351: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:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:2358:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] } while ((s = strtok (NIL," ")) && (k < MAXFETCH) && list); ^ imapd.c: In function 'fetch_body_part_binary': imapd.c:2494:40: 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:33, from imapd.c:29: ../c-client/mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ imapd.c: In function 'penv': imapd.c:2919:18: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign] pnstring (env->date); /* output envelope fields */ ~~~^~~~~~ imapd.c:160:6: note: expected 'char *' but argument is of type 'unsigned char *' void pnstring (char *s); ^~~~~~~~ imapd.c: In function 'nameok': imapd.c:3440:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; ^ imapd.c:3440:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; ^ imapd.c:3450:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; ^ imapd.c:3450:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; ^ imapd.c: In function 'imap_responder': imapd.c:3556:70: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] if (!(t = (unsigned char *) strchr ((char *) resp,'\012'))) return flush (); ^~~~~~~~ imapd.c: In function 'proxycopy': imapd.c:3586: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:33, from imapd.c:29: ../c-client/mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ imapd.c:3586: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:33, from imapd.c:29: ../c-client/mail.h:1652: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:3690:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] t = ++arg; /* pointer to flag list contents */ ^ imapd.c:3697: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:38, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:3702:30: 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:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:3710:14: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf)); ~~^~~~~ imapd.c:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n) ^~~~~ imapd.c:3711:19: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (strchr (ad->arg,'\012')) { ~~^~~~~ In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imapd.c:3713:22: 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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:336:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^~~~~~ imapd.c:3715:27: 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:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:3719:56: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (ad->arg[j] == '{') litplus = strtoul (ad->arg + j + 1,NIL,10); ~~~~~~~~~~~~^~~ In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180: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:4049: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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:103: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 ../c-client/c-client.a `cat ../c-client/LDFLAGS` /usr/bin/ld.default: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/imapd' cd mailutil;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c In file included from ../c-client/osdep.h:60, from mailutil.c:26: ../c-client/flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from mailutil.c:26: ../c-client/osdep.h:52: note: this is the location of the previous definition #define flock safe_flock mailutil.c: In function 'mbxcopy': mailutil.c:407: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:664: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/c-client.a `cat ../c-client/LDFLAGS` /usr/bin/ld.default: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/mailutil' cd mlock;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:52:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^~~~~ fwrite mlock.c:53:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit (code); /* sayonara */ ^~~~~ mlock.c:53:3: warning: incompatible implicit declaration of built-in function '_exit' mlock.c: In function 'main': mlock.c:68:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) die ("not setgid mail",EX_USAGE); ^~~~~~~ getgrgid mlock.c:71:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen (argv[2]); /* make buffers */ ^~~~~~ mlock.c:71:9: warning: incompatible implicit declaration of built-in function 'strlen' mlock.c:71:9: note: include '' or provide a declaration of 'strlen' mlock.c:35:1: +#include mlock.c:71:9: len = strlen (argv[2]); /* make buffers */ ^~~~~~ mlock.c:91:9: warning: implicit declaration of function 'time'; did you mean 'die'? [-Wimplicit-function-declaration] t = time (0); /* get the time now */ ^~~~ die mlock.c:100:23: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^~~~~~ getenv mlock.c:102:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^~~~~~~~~~~ gethostbyname mlock.c:107:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^~~~~ pclose mlock.c:108:7: warning: implicit declaration of function 'link'; did you mean 'bind'? [-Wimplicit-function-declaration] link (hitch,lock); /* tie hitching-post to lock, ignore failure */ ^~~~ bind mlock.c:110:7: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink (hitch); /* flush hitching post */ ^~~~~~ unix mlock.c:120:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^~~~~ mlock.c:123:2: warning: incompatible implicit declaration of built-in function '_exit' _exit (EX_CANTCREAT); ^~~~~ mlock.c:128:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^~~~ fread `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/mlock' cd dmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c In file included from ../c-client/osdep.h:60, from dmail.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from dmail.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition #define flock safe_flock dmail.c: In function 'deliver': dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^~~~~~~~~~~~~~~~~~~~ In file included from dmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dmail.c:211:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../c-client/osdep.h:36, from dmail.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ dmail.c: In function 'mm_notify': dmail.c:533: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 dmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dmail.c:533:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../c-client/osdep.h:36, from dmail.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ dmail.c: In function 'file_string_setpos': dmail.c:115: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` /usr/bin/ld.default: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/dmail' cd tmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c In file included from ../c-client/osdep.h:60, from tmail.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ In file included from tmail.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition #define flock safe_flock tmail.c: In function 'deliver': tmail.c:260:5: warning: implicit declaration of function 'initgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] initgroups (user,pwd->pw_gid); ^~~~~~~~~~ getgroups tmail.c: In function 'getusername': tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^~~~~~~~~~~~~~~ In file included from tmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ tmail.c:567:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^~~~~~~~~~~~~~~~~~~~~~~ In file included from ../c-client/osdep.h:36, from tmail.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ tmail.c: In function 'mm_notify': tmail.c:664: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 tmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ tmail.c:664:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../c-client/osdep.h:36, from tmail.c:29: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ tmail.c: In function 'file_string_setpos': tmail.c:116: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 'deliver': tmail.c:259:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid (pwd->pw_gid); /* initialize groups */ ^~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` /usr/bin/ld.default: ../c-client/c-client.a(osdep.o): in function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/tmail' make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.85880 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/uw-imap-buildroot + : + /bin/rm -rf -- /usr/src/tmp/uw-imap-buildroot + cd imap-2004g + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/man/man8 + install -p -m644 src/imapd/imapd.8 src/ipopd/ipopd.8 /usr/src/tmp/uw-imap-buildroot/usr/share/man/man8 + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/sbin + install -p -m755 ipopd/ipop2d ipopd/ipop3d imapd/imapd /usr/src/tmp/uw-imap-buildroot/usr/sbin + ln -s imapd /usr/src/tmp/uw-imap-buildroot/usr/sbin/rimapd + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/lib64 + install -p -m0644 /usr/src/RPM/SOURCES/uw-imap-2001a-README.IMAPS.ALT README.IMAPS + rm -f docs/SSLBUILD.ssl + mv docs/internal.txt . + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./c-client/c-client.h ./c-client/dummy.h ./c-client/env.h ./c-client/env_unix.h ./c-client/fdstring.h ./c-client/flockcyg.h ./c-client/flocksim.h ./c-client/flstring.h ./c-client/fs.h ./c-client/ftl.h ./c-client/imap4r1.h ./c-client/linkage.h ./c-client/mail.h ./c-client/mbx.h ./c-client/mh.h ./c-client/misc.h ./c-client/mx.h ./c-client/netmsg.h ./c-client/newsrc.h ./c-client/nl.h ./c-client/nntp.h ./c-client/os_a32.h ./c-client/os_a41.h ./c-client/os_aix.h ./c-client/os_aos.h ./c-client/os_art.h ./c-client/os_asv.h ./c-client/os_aux.h ./c-client/os_bsd.h ./c-client/os_bsf.h ./c-client/os_bsi.h ./c-client/os_cvx.h ./c-client/os_cyg.h ./c-client/os_d-g.h ./c-client/os_do4.h ./c-client/os_drs.h ./c-client/os_dyn.h ./c-client/os_hpp.h ./c-client/os_isc.h ./c-client/os_lnx.h ./c-client/os_lyn.h ./c-client/os_mct.h ./c-client/os_mnt.h ./c-client/os_nto.h ./c-client/os_nxt.h ./c-client/os_os4.h ./c-client/os_osf.h ./c-client/os_osx.h ./c-client/os_ptx.h ./c-client/os_pyr.h ./c-client/os_qnx.h ./c-client/os_s40.h ./c-client/os_sc5.h ./c-client/os_sco.h ./c-client/os_sgi.h ./c-client/os_shp.h ./c-client/os_slx.h ./c-client/os_soln.h ./c-client/os_solo.h ./c-client/os_sos.h ./c-client/os_sun.h ./c-client/os_sv2.h ./c-client/os_sv4.h ./c-client/os_ult.h ./c-client/os_vu2.h ./c-client/osdep.h ./c-client/pseudo.h ./c-client/rfc822.h ./c-client/smtp.h ./c-client/sslio.h ./c-client/tcp.h ./c-client/tcp_unix.h ./c-client/unix.h ./c-client/utf8.h /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./src/osdep/tops-20/shortsym.h /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./c-client/c-client.a /usr/src/tmp/uw-imap-buildroot/usr/lib64/libc-client.a + install -p -m640 -D /usr/src/RPM/SOURCES/imap.pamd /usr/src/tmp/uw-imap-buildroot/etc/pam.d/imap + install -p -m640 -D /usr/src/RPM/SOURCES/imap.pamd /usr/src/tmp/uw-imap-buildroot/etc/pam.d/pop + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-imap.xinetd + d=uw-imap + install -p -m640 -D /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-imap + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop3.xinetd + d=uw-pop3 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop3 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-simap.xinetd + d=uw-simap + install -p -m640 -D /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-simap + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-spop3.xinetd + d=uw-spop3 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-spop3 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop2.xinetd + d=uw-pop2 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop2 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-imaps.xinetd + d=uw-imaps + install -p -m640 -D /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-imaps + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop3s.xinetd + d=uw-pop3s + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop3s.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop3s + mkdir -p /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs + touch /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/imapd.pem /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/ipop3d.pem + chmod 600 /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/imapd.pem /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/ipop3d.pem + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/uw-imap-buildroot (auto) Verifying and fixing files in /usr/src/tmp/uw-imap-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/uw-imap-buildroot/ (default) Compressing files in /usr/src/tmp/uw-imap-buildroot (auto) Adjusting library links in /usr/src/tmp/uw-imap-buildroot ./var/lib: ./usr/lib64: Verifying ELF objects in /usr/src/tmp/uw-imap-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: uw-imap-2004g-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.47428 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2004g + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + cp -prL README CPYRIGHT docs/BUILD docs/CONFIG docs/FAQ.html docs/FAQ.txt docs/IPv6.txt docs/RELNOTES docs/SSLBUILD docs/Y2K docs/bugs.txt docs/calendar.txt docs/commndmt.txt docs/draft docs/drivers.txt docs/formats.txt docs/imaprc.txt docs/locking.txt docs/md5.txt docs/naming.txt docs/rfc /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + cp -prL README.IMAPS /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lpqB0w find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Tgs3LU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LuU8so find-scriptlet-requires: FINDPACKAGE-COMMANDS: install sh Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6wYPzV Adding an insignificant disttag (z) to Conflicts: IMAPD > uw-imap:2004g-alt4 Adding an insignificant disttag (z) to Conflicts: POP3D > uw-imap:2004g-alt4 Provides: IMAPD = uw-imap:2004g-alt4, POP3D = uw-imap:2004g-alt4, pam0(imap), pam0(pop) Requires: /var/lib/ssl, pam >= 0.72-ipl11mdk, /etc/pam.d, /etc/xinetd.d, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.1.1()(64bit) >= set:qmvV2AQS14vAhRCFULgjcGjFG60ZCqBkxUQFfd, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libpam(substack), libpam.so.0()(64bit) >= set:jg5sOFGjKLOi2JaZk, libpam.so.0(LIBPAM_1.0)(64bit), libssl.so.1.1()(64bit) >= set:mhh50mMzRSeAZAB1P5Zz5Z1du0nykrCRjleWT20mx4lyQRK2ZiSXRy8KvpXdUuoQi44SSoi6p1, libssl.so.1.1(OPENSSL_1_1_0)(64bit), pam0(system-auth), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /var/lib/ssl, /bin/sh, coreutils, sh, /sbin/service Requires(postun): /bin/sh, /sbin/service Conflicts: IMAPD < uw-imap:2004g-alt4, IMAPD > uw-imap:2004g-alt4:z, POP3D < uw-imap:2004g-alt4, POP3D > uw-imap:2004g-alt4:z, courier-imap, cyrus-imapd Obsoletes: imap < 1:2001a-alt1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xRGV4v Creating uw-imap-debuginfo package Processing files: uw-imap-devel-2004g-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.42436 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2004g + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + cp -prL internal.txt /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sobDVa find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.080JaT find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h:27:10: fatal error: machine/endian.h: No such file or directory #include /* needed for htons() prototypes */ ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h: cpp failed, trying c++ mode x86_64-alt-linux-cpp: error trying to exec 'cc1plus': execvp: No such file or directory cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_isc.h:23:10: fatal error: sys/bsdtypes.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_isc.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_mnt.h:30:10: fatal error: portlib.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_mnt.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_nxt.h:21:10: fatal error: libc.h: No such file or directory #include ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_nxt.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_ptx.h:31:10: fatal error: stropts.h: No such file or directory #include /* needed in daemons */ ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_ptx.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h:30:10: fatal error: /usr/include/unix.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h: cpp failed Adding an insignificant disttag (z) to Conflicts: uw-imap > 2004g-alt4 Provides: libc-client-devel = 2004g-alt4 Conflicts: uw-imap < 2004g-alt4, uw-imap > 2004g-alt4:z Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nCrKoM Processing files: uw-imap-debuginfo-2004g-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9Tgw6I find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dPKsdJ find-requires: running scripts (debuginfo) Requires: uw-imap = 2004g-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libpam.so.0), debug64(libssl.so.1.1) Adding to uw-imap-debuginfo a strict dependency on uw-imap Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-2004g-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-devel-2004g-alt4.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-debuginfo-2004g-alt4.x86_64.rpm 53.22user 8.98system 1:07.02elapsed 92%CPU (0avgtext+0avgdata 82616maxresident)k 0inputs+0outputs (0major+1401801minor)pagefaults 0swaps 61.92user 14.71system 1:20.75elapsed 94%CPU (0avgtext+0avgdata 119584maxresident)k 0inputs+0outputs (0major+1755771minor)pagefaults 0swaps --- uw-imap-2004g-alt4.x86_64.rpm.repo 2018-09-04 16:35:10.000000000 +0000 +++ uw-imap-2004g-alt4.x86_64.rpm.hasher 2020-12-06 04:40:54.197399168 +0000 @@ -77,3 +77,2 @@ Requires: /bin/sh -Requires: /bin/sh Requires: /etc/pam.d @@ -88,3 +87,3 @@ Requires: libc.so.6(GLIBC_2.7)(64bit) -Requires: libcrypto.so.1.1()(64bit) >= set:plvV2iqXcAC5MEeB6ilGScFKVRTQGkxUEjva +Requires: libcrypto.so.1.1()(64bit) >= set:qmvV2AQS14vAhRCFULgjcGjFG60ZCqBkxUQFfd Requires: rpmlib(SetVersions) @@ -98,3 +97,2 @@ Requires: rtld(GNU_HASH) -Requires: /sbin/service Requires: coreutils @@ -107,8 +105,8 @@ Provides: pam0(pop) -Provides: uw-imap = 2004g-alt4 +Provides: uw-imap = 2004g-alt4:sisyphus.212583.100 Obsoletes: imap < 1:2001a-alt1 Conflicts: IMAPD < uw-imap:2004g-alt4 -Conflicts: IMAPD > uw-imap:2004g-alt4 +Conflicts: IMAPD > uw-imap:2004g-alt4:z Conflicts: POP3D < uw-imap:2004g-alt4 -Conflicts: POP3D > uw-imap:2004g-alt4 +Conflicts: POP3D > uw-imap:2004g-alt4:z Conflicts: courier-imap --- uw-imap-debuginfo-2004g-alt4.x86_64.rpm.repo 2018-09-04 16:35:10.000000000 +0000 +++ uw-imap-debuginfo-2004g-alt4.x86_64.rpm.hasher 2020-12-06 04:40:54.610384362 +0000 @@ -92,3 +92,2 @@ /usr/src/debug/imap-2004g/ipopd/ipop3d.c 100644 -Requires: uw-imap = 2004g-alt4 Requires: /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug @@ -98,3 +97,4 @@ Requires: debug64(libssl.so.1.1) +Requires: uw-imap = 2004g-alt4:sisyphus.212583.100 Requires: rpmlib(PayloadIsLzma) -Provides: uw-imap-debuginfo = 2004g-alt4 +Provides: uw-imap-debuginfo = 2004g-alt4:sisyphus.212583.100 --- uw-imap-devel-2004g-alt4.x86_64.rpm.repo 2018-09-04 16:35:10.000000000 +0000 +++ uw-imap-devel-2004g-alt4.x86_64.rpm.hasher 2020-12-06 04:40:54.690381494 +0000 @@ -81,4 +81,4 @@ Provides: libc-client-devel = 2004g-alt4 -Provides: uw-imap-devel = 2004g-alt4 +Provides: uw-imap-devel = 2004g-alt4:sisyphus.212583.100 Conflicts: uw-imap < 2004g-alt4 -Conflicts: uw-imap > 2004g-alt4 +Conflicts: uw-imap > 2004g-alt4:z