<86>Apr 29 12:40:54 userdel[3409293]: delete user 'rooter' <86>Apr 29 12:40:54 userdel[3409293]: removed group 'rooter' owned by 'rooter' <86>Apr 29 12:40:54 groupadd[3409302]: group added to /etc/group: name=rooter, GID=663 <86>Apr 29 12:40:54 groupadd[3409302]: group added to /etc/gshadow: name=rooter <86>Apr 29 12:40:54 groupadd[3409302]: new group: name=rooter, GID=663 <86>Apr 29 12:40:54 useradd[3409312]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Apr 29 12:40:54 userdel[3409322]: delete user 'builder' <86>Apr 29 12:40:54 userdel[3409322]: removed group 'builder' owned by 'builder' <86>Apr 29 12:40:54 userdel[3409322]: removed shadow group 'builder' owned by 'builder' <86>Apr 29 12:40:54 groupadd[3409332]: group added to /etc/group: name=builder, GID=664 <86>Apr 29 12:40:54 groupadd[3409332]: group added to /etc/gshadow: name=builder <86>Apr 29 12:40:54 groupadd[3409332]: new group: name=builder, GID=664 <86>Apr 29 12:40:54 useradd[3409341]: new user: name=builder, UID=664, GID=664, 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>Apr 29 12:40:56 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 29 12:40:56 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 29 12:40:56 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 12:40:56 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 29 12:40:57 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 29 12:40:57 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 29 12:40:57 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 29 12:40:57 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Apr 29 12:40:57 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Apr 29 12:40:57 rpmi: rpm-macros-pam0-1.3.1.0.223.c2c0-alt1 sisyphus+250694.100.1.1 1587923013 installed <13>Apr 29 12:40:57 rpmi: libpam0-devel-1.3.1.0.223.c2c0-alt1 sisyphus+250694.100.1.1 1587923024 installed <13>Apr 29 12:40:57 rpmi: libssl-devel-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed warning: line 63: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.3588 + 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.3588 + 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/lib 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/lib 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/lib 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/lib 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 -march=i586 -mtune=generic -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 -march=i586 -mtune=generic -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/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /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:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # 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 22 | #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 52 | #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] 41 | 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] 33 | if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 187 | 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] 189 | 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] 191 | lusr = *s ? lcase (cpystr (user)) : NIL; | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' 79 | 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] 192 | for (s = strtok (buf,"\015\012"),lret = NIL; s; | ^~~ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 192 | 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] 193 | 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] 195 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 195 | 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] 197 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 197 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.c:35: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | 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] 198 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 198 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^~~~ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 201 | if (!ret && lret) ret = cpystr (lret); | ^~~~ | | | unsigned char * In file included from osdep.c:35: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | 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] 500 | struct passwd *pw = getpwnam (user); | ^~~~ | | | unsigned char * In file included from osdep.c:34: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | 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] 504 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~ | | | unsigned char * In file included from osdep.c:35: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | 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] 504 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' 79 | 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] 504 | pw = getpwnam (s = lcase (cpystr (user))); | ~~^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:34: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | 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] 530 | ret = pwuser (user); /* validated, get passwd entry for user */ | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | 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] 535 | else if (pw = pwuser (user)) {/* can get user? */ | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | 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] 538 | (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) | ^ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | 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] 569 | else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | 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] 587 | return pw_login (pwuser (user),authuser,user,NIL,argc,argv); | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | 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] 626 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 626 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 629 | if (!compare_cstring (auser,*t++)) | ^~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 629 | if (!compare_cstring (auser,*t++)) | ^~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 907 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ~~~~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 907 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 917 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 917 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 937 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 937 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 951 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 951 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 965 | if (!compare_cstring (name+1,"NBOX")) { | ~~~~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 965 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1397 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1397 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1410 | if (!compare_cstring (s,"set new-folder-format")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1410 | if (!compare_cstring (s,"set new-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1411 | if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1411 | if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1413 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1413 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1415 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1415 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1419 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1419 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1427 | if (!compare_cstring (s,"set empty-folder-format")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1427 | if (!compare_cstring (s,"set empty-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1428 | if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1428 | if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1430 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1430 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1432 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1432 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1436 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1436 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1446 | if (!compare_cstring (s,"set local-host")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1446 | if (!compare_cstring (s,"set local-host")) { | ^~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1450 | else if (!compare_cstring (s,"set news-active-file")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1450 | else if (!compare_cstring (s,"set news-active-file")) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1454 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1454 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1458 | else if (!compare_cstring (s,"set news-state-file")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1458 | else if (!compare_cstring (s,"set news-state-file")) { | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1462 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1462 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1466 | else if (!compare_cstring (s,"set public-home-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1466 | else if (!compare_cstring (s,"set public-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1470 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1470 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1474 | else if (!compare_cstring (s,"set system-inbox")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1474 | else if (!compare_cstring (s,"set system-inbox")) { | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1478 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1478 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1482 | else if (!compare_cstring (s,"set from-widget")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1482 | else if (!compare_cstring (s,"set from-widget")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1484 | compare_cstring (k,"header-only") ? | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1484 | compare_cstring (k,"header-only") ? | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1487 | else if (!compare_cstring (s,"set rsh-command")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1487 | else if (!compare_cstring (s,"set rsh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1489 | else if (!compare_cstring (s,"set rsh-path")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1489 | else if (!compare_cstring (s,"set rsh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1491 | else if (!compare_cstring (s,"set ssh-command")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1491 | else if (!compare_cstring (s,"set ssh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1493 | else if (!compare_cstring (s,"set ssh-path")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1493 | else if (!compare_cstring (s,"set ssh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1495 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1495 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1497 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1497 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1499 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1499 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1501 | else if (!compare_cstring (s,"set rsh-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1501 | else if (!compare_cstring (s,"set rsh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1503 | else if (!compare_cstring (s,"set ssh-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1503 | else if (!compare_cstring (s,"set ssh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1505 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1505 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1507 | else if (!compare_cstring (s,"set lookahead")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1507 | else if (!compare_cstring (s,"set lookahead")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1509 | else if (!compare_cstring (s,"set prefetch")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1509 | else if (!compare_cstring (s,"set prefetch")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1511 | else if (!compare_cstring (s,"set close-on-error")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1511 | else if (!compare_cstring (s,"set close-on-error")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1513 | else if (!compare_cstring (s,"set imap-port")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1513 | else if (!compare_cstring (s,"set imap-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1515 | else if (!compare_cstring (s,"set pop3-port")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1515 | else if (!compare_cstring (s,"set pop3-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1517 | else if (!compare_cstring (s,"set uid-lookahead")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1517 | else if (!compare_cstring (s,"set uid-lookahead")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1519 | else if (!compare_cstring (s,"set try-ssl-first")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1519 | else if (!compare_cstring (s,"set try-ssl-first")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1522 | else if (!compare_cstring (s,"set mailbox-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1522 | else if (!compare_cstring (s,"set mailbox-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1524 | else if (!compare_cstring (s,"set directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1524 | else if (!compare_cstring (s,"set directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1526 | else if (!compare_cstring (s,"set lock-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1526 | else if (!compare_cstring (s,"set lock-protection")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1528 | else if (!compare_cstring (s,"set ftp-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1528 | else if (!compare_cstring (s,"set ftp-protection")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1530 | else if (!compare_cstring (s,"set public-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1530 | else if (!compare_cstring (s,"set public-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1532 | else if (!compare_cstring (s,"set shared-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1532 | else if (!compare_cstring (s,"set shared-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1534 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1534 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1536 | else if (!compare_cstring (s,"set public-directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1536 | else if (!compare_cstring (s,"set public-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1538 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1538 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1540 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1540 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1542 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1542 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1544 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1544 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1546 | else if (!compare_cstring (s,"set hide-dot-files")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1546 | else if (!compare_cstring (s,"set hide-dot-files")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1548 | else if (!compare_cstring (s,"set list-maximum-level")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1548 | else if (!compare_cstring (s,"set list-maximum-level")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1550 | else if (!compare_cstring (s,"set trust-dns")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1550 | else if (!compare_cstring (s,"set trust-dns")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1552 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1552 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1554 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1554 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1558 | if (!compare_cstring (s,"set black-box-directory") && | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1558 | if (!compare_cstring (s,"set black-box-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1560 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1560 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1563 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1563 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1565 | else if (!compare_cstring (s,"set disable-plaintext")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1565 | else if (!compare_cstring (s,"set disable-plaintext")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1567 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1567 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1569 | else if (!compare_cstring (s,"set chroot-server")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1569 | else if (!compare_cstring (s,"set chroot-server")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1571 | else if (!compare_cstring (s,"set restrict-mailbox-access")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1571 | else if (!compare_cstring (s,"set restrict-mailbox-access")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1573 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1573 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1574 | else if (!compare_cstring (k,"otherusers")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1574 | else if (!compare_cstring (k,"otherusers")) | ^~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1576 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1576 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1579 | else if (!compare_cstring (s,"set advertise-the-world")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1579 | else if (!compare_cstring (s,"set advertise-the-world")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1581 | else if (!compare_cstring (s,"set limited-advertise")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1581 | else if (!compare_cstring (s,"set limited-advertise")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1584 | (s,"set disable-automatic-shared-namespaces")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1584 | (s,"set disable-automatic-shared-namespaces")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1586 | else if (!compare_cstring (s,"set allow-user-config")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1586 | else if (!compare_cstring (s,"set allow-user-config")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1588 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1588 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ 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] 157 | (he = gethostbyname (lcase (strcpy (tmp,name))))) { | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' 79 | 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] 157 | (he = gethostbyname (lcase (strcpy (tmp,name))))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:30: /usr/include/netdb.h:142:24: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern struct hostent *gethostbyname (const char *__name); | ^~~~~~~~~~~~~ In file included from osdep.c:46: flocksim.c: In function 'master': flocksim.c:352:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 352 | sprintf (tmp,"+%lu %s%lu %s%lu ",strlen (s),s,strlen (t),t,i); | ~~^ ~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u flocksim.c:352:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 352 | sprintf (tmp,"+%lu %s%lu %s%lu ",strlen (s),s,strlen (t),t,i); | ~~^ ~~~~~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u flocksim.c:354:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 354 | sprintf (tmp,"Failed to pipe command \"+%lu %s%lu %s%lu \": %s", | ~~^ | | | long unsigned int | %u 355 | strlen (s),s,strlen (t),t,i,strerror (errno)); | ~~~~~~~~~~ | | | size_t {aka unsigned int} flocksim.c:354:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 354 | sprintf (tmp,"Failed to pipe command \"+%lu %s%lu %s%lu \": %s", | ~~^ | | | long unsigned int | %u 355 | strlen (s),s,strlen (t),t,i,strerror (errno)); | ~~~~~~~~~~ | | | size_t {aka unsigned int} osdep.c: In function 'ssl_start_work': osdep.c:421:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] 421 | 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 1884 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c:416:25: warning: unused variable 'scq' [-Wunused-variable] 416 | sslcertificatequery_t scq = | ^~~ osdep.c:415:16: warning: unused variable 'tmp' [-Wunused-variable] 415 | char *s,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c:415:12: warning: unused variable 'err' [-Wunused-variable] 415 | char *s,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c:415:9: warning: unused variable 's' [-Wunused-variable] 415 | char *s,*err,tmp[MAILTMPLEN]; | ^ osdep.c:414:9: warning: unused variable 'cert' [-Wunused-variable] 414 | X509 *cert; | ^~~~ osdep.c: In function 'ssl_server_init': osdep.c:810:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] 810 | 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 1883 | 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] 879 | 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 235 | 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] 187 | 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] 644 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ At top level: osdep.c:514:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] 514 | 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] 499 | 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=] 896 | sprintf (tmp,"Reverse DNS resolution %s",adr); | ^~ ~~~ In file included from /usr/include/stdio.h:867, from osdep.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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=] 904 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); | ^ In file included from /usr/include/stdio.h:867, from osdep.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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 22 | #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 52 | #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] 344 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 344 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 349 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 349 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 354 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 354 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 362 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 362 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 711 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 711 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 712 | lcase (strcpy (mb->service,v)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' 79 | 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] 713 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 713 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 715 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 715 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 721 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 721 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 722 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 722 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 723 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 723 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 724 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 724 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 725 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 725 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 726 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 726 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 727 | else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 727 | else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; | ^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 728 | else if (!compare_cstring (s,"notls") && !mb->tlsflag) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 728 | else if (!compare_cstring (s,"notls") && !mb->tlsflag) | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 730 | else if (!compare_cstring (s,"tryssl")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 730 | else if (!compare_cstring (s,"tryssl")) | ^~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 732 | else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 732 | else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; | ^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 733 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 733 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 736 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 736 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 739 | else if (!compare_cstring (s,"imap") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 739 | else if (!compare_cstring (s,"imap") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 740 | !compare_cstring (s,"nntp") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 740 | !compare_cstring (s,"nntp") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 741 | !compare_cstring (s,"pop3") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 741 | !compare_cstring (s,"pop3") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 742 | !compare_cstring (s,"smtp") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 742 | !compare_cstring (s,"smtp") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 743 | !compare_cstring (s,"submit")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 743 | !compare_cstring (s,"submit")) | ^~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 744 | lcase (strcpy (mb->service,s)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' 79 | 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] 745 | else if (!compare_cstring (s,"imap2") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 745 | else if (!compare_cstring (s,"imap2") || | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 746 | !compare_cstring (s,"imap2bis") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 746 | !compare_cstring (s,"imap2bis") || | ^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 747 | !compare_cstring (s,"imap4") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 747 | !compare_cstring (s,"imap4") || | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 748 | !compare_cstring (s,"imap4rev1")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 748 | !compare_cstring (s,"imap4rev1")) | ^~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 750 | else if (!compare_cstring (s,"pop")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 750 | else if (!compare_cstring (s,"pop")) | ^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 923 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 923 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1151 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1151 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1354 | if (stream->dtb && mail_uid_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 1370 | if (stream->dtb && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 1395 | 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] 1613 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' 1585 | 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] 1703 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' 1585 | 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] 1757 | if (!(section && *section && (b = mail_body (stream,msgno,section)))) | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' 1585 | 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] 1839 | if (!(b = mail_body (stream,msgno,section))) return ""; | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' 1585 | 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] 1899 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' 1585 | 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] 1967 | if (!(b = mail_body (stream,msgno,section))) return NIL; | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' 1585 | 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] 2181 | ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 2182 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 2474 | if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ^~~~~ mail.c:2474:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2474 | if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from mail.c:25: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2597 | if (!(i = strtoul (section,(char **) §ion,10)) || | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2728 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from osdep.h:36, from mail.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 2728 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 88 | __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] 2728 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ mail.c:2734:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2734 | if (!(m = strtoul (s,(char **) &s,10))) return NIL; | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2738 | if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2740 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2749 | if (strlen (s) < (size_t) 5) return NIL; | ^ | | | unsigned char * In file included from osdep.h:36, from mail.c:25: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 2777 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2795 | d = strtoul (s+1,(char **) &s,10); | ~^~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2797 | m = strtoul (++s,(char **) &s,10); | ^~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2798 | y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; | ^~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3128 | else if (!(i = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3139 | else if (!(j = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3237 | if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) | ^~~ | | | char * In file included from mail.c:27: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | 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] 3368 | BODY *body = mail_body (stream,msgno,section); | ^~~~~~~ | | | char * mail.c:2587:72: note: expected 'unsigned char *' but argument is of type 'char *' 2587 | 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] 3539 | else if ((body = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.c:2587:72: note: expected 'unsigned char *' but argument is of type 'char *' 2587 | 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] 3688 | if (!compare_csizedtext (stream->user_flags[i],&st->text)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from mail.c:27: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | 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] 3819 | switch (*ucase (criterion)) { | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 3906 | mail_parse_date (&elt,(char *) s->text.data) && | ^~~~~~~~~~~~~~~~~~~~~ | | | char * mail.c:2710:56: note: expected 'unsigned char *' but argument is of type 'char *' 2710 | 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] 4112 | 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] 4128 | if (!(t && mail_parse_date (&telt,t) && | ^ | | | char * mail.c:2710:56: note: expected 'unsigned char *' but argument is of type 'char *' 2710 | 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] 4420 | i = compare_cstring (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4420 | i = compare_cstring (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4423 | i = compare_cstring (s1->to,s2->to); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4423 | i = compare_cstring (s1->to,s2->to); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4426 | i = compare_cstring (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4426 | i = compare_cstring (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4429 | i = compare_cstring (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4429 | i = compare_cstring (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4528 | if (!compare_cstring (type,t->name)) { | ^~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4528 | if (!compare_cstring (type,t->name)) { | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4572 | if (compare_cstring (top->sc->subject,s->subject)) { | ~~~~~~~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4572 | if (compare_cstring (top->sc->subject,s->subject)) { | ~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4890 | if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) | ~~^~~~~~ | | | char * mail.c:2710:56: note: expected 'unsigned char *' but argument is of type 'char *' 2710 | 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] 5126 | else if (!(i = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 5142 | else if (!(j = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 5197 | ucase (strcpy (flg,t)); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 5229 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5229 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5280 | ((!compare_cstring (smb.host, | ~~~^~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5281 | trustdns ? tcp_canonical (nmb.host) : nmb.host)&& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5286 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5286 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5856 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5856 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5888 | !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5888 | !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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 22 | #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 52 | #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] 408 | 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 22 | #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 52 | #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] 160 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 160 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 163 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 163 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 460 | 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 22 | #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 52 | #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] 38 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 38 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 71 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 71 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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 22 | #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 52 | #define flock safe_flock | utf8.c:110:39: warning: missing braces around initializer [-Wmissing-braces] 110 | static const CHARSET utf8_csvalid[] = { | ^ utf8.c:238:38: warning: missing braces around initializer [-Wmissing-braces] 238 | 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] 275 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 275 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * const In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char * const' 98 | 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] 291 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 291 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * const In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char * const' 98 | 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] 397 | if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; | ^~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 397 | if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; | ^~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 504 | short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 504 | short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_rmap': utf8.c:465:11: warning: iteration 94 invokes undefined behavior [-Waggressive-loop-optimizations] 465 | if ((u = jis0208tab[ku][ten]) != UBOGON) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ utf8.c:464:2: note: within this loop 464 | 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 463 | 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 22 | #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 52 | #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] 117 | else if (!compare_cstring (name,"INBOX")) return &dummydriver; | ^~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 117 | else if (!compare_cstring (name,"INBOX")) return &dummydriver; | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 177 | if (pmatch ("INBOX",ucase (test))) | ^~~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 177 | if (pmatch ("INBOX",ucase (test))) | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 208 | if (!compare_cstring (s,"INBOX") && | ^ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 208 | if (!compare_cstring (s,"INBOX") && | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 209 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 209 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 211 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 211 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 214 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 214 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 263 | if (!level && dir && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 263 | if (!level && dir && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:278:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 278 | if ((pmatch_full (tmp,pat,'/') || | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 278 | if ((pmatch_full (tmp,pat,'/') || | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 287 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 287 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 292 | else if (pmatch_full (strcat (tmp,"/"),pat,'/') && | ^~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 292 | else if (pmatch_full (strcat (tmp,"/"),pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 295 | if (dmatch (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 295 | if (dmatch (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 302 | if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 302 | if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 303 | compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 303 | compare_cstring (tmp,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 389 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 389 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ 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] 495 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 495 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 524 | if (compare_cstring (stream->mailbox,"INBOX")) | ~~~~~~^~~~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 524 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 628 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from dummy.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 629 | mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); | ^~~~~~~~ | | | char * In file included from dummy.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 649 | if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 649 | if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 335 | 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] 50 | dummy_scan_contents (name,contents,csiz,fsiz) | ^~~~~~~~~~~~~~~~~~~ dummy.c:362:17: note: 'csiz' was declared here 362 | unsigned long csiz; | ^~~~ In file included from /usr/include/stdio.h:867, from dummy.c:22: In function 'sprintf', inlined from 'dummy_delete' at dummy.c:454:5: /usr/include/bits/stdio2.h:36:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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 22 | #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 52 | #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 22 | #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 52 | #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:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # 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 22 | #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 52 | #define flock safe_flock | fdstring.c: In function 'fd_string_setpos': fdstring.c:88:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 88 | 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] 58 | 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 22 | #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 52 | #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] 97 | rfc822_header_line (&header,"Date",env,env->date); | ~~~^~~~~~ | | | unsigned char * In file included from rfc822.c:34: rfc822.h:41:71: note: expected 'char *' but argument is of type 'unsigned char *' 41 | 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] 385 | ucase (tmp); /* coerce to uppercase */ | ^~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 411 | 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] 683 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ~~^~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 683 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ^~~~~~~~~~~~ | | | unsigned char * In file included from rfc822.c:34: rfc822.h:52:52: note: expected 'char *' but argument is of type 'unsigned char *' 52 | 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] 750 | body->disposition.type = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 750 | body->disposition.type = ucase (cpystr (s)); | ^ rfc822.c:764:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 764 | stl->text.data = (unsigned char *) ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ rfc822.c:788:18: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 788 | s = ucase (rfc822_cpy(s));/* search for body type */ | ^~~~~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 788 | 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] 803 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^~~~~~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 803 | 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] 816 | s = ucase (rfc822_cpy(s));/* search for body encoding */ | ^~~~~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 816 | 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] 823 | else body_encodings[body->encoding] = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 823 | 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] 850 | param->attribute = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 850 | 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 22 | #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 52 | #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] 358 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 358 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 361 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 361 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 393 | if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 393 | if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 562 | newsrc_check_uid (state,k,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:29: newsrc.h:34:39: note: expected 'unsigned char *' but argument is of type 'char *' 34 | 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] 571 | newsrc_check_uid (state,i++,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:29: newsrc.h:34:39: note: expected 'unsigned char *' but argument is of type 'char *' 34 | 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] 727 | lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 728 | 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 *' 79 | unsigned char *lcase (unsigned char *string); | ^~~~~ 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] 845 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 846 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 888 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 888 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 991 | 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] 991 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ | | | unsigned char * In file included from osdep.h:36, from nntp.c:25: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1037 | if (!elt->day) mail_parse_date (elt,ov->date); | ~~^~~~~~ | | | char * In file included from nntp.c:24: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1312 | (!mail_parse_date (&delt,ov->date) || | ~~^~~~~~ | | | char * In file included from nntp.c:24: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1524 | if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); | ^ | | | char * In file included from nntp.c:24: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ 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] 1806 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1806 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^~~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1807 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1807 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1808 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1808 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1809 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1809 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1810 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1810 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1811 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1811 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^~~~~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1813 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1813 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1816 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1816 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1897 | if (s = strstr (env->date," (")) *s = NIL; | ~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from nntp.c:25: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' 329 | extern char *strstr (const char *__haystack, const char *__needle) | ^~~~~~ nntp.c: In function 'nntp_mopen': nntp.c:756:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 756 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 757 | (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] 1092 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1093 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1094 | (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 22 | #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 52 | #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] 161 | else if (!compare_cstring (mb.service,"submit")) { | ~~^~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 161 | else if (!compare_cstring (mb.service,"submit")) { | ^~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:179:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 179 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 179 | s = compare_cstring ("localhost",mb.host) ? | ~~^~~~~ | | | char * In file included from smtp.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c: In function 'smtp_ehlo': smtp.c:658:12: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 658 | ucase (strncpy (tmp,stream->reply+4,MAILTMPLEN-1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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 22 | #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 52 | #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] 487 | if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from imap4r1.c:33: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 487 | if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from imap4r1.c:33: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 546 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 546 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 548 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 548 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 560 | strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 561 | !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 663 | 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] 684 | mm_log (reply->text,ret ? NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 852 | if (!reply || strcmp (reply->tag,"*") || | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 853 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 853 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 854 | if (reply) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 859 | if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:963:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 963 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ~~^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 963 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 973 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1019 | !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1023 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1023 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1059 | if (compare_cstring (reply->tag,tag)) { | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1061 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1076 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1126 | else if (compare_cstring (reply->tag,tag)) | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1127 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1136 | lsterr = cpystr (reply->text); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:36: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | 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] 1188 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1218 | !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1223 | strlen (reply->text),len))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 1280 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1320 | if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1341 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1394 | 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] 1442 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1567 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1569 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1799 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1809 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1818 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1822 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1875 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1911 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 1952 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2019 | !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2038 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2044 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2080 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2142 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2149 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2158 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2243 | if (!compare_cstring (thr->name,type)) | ~~~^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2243 | if (!compare_cstring (thr->name,type)) | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2303 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2310 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2318 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2342 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2353 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2381 | if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from imap4r1.c:32: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 2384 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2436 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2497 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2527 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from imap4r1.c:32: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 2531 | 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] 2532 | LOCAL->reply.key = "BAD"; | ^ imap4r1.c:2533:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2533 | 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] 2543 | if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2729 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2753 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2775 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2798 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 2835 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2835 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2836 | compare_cstring (cmd,"STORE") && | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2836 | compare_cstring (cmd,"STORE") && | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2837 | compare_cstring (cmd,"SEARCH")) ? | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2837 | compare_cstring (cmd,"SEARCH")) ? | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2990 | if (!map->date || mail_parse_date (&elt,map->date)) { | ~~~^~~~~~ | | | char * In file included from imap4r1.c:32: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 3115 | if (strcmp (reply->tag,"+")) {/* prompt for more data? */ | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3450 | if (!strcmp (reply->tag,"+")) return reply; | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3452 | else if (!strcmp (reply->tag,"*")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3457 | if (tag && !compare_cstring (tag,reply->tag)) return reply; | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3482 | if (!(LOCAL->reply.line = text)) { | ^ imap4r1.c:3488:43: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 3488 | if (stream->debug) mm_dlog (LOCAL->reply.line); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1503:21: note: expected 'char *' but argument is of type 'unsigned char *' 1503 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:3489:57: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3489 | if (!(LOCAL->reply.tag = (char *) strtok (LOCAL->reply.line," "))) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3489 | 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] 3495 | if (strcmp (LOCAL->reply.tag,"+")) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3497 | 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] 3507 | 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] 3508 | LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 3511 | 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] 3512 | 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] 3513 | 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] 3533 | 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] 3534 | LOCAL->reply.key = "NO"; | ^ imap4r1.c:3535:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3535 | 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] 3550 | if (!strcmp (reply->key,"OK")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3551 | imap_parse_response (stream,reply->text,NIL,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | 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] 3555 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3556 | imap_parse_response (stream,reply->text,WARN,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | 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] 3558 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3559 | imap_parse_response (stream,reply->text,ERROR,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | 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] 3582 | msgno = strtoul (reply->key,(char **) &s,10); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3596 | s = ucase ((char *) strtok (reply->text," ")); | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3596 | s = ucase ((char *) strtok (reply->text," ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 3598 | t = (char *) strtok (NIL,"\n"); | ^ imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3601 | if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3602 | else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3603 | else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3611 | else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3611 | else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3622 | while (prop = ((char *) strtok (t," )"))) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3623 | t = (char *) strtok (NIL,"\n"); | ^ imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 3627 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3627 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3635 | mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:32: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 3641 | LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3682 | if (!(s = strchr (md.what,']'))) { | ^ imap4r1.c:3684:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3684 | 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] 3686 | if (strncmp (s,"HEADER.FIELDS",13) && | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 3687 | (!s[13] || strcmp (s+13,".NOT"))) | ~^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3697 | else if (t = strchr (s = t,' ')) *t++ = '\0'; | ~~^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 3697 | 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] 3702 | md.first = strtoul (s+1,(char **) &s,10) + 1; | ~^~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3745 | elt->rfc822_size = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3776 | else if (strcmp (s,"COPY")) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3783 | else if (!strcmp (reply->key,"FLAGS") && reply->text && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3784 | (*reply->text == '(') && (s = (char *) strtok (reply->text+1," )"))) | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3784 | (*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] 3787 | compare_cstring (s,stream->user_flags[i]); i++); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3793 | else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); | ^ | | | unsigned char * In file included from imap4r1.c:36: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ^~~~~~ imap4r1.c:3795:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3795 | while (s = (char *) strtok (NIL," )")); | ^ imap4r1.c:3796:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3796 | else if (!strcmp (reply->key,"SEARCH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3798 | if (reply->text && (t = (char *) strtok (reply->text," "))) do | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3798 | 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] 3799 | if (i = strtoul (t,NIL,10)) { | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3808 | } while (t = (char *) strtok (NIL," ")); | ^ imap4r1.c:3810:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3810 | else if (!strcmp (reply->key,"SORT")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3818 | if (reply->text && (t = (char *) strtok (reply->text," "))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3818 | 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] 3819 | do if ((i = atol (t)) && (LOCAL->filter ? | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 366 | __NTH (atol (const char *__nptr)) | ^~~~~ imap4r1.c:3822:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3822 | while ((t = (char *) strtok (NIL," ")) && | ^ imap4r1.c:3829:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3829 | else if (!strcmp (reply->key,"THREAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3844 | else if (!strcmp (reply->key,"STATUS") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3848 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 3848 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^ imap4r1.c:3854:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3854 | while (*txt && (s = strchr (txt,' '))) { | ^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 3854 | while (*txt && (s = strchr (txt,' '))) { | ^ imap4r1.c:3857:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3857 | i = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3858 | if (!compare_cstring (txt,"MESSAGES")) { | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3862 | else if (!compare_cstring (txt,"RECENT")) { | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3866 | else if (!compare_cstring (txt,"UNSEEN")) { | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3870 | else if (!compare_cstring (txt,"UIDNEXT")) { | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3874 | else if (!compare_cstring (txt,"UIDVALIDITY")) { | ^~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3883 | strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 88 | __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] 3891 | else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3891 | else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3893 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 3893 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^ imap4r1.c:3897:41: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3897 | if (t = (char *) strtok (reply->text+1," ")) do { | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3897 | 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] 3898 | if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; | ^~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3899 | else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3900 | else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3901 | else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3902 | else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; | ^~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3903 | else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 3906 | while (t = (char *) strtok (NIL," ")); | ^ imap4r1.c:3920:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3920 | 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] 3920 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 3923 | if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1500:54: note: expected 'char *' but argument is of type 'unsigned char *' 1500 | 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] 3924 | else mm_list (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1499:54: note: expected 'char *' but argument is of type 'unsigned char *' 1499 | 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] 3928 | else if (!strcmp (reply->key,"NAMESPACE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3951 | else if (!strcmp (reply->key,"ACL") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3957 | 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] 3959 | 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] 3968 | else if (ar) (*ar) (stream,t,al); | ^ | | | unsigned char * 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] 3972 | else if (ar) (*ar) (stream,t,NIL); | ^ | | | unsigned char * 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] 3976 | else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 3980 | 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] 3982 | (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] 3996 | else if (lr) (*lr) (stream,t,id,r,rl); | ^ | | | unsigned char * 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] 4001 | else if (lr) (*lr) (stream,t,id,r,NIL); | ^ | | | unsigned char * 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] 4019 | else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4023 | 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] 4029 | else if (mr) (*mr) (stream,t,r); | ^ | | | unsigned char * 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] 4041 | else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4052 | 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] 4054 | qc->usage = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 4056 | qc->limit = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 4061 | if (qt) (*qt) (stream,t,ql); | ^ | | | unsigned char * 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] 4080 | else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4095 | else if (qr) (*qr) (stream,t,rl); | ^ | | | unsigned char * 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] 4106 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4106 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4107 | imap_parse_response (stream,reply->text,NIL,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | 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] 4108 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4109 | imap_parse_response (stream,reply->text,WARN,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | 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] 4110 | else if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4111 | imap_parse_response (stream,reply->text,ERROR,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | 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] 4112 | else if (!strcmp (reply->key,"BYE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4114 | imap_parse_response (stream,reply->text,BYE,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | 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] 4116 | else if (!strcmp (reply->key,"CAPABILITY") && reply->text) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4117 | imap_parse_capabilities (stream,reply->text); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:256:56: note: expected 'char *' but argument is of type 'unsigned char *' 256 | 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] 4118 | else if (!strcmp (reply->key,"MAILBOX") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 4120 | ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 4121 | 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] 4121 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 4123 | mm_list (stream,NIL,t,NIL); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1499:54: note: expected 'char *' but argument is of type 'unsigned char *' 1499 | 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] 4153 | if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4153 | if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && | ^~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4161 | else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4161 | else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4163 | else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4163 | else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && | ^~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4171 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4171 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4172 | else if (!compare_cstring (s,"\\Deleted")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4172 | else if (!compare_cstring (s,"\\Deleted")) | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4174 | else if (!compare_cstring (s,"\\Flagged")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4174 | else if (!compare_cstring (s,"\\Flagged")) | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4176 | else if (!compare_cstring (s,"\\Answered")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4176 | else if (!compare_cstring (s,"\\Answered")) | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4178 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4178 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4185 | else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4185 | else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4189 | if (!compare_cstring (LOCAL->tmp,"REFERRAL")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4189 | if (!compare_cstring (LOCAL->tmp,"REFERRAL")) | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4194 | if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4194 | if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { | ^~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4198 | else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4198 | else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4199 | else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4199 | else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4201 | else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4201 | else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4243 | 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] 4268 | 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] 4280 | 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] 4353 | else if (isdigit (*(s = *txtptr)) && | ^ imap4r1.c:4355:12: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4355 | strtoul (*txtptr,(char **) txtptr,10))) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 4439 | (*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] 4446 | (*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] 4448 | (*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] 4544 | 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] 4545 | 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] 4546 | 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] 4547 | 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] 4632 | while (*(flag = ++*txtptr) == ' '); | ^ imap4r1.c:4640:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4640 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4640 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4641 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4641 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4642 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4642 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4643 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4643 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4644 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4644 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4645 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4645 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4669 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4669 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 4702 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 103 | __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] 4702 | 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] 4743 | 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] 4762 | return string; | ^~~~~~ imap4r1.c:4792:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4792 | if ((i = strtoul (*txtptr,(char **) txtptr,10)) > 0x7fffffff) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 4822 | 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] 4823 | reply->line = cpystr (""); | ^ imap4r1.c:4824:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 4824 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1503:21: note: expected 'char *' but argument is of type 'unsigned char *' 1503 | 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] 4834 | 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] 4892 | if (!(b = mail_body (stream,msgno,seg))) { | ^~~ | | | char * In file included from imap4r1.c:32: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' 1585 | 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] 4969 | 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] 4970 | ucase (body->subtype); | ~~~~^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 4988 | 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] 5009 | 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] 5010 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 5019 | 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] 5020 | ucase (body->subtype); /* parse subtype */ | ~~~~^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | 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] 5027 | 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] 5028 | 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] 5030 | 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] 5031 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from imap4r1.c:36: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ imap4r1.c:5044:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5044 | body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 5054 | body->size.lines = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 5060 | 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] 5073 | 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] 5121 | 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] 5127 | 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] 5149 | ((*(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] 5173 | 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] 5216 | 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] 5284 | if (i = strtoul (*txtptr,(char **) txtptr,10)) do | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 5289 | 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] 5290 | reply->line = cpystr (""); | ^ imap4r1.c:5291:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 5291 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1503:21: note: expected 'char *' but argument is of type 'unsigned char *' 1503 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:5296:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5296 | strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 5330 | if (!compare_cstring (t,"IMAP4")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5330 | if (!compare_cstring (t,"IMAP4")) | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5332 | else if (!compare_cstring (t,"IMAP4rev1")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5332 | else if (!compare_cstring (t,"IMAP4rev1")) | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5334 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5334 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5335 | else if (!compare_cstring (t,"IMAP2bis")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5335 | else if (!compare_cstring (t,"IMAP2bis")) | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5337 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5337 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5338 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5338 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5339 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5339 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5340 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5340 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5341 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5341 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5342 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5342 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5343 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5343 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5344 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5344 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5345 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5345 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5346 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5346 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5347 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5347 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5348 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5348 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5349 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5349 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5350 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5350 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5351 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5351 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5352 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5352 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5353 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5353 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5361 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5361 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5368 | else if (!compare_cstring (t,"AUTH")) { | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5368 | else if (!compare_cstring (t,"AUTH")) { | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5371 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 5371 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # 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 22 | #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 52 | #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] 176 | !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ pop3.c:176:13: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 176 | !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from pop3.c:23: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 229 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 229 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 230 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 230 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 245 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 245 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 250 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 250 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 276 | if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 276 | if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ 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] 496 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 496 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 497 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 497 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 498 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 498 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 499 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 499 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 500 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 500 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 501 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 501 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 502 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 502 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^~~~~~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 504 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 504 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 512 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 512 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 513 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 513 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 515 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 515 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^~~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 523 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 523 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 526 | else if (!compare_cstring (t,"SASL") && args) | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 526 | else if (!compare_cstring (t,"SASL") && args) | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ 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] 779 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from pop3.c:22: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 780 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from pop3.c:22: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 843 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 844 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 845 | (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 22 | #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 52 | #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] 204 | utime (file,tp); /* set the times */ | ^~~~~ | stime 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] 438 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 438 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 450 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = CHUNK) + 1); | ^ 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] 590 | 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] 604 | 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] 612 | *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); | ^ | | | unsigned char * In file included from unix.c:39: mail.h:1599:34: note: expected 'char *' but argument is of type 'unsigned char *' 1599 | 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] 613 | 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] 662 | 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] 674 | return LOCAL->buf; | ^ unix.c:690:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 690 | 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] 693 | 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] 804 | 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] 836 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from unix.c:39: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 837 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from unix.c:39: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 841 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 841 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 852 | sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 853 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 857 | sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 858 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 866 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 867 | MM_LOG (LOCAL->buf,ERROR);/* log the error */ | ^ | | | unsigned char * 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] 877 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from unix.c:40: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 884 | j = unix_xstatus (stream,LOCAL->buf,elt,NIL); | ^ | | | unsigned char * unix.c:121:54: note: expected 'char *' but argument is of type 'unsigned char *' 121 | 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] 885 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from unix.c:40: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 894 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 907 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 947 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 947 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 978 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from unix.c:39: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ unix.c:936:15: warning: unused variable 'tstream' [-Wunused-variable] 936 | 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] 1256 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1257 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * 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] 1266 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1268 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * 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] 1280 | 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] 1289 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c:1293:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1293 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1295 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * 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] 1344 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1345 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * 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] 1349 | 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] 1366 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' 302 | 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] 1366 | 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] 1366 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 1372 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from unix.c:46: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | 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] 1420 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' 302 | 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] 1420 | u = strpbrk (s," \n\r"); | ^ unix.c:1426:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1426 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 103 | __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] 1454 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1459 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1464 | sprintf (tmp,"Message %lu UID %lu greater than last %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1471 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * 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] 1527 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1528 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1529 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1530 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1531 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1532 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1555 | 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] 1580 | 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] 1837 | unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * unix.c:1722:53: note: expected 'char *' but argument is of type 'unsigned char *' 1722 | 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] 1844 | unix_xstatus (stream,LOCAL->buf,elt,flag) + | ^ | | | unsigned char * unix.c:1748:54: note: expected 'char *' but argument is of type 'unsigned char *' 1748 | 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] 1851 | size = unix_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * unix.c:1722:53: note: expected 'char *' but argument is of type 'unsigned char *' 1722 | 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] 1871 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:1722:53: note: expected 'char *' but argument is of type 'unsigned char *' 1722 | 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] 1871 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:125:36: note: expected 'char *' but argument is of type 'unsigned char *' 125 | 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] 1887 | unix_xstatus (stream,LOCAL->buf,elt,flag)))) { | ^ | | | unsigned char * unix.c:1748:54: note: expected 'char *' but argument is of type 'unsigned char *' 1748 | 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] 1901 | unix_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * unix.c:125:36: note: expected 'char *' but argument is of type 'unsigned char *' 125 | 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] 1915 | j = unix_xstatus (stream,LOCAL->buf,elt,flag)); | ^ | | | unsigned char * unix.c:1748:54: note: expected 'char *' but argument is of type 'unsigned char *' 1748 | 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] 1914 | unix_write (&f,LOCAL->buf, | ^ | | | unsigned char * unix.c:125:36: note: expected 'char *' but argument is of type 'unsigned char *' 125 | 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] 1997 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1998 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 2019 | 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] 2024 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:55, from unix.c:40: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 2030 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 2031 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 2218 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2218 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 2354 | sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 2356 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 2368 | sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 2369 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * 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] 2375 | sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 2377 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 2393 | sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 2398 | else MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * 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] 483 | 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] 594 | 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] 604 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | 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] 666 | 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] 876 | 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] 895 | 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] 1027 | 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] 1891 | 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] 1984 | 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] 2027 | 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] 2361 | 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] 2371 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2379:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 2379 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2390:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 2390 | 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=] 1534 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1535 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:867, from unix.c:34: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1070 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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 22 | #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 52 | #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] 190 | 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] 190 | if ((s = mbx_file (tmp,name)) && !stat (s,&sbuf) && | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' 453 | __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] 209 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 209 | (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] 212 | if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 212 | if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from mbx.c:39: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ^~~~~~ mbx.c:220:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 220 | 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] 224 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 224 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ 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] 417 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 417 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 498 | 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] 503 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 503 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 591 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 592 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 620 | 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] 623 | 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] 72 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ mbx.c:640:13: note: in expansion of macro 'LOCAL' 640 | char *s = LOCAL->text.data; | ^~~~~ mbx.c:671:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 671 | 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] 773 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 774 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * 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] 806 | sprintf (LOCAL->buf,"Expunged %lu messages",nexp); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 807 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * 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] 810 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 811 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * 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] 848 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mbx.c:33: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | 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] 849 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 849 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 855 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 855 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 871 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 872 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 905 | if (!mbx_isvalid (&dstream,mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * mbx.c:181:55: note: expected 'char *' but argument is of type 'unsigned char *' 181 | 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] 911 | sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 912 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 916 | sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 917 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 920 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 921 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 925 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 926 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 944 | mail_date(LOCAL->buf,elt);/* build target header */ | ^ | | | unsigned char * In file included from mbx.c:33: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | 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] 949 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 949 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 950 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 950 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 956 | if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 956 | if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 959 | ret = write (fd,LOCAL->buf,j) >= 0; | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 964 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 965 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 1014 | if (!compare_cstring (mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1014 | if (!compare_cstring (mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1059 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mbx.c:33: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1156 | stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1159 | i = strtoul (LOCAL->buf + 15,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1163 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1163 | (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] 1166 | if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 1167 | stream->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from mbx.c:39: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ^~~~~~ mbx.c:1177:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1177 | strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1194 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1194 | 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] 1203 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1203 | 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] 1203 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1203 | 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] 1233 | if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1251 | if ((m = strtoul (t+13,NIL,16)) && | ~^~~ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1267 | if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { | ~^~ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1301 | elt->user_flags = strtoul (t,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1383 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1385 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1392:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1392 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1393 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1397:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1397 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1400 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1404:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1404 | i = strtoul (LOCAL->buf+9,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1413 | elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 72 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ mbx.c:1429:13: note: in expansion of macro 'LOCAL' 1429 | char *s = LOCAL->buf; | ^~~~~ mbx.c:1440:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1440 | sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1444 | if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 1467 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1469 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1476:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1476 | sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1477 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1481:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1481 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1484 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1489:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1489 | fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1487 | sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1497 | if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 1545 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1552:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1552 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1562:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1562 | 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] 1643 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 623 | 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] 671 | 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] 873 | 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] 958 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:966:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 966 | 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] 1083 | 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] 1151 | 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] 1639 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1663:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 1663 | 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 22 | #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 52 | #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] 372 | utime (file,tp); /* set the times */ | ^~~~~ | stime 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] 594 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 594 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 606 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = CHUNK) + 1); | ^ 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] 746 | 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] 760 | 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] 768 | *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); | ^ | | | unsigned char * In file included from mmdf.c:27: mail.h:1599:34: note: expected 'char *' but argument is of type 'unsigned char *' 1599 | 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] 769 | 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] 818 | 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] 830 | return LOCAL->buf; | ^ mmdf.c:846:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 846 | 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] 849 | 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] 961 | 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] 994 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mmdf.c:27: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 995 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mmdf.c:27: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 999 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 999 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1010 | sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1011 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 1015 | sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1016 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 1024 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1025 | MM_LOG (LOCAL->buf,ERROR); /* log the error */ | ^ | | | unsigned char * 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] 1035 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 1042 | j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL); | ^ | | | unsigned char * mmdf.c:278:54: note: expected 'char *' but argument is of type 'unsigned char *' 278 | 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] 1043 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 1053 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1066 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 1106 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1106 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1137 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mmdf.c:27: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1232 | 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] 1410 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1411 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * 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] 1420 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1422 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * 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] 1434 | 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] 1443 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1447:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1447 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1453 | 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] 1458 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * 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] 1475 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1511:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1511 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1512 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * 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] 1528 | 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] 1549 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' 302 | 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] 1549 | 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] 1549 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 1555 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from mmdf.c:33: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | 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] 1603 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' 302 | 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] 1603 | u = strpbrk (s," \n\r"); | ^ mmdf.c:1609:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1609 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 103 | __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] 1637 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1642 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1647 | sprintf (tmp,"Message %lu UID %lu greater than last %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1654 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * 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] 1710 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1711 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1712 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1713 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1714 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1715 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1738 | 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] 1762 | 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] 1777 | 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] 2025 | unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * mmdf.c:1910:53: note: expected 'char *' but argument is of type 'unsigned char *' 1910 | 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] 2032 | mmdf_xstatus (stream,LOCAL->buf,elt,flag) + | ^ | | | unsigned char * mmdf.c:1936:54: note: expected 'char *' but argument is of type 'unsigned char *' 1936 | 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] 2039 | size = mmdf_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * mmdf.c:1910:53: note: expected 'char *' but argument is of type 'unsigned char *' 1910 | 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] 2059 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:1910:53: note: expected 'char *' but argument is of type 'unsigned char *' 1910 | 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] 2059 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:282:36: note: expected 'char *' but argument is of type 'unsigned char *' 282 | 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] 2075 | mmdf_xstatus (stream,LOCAL->buf,elt,flag)))) { | ^ | | | unsigned char * mmdf.c:1936:54: note: expected 'char *' but argument is of type 'unsigned char *' 1936 | 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] 2089 | mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * mmdf.c:282:36: note: expected 'char *' but argument is of type 'unsigned char *' 282 | 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] 2103 | j = mmdf_xstatus (stream,LOCAL->buf,elt,flag)); | ^ | | | unsigned char * mmdf.c:1936:54: note: expected 'char *' but argument is of type 'unsigned char *' 1936 | 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] 2102 | mmdf_write (&f,LOCAL->buf, | ^ | | | unsigned char * mmdf.c:282:36: note: expected 'char *' but argument is of type 'unsigned char *' 282 | 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] 2168 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 2169 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 2190 | 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] 2195 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 2201 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 2202 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 639 | 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] 750 | 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] 760 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 761 | 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] 822 | 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] 1034 | 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] 1054 | 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] 1185 | 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] 2079 | 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] 2155 | 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] 2198 | 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=] 1717 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1718 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:867, from mmdf.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1070 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __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 22 | #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 52 | #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] 198 | 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] 203 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 203 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 341 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 341 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 418 | 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] 424 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 424 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 491 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 492 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 502 | 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] 529 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 530 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 555 | 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] 565 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); | ^ | | | char * In file included from osdep.h:58, from tenex.c:39: nl.h:25:21: note: expected 'unsigned char *' but argument is of type 'char *' 25 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c:568:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 568 | 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] 600 | 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] 623 | strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); | ^ | | | char * In file included from osdep.h:58, from tenex.c:39: nl.h:25:21: note: expected 'unsigned char *' but argument is of type 'char *' 25 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ 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] 765 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from tenex.c:38: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | 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] 766 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 766 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 772 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 772 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 788 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 789 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 879 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 894 | sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 896 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * 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] 900 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 902 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * 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] 940 | if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * tenex.c:168:37: note: expected 'char *' but argument is of type 'unsigned char *' 168 | 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] 948 | sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 949 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 953 | sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 954 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 957 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 958 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 961 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 962 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 984 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 989 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 990 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 1045 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1045 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1091 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from tenex.c:38: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1210 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1210 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ tenex.c:1219:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1219 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1219 | 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] 1219 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1219 | 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] 1242 | (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:35, from tenex.c:39: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1266 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from tenex.c:39: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1344 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1345 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from tenex.c:39: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ tenex.c:1353:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1353 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from tenex.c:39: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1379 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1387 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 1422 | 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] 507 | 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] 558 | 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] 563 | 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] 605 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:620:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 620 | 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] 790 | 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] 874 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:899:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 899 | 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] 983 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:991:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 991 | 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] 1119 | 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] 1422 | 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 22 | #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 52 | #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] 192 | 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] 197 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 197 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 335 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 335 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 413 | 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] 418 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 418 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 482 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 483 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 506 | 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] 511 | 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] 692 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mtx.c:33: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | 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] 693 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 693 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 699 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 699 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 715 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 716 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 805 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 820 | sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 822 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * 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] 826 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 828 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * 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] 866 | if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * mtx.c:162:35: note: expected 'char *' but argument is of type 'unsigned char *' 162 | 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] 874 | sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 875 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 879 | sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 880 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 883 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 884 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 887 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 888 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 910 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 915 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 916 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * 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] 971 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 971 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1017 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mtx.c:33: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1114 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1114 | 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] 1123 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1123 | 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] 1123 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1123 | 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] 1146 | (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && | ^ | | | unsigned char * In file included from osdep.h:35, from mtx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1170 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from mtx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1248 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1249 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mtx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mtx.c:1257:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1257 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from mtx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1283 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1291 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | 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] 510 | 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] 551 | 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] 717 | 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] 800 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:825:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 825 | 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] 909 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:917:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 917 | 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] 1038 | 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 22 | #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 52 | #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] 222 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 222 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 225 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 225 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 347 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~ | | | int (*)(struct dirent *) 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 *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:347:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 347 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) 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 *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ news.c:353:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 353 | 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] 436 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 437 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 453 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 453 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 485 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from news.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 486 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:328, from osdep.h:41, from news.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ news.c:498:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 498 | 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] 146 | 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] 213 | 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] 501 | 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 22 | #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 52 | #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] 297 | LOCAL->env->date = cpystr (tmp); | ^ phile.c:319:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 319 | buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); | ^ | | | char * In file included from osdep.h:58, from phile.c:28: nl.h:25:21: note: expected 'unsigned char *' but argument is of type 'char *' 25 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ phile.c:309:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 309 | 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 22 | #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 52 | #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] 161 | ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { | ~~~~^~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 161 | ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { | ^~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 187 | if (!strcmp (lcase (s),"path:")) { | ^ | | | char * In file included from mh.c:32: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ^~~~~ mh.c:187:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 187 | if (!strcmp (lcase (s),"path:")) { | ^~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from mh.c:27: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 288 | if (!compare_cstring (test,"#MHINBOX")) | ^~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 288 | if (!compare_cstring (test,"#MHINBOX")) | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 305 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 305 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 337 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 337 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 339 | if (dmatch (name,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 339 | if (dmatch (name,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 513 | stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 513 | stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 517 | 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] 562 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 563 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 595 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 596 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:328, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:608:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 608 | 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] 688 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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 *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:688:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 688 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) 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 *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:726:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 726 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 729 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:328, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:751:21: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] 751 | mh_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mh.c:82:24: note: expected 'char *' but argument is of type 'unsigned char *' 82 | 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] 758 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:37, from mh.c:27: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'unsigned char *' 825 | 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] 808 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 809 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:37, from mh.c:27: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'unsigned char *' 825 | 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] 810 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 812 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:26: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 828 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 829 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:26: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | 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] 855 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 856 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 859 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 860 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:328, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:873:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 873 | 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] 919 | if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 919 | if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 938 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) 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 *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:938:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 938 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~~ | | | int (*)(const void *, const void *) 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 *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:956:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 956 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mh.c:26: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1034 | compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); | ^~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1034 | compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1074 | 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] 179 | 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] 611 | 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] 876 | 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 22 | #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 52 | #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] 259 | if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 259 | if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | 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] 264 | else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | 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] 264 | else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ 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] 413 | if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); | ^~~ | | | char * In file included from mx.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 413 | if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 436 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 436 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 440 | 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] 489 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 490 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 507 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 509 | stat (LOCAL->buf,&sbuf); /* get size of message */ | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' 453 | __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] 519 | 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] 549 | 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] 564 | cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); | ^ | | | unsigned char * In file included from mx.c:32: misc.h:81:7: note: expected 'char *' but argument is of type 'unsigned char *' 81 | 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] 565 | cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); | ^ | | | unsigned char * In file included from mx.c:32: misc.h:81:7: note: expected 'char *' but argument is of type 'unsigned char *' 81 | 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] 647 | long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) 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 *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:647:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 647 | long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) 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 *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:687:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 687 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 690 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:328, from osdep.h:41, from mx.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mx.c:713:21: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] 713 | mx_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mx.c:86:24: note: expected 'char *' but argument is of type 'unsigned char *' 86 | 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] 718 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:37, from mx.c:27: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'unsigned char *' 825 | 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] 765 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 766 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:37, from mx.c:27: /usr/include/unistd.h:825:32: note: expected 'const char *' but argument is of type 'unsigned char *' 825 | 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] 767 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 769 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * 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] 785 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 786 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * 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] 814 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 815 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 823 | 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] 875 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 875 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 912 | if (!mail_parse_date (&selt,date)) { | ^~~~ | | | char * In file included from mx.c:26: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 1139 | 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] 552 | 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] 826 | 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] 1032 | 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] 1122 | 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 22 | #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 52 | #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] 116 | ucase (tmp); | ^~~ | | | char * 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 *' 78 | 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] 158 | switch (*ucase (cmd)) { /* dispatch based on command */ | ^~~ | | | char * 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 *' 78 | 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] 370 | mail_parse_date (&selt,ov->date); | ~~^~~~~~ | | | char * In file included from ../c-client/c-client.h:33, from mtest.c:31: ../c-client/mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | 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] 585 | 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] 778 | 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] 779 | strcpy (msg->date,line); | ~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 88 | __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 `prompt': /usr/src/RPM/BUILD/imap-2004g/mtest/mtest.c:585: 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 22 | #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 52 | #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] 145 | ucase (s); /* canonicalize case */ | ^ | | | char * 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 *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ ipop2d.c: In function 'c_fold': ipop2d.c:330:10: warning: unused variable 'mb' [-Wunused-variable] 330 | NETMBX mb; | ^~ ipop2d.c:329:9: warning: unused variable 's' [-Wunused-variable] 329 | char *s = NIL,tmp[2*TMPLEN]; | ^ In file included from /usr/include/string.h:507, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from ipop2d.c:30: In function 'strncpy', inlined from 'mm_login' at ipop2d.c:652:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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 22 | #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 52 | #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] 167 | ucase (s); /* canonicalize case */ | ^ | | | char * 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 *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ ipop3d.c: In function 'pass_login': ipop3d.c:564:8: warning: unused variable 'tmp' [-Wunused-variable] 564 | char tmp[TMPLEN]; | ^~~ In file included from /usr/include/string.h:507, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from ipop3d.c:29: In function 'strncpy', inlined from 'mm_login' at ipop3d.c:925:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `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 22 | #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 52 | #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] 264 | (((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] 264 | (((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] 269 | rfc822_date (tmp); /* get date/time at startup */ | ^~~ | | | unsigned char * 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:25: note: expected 'char *' but argument is of type 'unsigned char *' 26 | void rfc822_date (char *date); | ~~~~~~^~~~ imapd.c:285:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 285 | 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] 292 | 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] 300 | s = "ANONYMOUS"; | ^ imapd.c:304:22: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 304 | user = cpystr (s); /* copy user name */ | ^ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:304:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 304 | 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] 305 | pass = cpystr ("*"); /* set fake password */ | ^ imapd.c:314:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 314 | PSOUT (user); | ^~~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:326:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 326 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:340:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] 340 | slurp (cmdbuf,CMDLEN); /* slurp command */ | ^~~~~~ | | | unsigned char * imapd.c:110:19: note: expected 'char *' but argument is of type 'unsigned char *' 110 | void slurp (char *s,int n); | ~~~~~~^ imapd.c:347:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 347 | if (!strchr (cmdbuf,'\012')) { | ^~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 348 | if (t = strchr (cmdbuf,' ')) *t = '\0'; | ^~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 348 | if (t = strchr (cmdbuf,' ')) *t = '\0'; | ^ imapd.c:354:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 354 | sprintf (tmp,response,t ? (char *) cmdbuf : "*"); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 355 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:357:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 357 | else if (!(tag = strtok (cmdbuf," \015\012"))) { | ^~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 364 | 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] 376 | if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 383 | 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] 383 | if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 387 | if (arg[i] == '{') litplus = strtoul (arg + i + 1,NIL,10); | ~~~~~~~~^~~ | | | unsigned char * 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:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 391 | if (!strcmp (cmd,"NOOP")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 396 | else if (!strcmp (cmd,"LOGOUT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 408 | else if (!strcmp (cmd,"CAPABILITY")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 430 | if (!strcmp (cmd,"AUTHENTICATE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 439 | else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 440 | 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] 444 | user = cpystr ("ANONYMOUS"); | ^ imapd.c:445:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 445 | pass = cpystr ("*"); | ^ imapd.c:456:39: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign] 456 | else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { | ^ | | | unsigned char * 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 *' 1695 | 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] 456 | 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] 457 | pass = cpystr ("*"); | ^ imapd.c:467:23: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 467 | lsterr = cpystr (s); | ^ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:468:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 468 | while (auth && compare_cstring (s,auth->name)) auth = auth->next; | ~~~~^~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 486 | else if (!strcmp (cmd,"LOGIN")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 490 | if (!((user = cpystr (snarf (&arg))) && | ^~~~~~~~~~~~ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:490:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 490 | if (!((user = cpystr (snarf (&arg))) && | ^ imapd.c:491:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 491 | (pass = cpystr (snarf (&arg))))) response = misarg; | ^~~~~~~~~~~~ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:491:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 491 | (pass = cpystr (snarf (&arg))))) response = misarg; | ^ imapd.c:514:22: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 514 | if (s = strchr (user,'*')) *s++ ='\0'; | ^~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 514 | 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] 516 | if (server_login (user,pass,s,argc,argv)) { | ^~~~ | | | unsigned char * 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:26: note: expected 'char *' but argument is of type 'unsigned char *' 32 | 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] 516 | if (server_login (user,pass,s,argc,argv)) { | ^~~~ | | | unsigned char * 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:37: note: expected 'char *' but argument is of type 'unsigned char *' 32 | 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] 516 | if (server_login (user,pass,s,argc,argv)) { | ^ | | | unsigned char * 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:48: note: expected 'char *' but argument is of type 'unsigned char *' 32 | 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] 528 | else if (!strcmp (cmd,"STARTTLS")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 538 | if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 538 | if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 539 | if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 539 | 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] 539 | 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] 542 | mail_sequence (stream,s)) fetch (t,uid); | ^ | | | unsigned char * imapd.c:129:19: note: expected 'char *' but argument is of type 'unsigned char *' 129 | 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] 546 | else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 546 | else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 548 | if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 548 | 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] 548 | 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] 549 | (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] 554 | if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 554 | if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 555 | strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen"); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 88 | __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] 557 | (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] 558 | if (strlen (v) < | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 559 | ((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 561 | strcpy (u,v); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 88 | __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] 561 | strcpy (u,v); | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 88 | __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] 563 | mail_flag (stream,s,tmp,f & ~ST_SET); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:42: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | 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] 563 | mail_flag (stream,s,tmp,f & ~ST_SET); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:57: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | 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] 565 | else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 565 | else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 567 | else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 567 | else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 573 | mail_flag (stream,s,t,f); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:42: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | 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] 573 | mail_flag (stream,s,t,f); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:57: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | 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] 584 | else if (!strcmp (cmd,"CHECK")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 594 | else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 604 | else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 604 | else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 619 | (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 619 | (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 621 | if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 621 | 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] 621 | 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] 628 | else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1575:47: note: expected 'char *' but argument is of type 'unsigned char *' 1575 | 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] 628 | else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1575:62: note: expected 'char *' but argument is of type 'unsigned char *' 1575 | 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] 635 | else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 635 | else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 637 | if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && | ~~^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 637 | 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] 645 | if (!(s = strtok (ucase (s)," "))) response = badatt; | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 645 | 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] 650 | if (!strcmp (s,"REVERSE")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 652 | if (!(s = strtok (NIL," "))) { | ^ imapd.c:653:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 653 | s = ""; /* end of attributes */ | ^ imapd.c:657:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 657 | if (!strcmp (s,"DATE")) pg->function = SORTDATE; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 658 | else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 659 | else if (!strcmp (s,"FROM")) pg->function = SORTFROM; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 660 | else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 661 | else if (!strcmp (s,"TO")) pg->function = SORTTO; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 662 | else if (!strcmp (s,"CC")) pg->function = SORTCC; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 663 | else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 665 | } while (s = strtok (NIL," ")); | ^ imapd.c:669:55: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 669 | else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg && | ^ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:692:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 692 | else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 692 | else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 697 | if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 697 | 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] 698 | (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] 704 | if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { | ^ | | | unsigned char * 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 *' 1632 | 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] 717 | else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 717 | else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 732 | if (s = snarf (&arg)) charset = cpystr (s); | ^ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:763:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 763 | if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 763 | if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 764 | strcmp (cmd,"BBOARD"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 768 | else if (nameok (NIL,s = bboardname (cmd,s))) { | ^~~ | | | unsigned char * imapd.c:174:7: note: expected 'char *' but argument is of type 'unsigned char *' 174 | char *bboardname (char *cmd,char *name); | ^~~~~~~~~~ imapd.c:768:45: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign] 768 | else if (nameok (NIL,s = bboardname (cmd,s))) { | ^ | | | unsigned char * imapd.c:174:7: note: expected 'char *' but argument is of type 'unsigned char *' 174 | 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] 768 | 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] 768 | else if (nameok (NIL,s = bboardname (cmd,s))) { | ~~^~~~~~~~~~~~~~~~~~~~ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | 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] 769 | DRIVER *factory = mail_valid (NIL,s,NIL); | ^ | | | unsigned char * 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 *' 1514 | 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] 779 | (stream = mail_open (stream,s,f | OP_SILENT)) && | ^ | | | unsigned char * 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 *' 1528 | 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] 785 | (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] 788 | strncpy (tmp,t,i)[i] = '\0'; | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 103 | __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] 788 | strncpy (tmp,t,i)[i] = '\0'; | ^ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 103 | __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] 790 | if (t = strpbrk (tmp,"\r\n")) *t = '\0'; | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' 302 | 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] 790 | 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] 792 | if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) && | ^~~ | | | unsigned char * 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 *' 1528 | 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] 805 | else if (!factory && isnewsproxy (s)) { | ^ | | | unsigned char * imapd.c:175:25: note: expected 'char *' but argument is of type 'unsigned char *' 175 | long isnewsproxy (char *name); | ~~~~~~^~~~ imapd.c:806:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 806 | sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 807 | stream = mail_open (stream,tmp,f); | ^~~ | | | unsigned char * 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 *' 1528 | 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] 810 | else stream = mail_open (stream,s,f); | ^ | | | unsigned char * 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 *' 1528 | 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] 816 | if (!compare_cstring (s,"#MHINBOX")) | ^~~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 818 | else lastsel = cpystr (compare_cstring (s,"INBOX") ? | ^~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 839 | else if (!(anonymous || strcmp (cmd,"APPEND"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 849 | if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1579:53: note: expected 'char *' but argument is of type 'unsigned char *' 1579 | 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] 865 | else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 865 | else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 871 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:20: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~ imapd.c:871:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 871 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:872:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 872 | if (newsproxypattern (s,t,tmp,LONGT)) { | ^ | | | unsigned char * imapd.c:176:30: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 872 | if (newsproxypattern (s,t,tmp,LONGT)) { | ^ | | | unsigned char * imapd.c:176:40: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 872 | if (newsproxypattern (s,t,tmp,LONGT)) { | ^~~ | | | unsigned char * imapd.c:176:50: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 874 | mail_list (NIL,"",tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:52: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | 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] 877 | else mail_list (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:42: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | 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] 877 | else mail_list (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:52: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | 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] 883 | else if (!strcmp (cmd,"SCAN")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 889 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:20: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~ imapd.c:889:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 889 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:890:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 890 | if (newsproxypattern (s,t,tmp,NIL)) | ^ | | | unsigned char * imapd.c:176:30: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 890 | if (newsproxypattern (s,t,tmp,NIL)) | ^ | | | unsigned char * imapd.c:176:40: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 890 | if (newsproxypattern (s,t,tmp,NIL)) | ^~~ | | | unsigned char * imapd.c:176:50: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 892 | else mail_scan (NIL,s,t,u); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1518:42: note: expected 'char *' but argument is of type 'unsigned char *' 1518 | 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] 892 | else mail_scan (NIL,s,t,u); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1518:52: note: expected 'char *' but argument is of type 'unsigned char *' 1518 | 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] 892 | else mail_scan (NIL,s,t,u); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1518:62: note: expected 'char *' but argument is of type 'unsigned char *' 1518 | 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] 898 | else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 898 | else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 904 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:20: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~ imapd.c:904:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 904 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:905:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^ | | | unsigned char * imapd.c:176:30: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^ | | | unsigned char * imapd.c:176:40: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^~~ | | | unsigned char * imapd.c:176:50: note: expected 'char *' but argument is of type 'unsigned char *' 176 | 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] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^~~ | | | unsigned char * In file included from imapd.c:30: ../c-client/newsrc.h:29:44: note: expected 'char *' but argument is of type 'unsigned char *' 29 | 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] 906 | else mail_lsub (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1520:42: note: expected 'char *' but argument is of type 'unsigned char *' 1520 | 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] 906 | else mail_lsub (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1520:52: note: expected 'char *' but argument is of type 'unsigned char *' 1520 | 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] 913 | else if (!strcmp (cmd,"FIND")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 916 | if (!(arg && (s = strtok (arg," \015\012")) && (cmd = ucase (s)) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 916 | 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] 917 | (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] 921 | else if (strpbrk (s,"%?")) response = | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' 302 | 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] 923 | else if (nameok (NIL,s)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:926:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 926 | if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 926 | if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1520:52: note: expected 'char *' but argument is of type 'unsigned char *' 1520 | 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] 927 | else if (!strcmp (cmd,"ALL.MAILBOXES")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 930 | mail_list (NIL,NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:52: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | 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] 939 | else if (!strcmp (cmd,"STATUS")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 941 | (t = strchr (arg,')')) && (t - arg) && !t[1])) | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 941 | (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] 947 | t = strtok (ucase (arg)," "); | ^~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 947 | t = strtok (ucase (arg)," "); | ^ imapd.c:949:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 949 | if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 950 | else if (!strcmp (t,"RECENT")) f |= SA_RECENT; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 951 | else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 952 | else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 953 | else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 956 | PSOUT (t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:959:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 959 | } while (t = strtok (NIL," ")); | ^ imapd.c:962:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 962 | if (!compare_cstring (s,"INBOX")) s = "INBOX"; | ^~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 962 | 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] 963 | else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; | ^~~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 963 | 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] 966 | else if (lastsel && (!strcmp (s,lastsel) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 967 | (stream && !strcmp (s,stream->mailbox)))) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 972 | PSOUT (s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:977:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 977 | sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 977 | sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 979 | sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 979 | sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 983 | sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 983 | sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 986 | sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 986 | sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 988 | sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 988 | sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", | ~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 991 | strcat (tmp,")\015\012"); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 126 | __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] 993 | pastring (s); | ^ | | | unsigned char * imapd.c:161:22: note: expected 'char *' but argument is of type 'unsigned char *' 161 | void pastring (char *s); | ~~~~~~^ imapd.c:994:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 994 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:996:33: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] 996 | else if (!mail_status (NIL,s,f)) response = lose; | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1526:44: note: expected 'char *' but argument is of type 'unsigned char *' 1526 | 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] 1003 | else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1007 | if (compare_cstring (s,"MAILBOX")) response = badarg; | ^~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1010 | else mail_subscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1521:47: note: expected 'char *' but argument is of type 'unsigned char *' 1521 | 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] 1012 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); | ^ | | | unsigned char * imapd.c:175:25: note: expected 'char *' but argument is of type 'unsigned char *' 175 | long isnewsproxy (char *name); | ~~~~~~^~~~ imapd.c:1012:50: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] 1012 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); | ~^~ | | | unsigned char * In file included from imapd.c:30: ../c-client/newsrc.h:30:46: note: expected 'char *' but argument is of type 'unsigned char *' 30 | 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] 1013 | else mail_subscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1521:47: note: expected 'char *' but argument is of type 'unsigned char *' 1521 | 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] 1018 | else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1022 | if (compare_cstring (s,"MAILBOX")) response = badarg; | ^~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | 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] 1025 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); | ^ | | | unsigned char * imapd.c:175:25: note: expected 'char *' but argument is of type 'unsigned char *' 175 | long isnewsproxy (char *name); | ~~~~~~^~~~ imapd.c:1025:52: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] 1025 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); | ~^~ | | | unsigned char * In file included from imapd.c:30: ../c-client/newsrc.h:30:46: note: expected 'char *' but argument is of type 'unsigned char *' 30 | 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] 1026 | else mail_unsubscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1522:49: note: expected 'char *' but argument is of type 'unsigned char *' 1522 | 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] 1028 | else mail_unsubscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1522:49: note: expected 'char *' but argument is of type 'unsigned char *' 1522 | 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] 1033 | else if (!strcmp (cmd,"NAMESPACE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1084 | else if (!(anonymous || strcmp (cmd,"CREATE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1087 | else mail_create (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1523:44: note: expected 'char *' but argument is of type 'unsigned char *' 1523 | 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] 1092 | else if (!(anonymous || strcmp (cmd,"DELETE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1095 | else mail_delete (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1524:44: note: expected 'char *' but argument is of type 'unsigned char *' 1524 | 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] 1100 | else if (!(anonymous || strcmp (cmd,"RENAME"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1103 | else mail_rename (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1525:44: note: expected 'char *' but argument is of type 'unsigned char *' 1525 | 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] 1103 | else mail_rename (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1525:54: note: expected 'char *' but argument is of type 'unsigned char *' 1525 | 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] 1109 | else if (!strcmp (cmd,"IDLE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1139 | sprintf (tmp,"* OK Timeout in %lu minutes\015\012", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1141 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1145:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1145 | sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1147 | PSOUT (tmp); /* prod client to wake up */ | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1155:10: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] 1155 | slurp (tmp,MAILTMPLEN); | ^~~ | | | unsigned char * imapd.c:110:19: note: expected 'char *' but argument is of type 'unsigned char *' 110 | void slurp (char *s,int n); | ~~~~~~^ imapd.c:1166:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1166 | sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1167 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1169:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1169 | sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1171 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1190:16: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign] 1190 | if (!PSINR (tmp,i)) inerror ("reading literal"); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1732:19: note: expected 'char *' but argument is of type 'unsigned char *' 1732 | 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] 1205 | PSOUT (user); | ^~~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1212:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1212 | sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1213 | PSOUT (tmp); /* output response */ | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1217:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1217 | sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1219 | else if (lstref) sprintf (tmp,altlose,tag,lstref); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1221 | else sprintf (tmp,response,tag,cmd,lasterror ()); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:450, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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] 1223 | PSOUT (tmp); /* output response */ | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | 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] 1672 | if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) { | ^ | | | unsigned char * 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:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1691 | 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] 1691 | inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * imapd.c:1583:23: note: expected 'char *' but argument is of type 'unsigned char *' 1583 | 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] 1693 | slurp (*arg = t,CMDLEN - (t - cmdbuf)); | ~~~~~^~~ | | | unsigned char * imapd.c:1567:19: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void slurp (char *s,int n) | ~~~~~~^ imapd.c:1694:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1694 | if (!strchr (t,'\012')) return flush (); | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 1696 | if (!strtok (t,"\015\012")) *t = '\0'; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 1698 | if (((i = strlen (t)) > 3) && (t[i - 1] == '}') && | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 1702 | if (t[i] == '{') litplus = strtoul (t + i + 1,NIL,10); | ~~~~~~^~~ | | | unsigned char * 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:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 1772 | while ((c == ' ') && (t = parse_astring (s,&i,&c))) { | ^~ | | | char * imapd.c:1641:25: note: expected 'unsigned char *' but argument is of type 'char *' 1641 | unsigned char *del) | ~~~~~~~~~~~~~~~^~~ imapd.c:1772:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1772 | 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] 1784 | 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] 1846 | if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); | ~~~^~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' 302 | 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] 1846 | 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] 1846 | if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); | ^~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 1862 | if (!strcmp (s+1,"LL")) ret = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1863 | else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1867 | if (!strcmp (s+1,"CC") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1869 | else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1871 | else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1875 | if (!strcmp (s+1,"C") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1879 | if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1880 | if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1883 | if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1884 | else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1888 | if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1892 | *hdr = mail_newsearchheader (s,t); | ^ | | | unsigned char * 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 *' 1667 | 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] 1892 | *hdr = mail_newsearchheader (s,t); | ^ | | | unsigned char * 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 *' 1667 | 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] 1899 | if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1903 | if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1907 | if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1908 | else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1916 | if (!strcmp (s+1,"LD")) ret = pgm->old = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1917 | else if (!strcmp (s+1,"N") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1919 | else if (!strcmp (s+1,"R") && c == ' ') { | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1928 | if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1931 | if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1932 | else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1934 | else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1936 | else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1938 | else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1940 | else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1942 | else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1946 | if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1948 | else if (!strcmp (s+1,"O") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1953 | if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1962 | else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1963 | else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1964 | else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1965 | else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1966 | else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 1968 | else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2126 | char *s = parse_astring (arg,&i,&c); | ^~ | | | char * imapd.c:1641:25: note: expected 'unsigned char *' but argument is of type 'char *' 1641 | unsigned char *del) | ~~~~~~~~~~~~~~~^~~ imapd.c:2126:13: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 2126 | 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] 2136 | 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] 2183 | if (!strcmp (ucase (t),"ALL")) | ^ | | | char * 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 *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ imapd.c:2183:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2183 | if (!strcmp (ucase (t),"ALL")) | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2189 | 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] 2190 | if (list && (i = strlen (s)) && (s[i-1] == ')')) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 2195 | if (!strcmp (s,"UID")) { /* no-op if implicit */ | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2198 | else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2199 | else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2200 | else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2201 | else if (!strcmp (s,"ENVELOPE")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2205 | else if (!strcmp (s,"BODY")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2209 | else if (!strcmp (s,"BODYSTRUCTURE")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2213 | else if (!strcmp (s,"RFC822")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2217 | else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2218 | else if (!strcmp (s,"RFC822.TEXT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 2223 | else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2223 | else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2224 | !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2224 | !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2225 | !strncmp (s,"BINARY.SIZE[",12)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2265 | if (!strncmp (v,"MIME",4)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2278 | if (!strncmp (v,"HEADER",6)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2283 | if (!strncmp (v,".FIELDS",7)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2285 | if (!strncmp (v,".NOT",4)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2289 | 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] 2297 | else if (!strncmp (v,"TEXT",4)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:139:33: note: expected 'const char *' but argument is of type 'unsigned char *' 139 | 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] 2320 | !(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) || | ~^~ | | | unsigned char * 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:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2322 | (*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) && | ^ | | | unsigned char * 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:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 2333 | strtok (v," "); /* reset strtok mechanism */ | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 2340 | strtok (v," "); /* reset strtok mechanism */ | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 2351 | if (s && *s) ta->section = cpystr (s); | ^ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:2358:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2358 | } 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] 2494 | BODY *body = mail_body (stream,i,ta->section); | ~~^~~~~~~~~ | | | char * 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 *' 1585 | 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] 2919 | pnstring (env->date); /* output envelope fields */ | ~~~^~~~~~ | | | unsigned char * imapd.c:160:22: note: expected 'char *' but argument is of type 'unsigned char *' 160 | 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] 3440 | 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] 3440 | 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] 3450 | 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] 3450 | 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] 3556 | 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] 3586 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | 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] 3586 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | 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] 3690 | 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] 3697 | if (*arg == '"') *date = ad->date = cpystr (snarf (&arg)); | ^~~~~~~~~~~~ | | | unsigned char * 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 *' 80 | char *cpystr (const char *string); | ^~~~~~ imapd.c:3702:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3702 | else if (!(i = strtoul (arg+1,&t,10))) | ~~~^~ | | | unsigned char * 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:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 3710 | slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf)); | ~~^~~~~ | | | unsigned char * imapd.c:1567:19: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void slurp (char *s,int n) | ~~~~~~^ imapd.c:3711:19: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3711 | if (strchr (ad->arg,'\012')) { | ~~^~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' 225 | 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] 3713 | if (!strtok (ad->arg,"\015\012")) *ad->arg = '\0'; | ~~^~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:335:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 335 | 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] 3715 | if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') && | ~~^~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' 384 | 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] 3719 | if (ad->arg[j] == '{') litplus = strtoul (ad->arg + j + 1,NIL,10); | ~~~~~~~~~~~~^~~ | | | unsigned char * 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:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | 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] 4049 | strncpy (password,pass,256); /* and password */ | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:450, 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 *' 103 | __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 22 | #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 52 | #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] 407 | 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] 664 | 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] 52 | write (1,"?",1); /* indicate "impossible" failure */ | ^~~~~ | fwrite mlock.c:53:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 53 | _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] 68 | 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] 71 | len = strlen (argv[2]); /* make buffers */ | ^~~~~~ mlock.c:71:9: warning: incompatible implicit declaration of built-in function 'strlen' mlock.c:35:1: note: include '' or provide a declaration of 'strlen' 34 | #include +++ |+#include 35 | mlock.c:91:9: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 91 | t = time (0); /* get the time now */ | ^~~~ mlock.c:100:23: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 100 | (unsigned long) getpid ()); | ^~~~~~ mlock.c:102:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] 102 | gethostname (hitch + len,MAXHOSTNAMELEN); | ^~~~~~~~~~~ | gethostbyname mlock.c:107:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 107 | close (ld); /* close the hitching-post */ | ^~~~~ | pclose mlock.c:108:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] 108 | link (hitch,lock); /* tie hitching-post to lock, ignore failure */ | ^~~~ mlock.c:110:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 110 | unlink (hitch); /* flush hitching post */ | ^~~~~~ mlock.c:120:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 120 | if (tries--) sleep (1); /* sleep 1 second and try again */ | ^~~~~ mlock.c:123:2: warning: incompatible implicit declaration of built-in function '_exit' 123 | _exit (EX_CANTCREAT); | ^~~~~ mlock.c:128:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 128 | 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 22 | #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 52 | #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] 211 | if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from dmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ dmail.c:211:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 211 | if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from dmail.c:29: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 533 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from dmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ dmail.c:533:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 533 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from dmail.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 115 | 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 22 | #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 52 | #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] 260 | 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] 567 | if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; | ^~~~~~~~~~~~~~~ | | | char * In file included from tmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ tmail.c:567:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 567 | if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from tmail.c:29: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 664 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from tmail.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ^~~~~ tmail.c:664:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 664 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from tmail.c:29: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' 136 | 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] 116 | 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] 259 | 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.20551 + 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/lib + 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/lib/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/lib: 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) verify-elf: WARNING: ./usr/sbin/imapd: uses non-LFS functions: __fxstat __lxstat __xstat fcntl fopen fstatfs ftruncate lseek open readdir scandir tmpfile verify-elf: WARNING: ./usr/sbin/ipop3d: uses non-LFS functions: __fxstat __lxstat __xstat fcntl fopen fstatfs ftruncate lseek open readdir scandir tmpfile verify-elf: WARNING: ./usr/sbin/ipop2d: uses non-LFS functions: __fxstat __lxstat __xstat fcntl fopen fstatfs ftruncate lseek open readdir scandir tmpfile Hardlinking identical .pyc and .pyo files Processing files: uw-imap-2004g-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.47871 + 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.nw4BQr 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.UFS8St 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.8aZwfr 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.iABNss 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, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libcrypto.so.1.1 >= set:qmvV2AQS14vAhRCFULgjcGjFG60ZCqBkxUQFfd, libcrypto.so.1.1(OPENSSL_1_1_0), libpam(substack), libpam.so.0 >= set:jg5sOFGjKLOi2JaZk, libpam.so.0(LIBPAM_1.0), libssl.so.1.1 >= set:mhh50mMzRSeAZAB1P5Zz5Z1du0nykrCRjleWT20mx4lyQRK2ZiSXRy8KvpXdUuoQi44SSoi6p1, libssl.so.1.1(OPENSSL_1_1_0), 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.AXFHrq Creating uw-imap-debuginfo package Processing files: uw-imap-devel-2004g-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.58391 + 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.hE58lr 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.hctLit 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_a32.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h: cpp failed, trying c++ mode i586-alt-linux-cpp: fatal error: cannot execute 'cc1plus': execvp: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a41.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a41.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_art.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_art.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_asv.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_asv.h: cpp failed /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 27 | #include /* needed for htons() prototypes */ | ^~~~~~~~~~~~~~~~~~ compilation terminated. 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_drs.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_drs.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_hpp.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_hpp.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 23 | #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 30 | #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 21 | #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_os4.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_os4.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 31 | #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 30 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sc5.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sc5.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sco.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sco.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sgi.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sgi.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_shp.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_shp.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sos.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sos.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv2.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv2.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv4.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv4.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_soln.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_soln.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_solo.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_solo.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.4XBf9q Processing files: uw-imap-debuginfo-2004g-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZV8rdr find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mCGN5r find-requires: running scripts (debuginfo) Requires: uw-imap = 2004g-alt4, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcrypto.so.1.1), debug(libpam.so.0), debug(libssl.so.1.1) Adding to uw-imap-debuginfo a strict dependency on uw-imap Wrote: /usr/src/RPM/RPMS/i586/uw-imap-2004g-alt4.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/uw-imap-devel-2004g-alt4.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/uw-imap-debuginfo-2004g-alt4.i586.rpm 53.78user 6.84system 1:23.44elapsed 72%CPU (0avgtext+0avgdata 59904maxresident)k 0inputs+0outputs (0major+1134166minor)pagefaults 0swaps 58.43user 9.72system 1:32.66elapsed 73%CPU (0avgtext+0avgdata 108836maxresident)k 0inputs+0outputs (0major+1480767minor)pagefaults 0swaps --- uw-imap-2004g-alt4.i586.rpm.repo 2018-09-04 16:35:14.000000000 +0000 +++ uw-imap-2004g-alt4.i586.rpm.hasher 2020-04-29 12:42:25.570639960 +0000 @@ -77,3 +77,2 @@ Requires: /bin/sh -Requires: /bin/sh Requires: /etc/pam.d @@ -84,2 +83,3 @@ Requires: libc.so.6(GLIBC_2.15) +Requires: libc.so.6(GLIBC_2.28) Requires: libc.so.6(GLIBC_2.3) @@ -88,3 +88,3 @@ Requires: libc.so.6(GLIBC_2.7) -Requires: libcrypto.so.1.1 >= set:plvV2iqXcAC5MEeB6ilGScFKVRTQGkxUEjva +Requires: libcrypto.so.1.1 >= set:qmvV2AQS14vAhRCFULgjcGjFG60ZCqBkxUQFfd Requires: rpmlib(SetVersions) @@ -98,3 +98,2 @@ Requires: rtld(GNU_HASH) -Requires: /sbin/service Requires: coreutils @@ -107,8 +106,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.i586.rpm.repo 2018-09-04 16:35:14.000000000 +0000 +++ uw-imap-debuginfo-2004g-alt4.i586.rpm.hasher 2020-04-29 12:42:25.611639577 +0000 @@ -92,3 +92,2 @@ /usr/src/debug/imap-2004g/ipopd/ipop3d.c 100644 -Requires: uw-imap = 2004g-alt4 Requires: /usr/lib/debug/lib/ld-linux.so.2.debug @@ -98,3 +97,4 @@ Requires: debug(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.i586.rpm.repo 2018-09-04 16:35:14.000000000 +0000 +++ uw-imap-devel-2004g-alt4.i586.rpm.hasher 2020-04-29 12:42:25.635639353 +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