Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f25-build-10521423-814016/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/alpine-2.21-4.fc25.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/f25-build-10521423-814016/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BHjdO1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alpine-2.21 + /usr/bin/xz -dc /builddir/build/SOURCES/alpine-2.21.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd alpine-2.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + install -m644 -p /builddir/build/SOURCES/README.fedora . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.98l297 + umask 022 + cd /builddir/build/BUILD + cd alpine-2.21 + touch imap/ip6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find $(dirname ./configure) -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug=no --without-tcl --with-c-client-target=lfd --with-smtp-msa=/usr/sbin/sendmail --with-npa=/usr/bin/inews --with-passfile=.alpine.passfile --with-simple-spellcheck=hunspell --with-interactive-spellcheck=hunspell --with-system-pinerc=/etc/pine.conf --with-system-fixed-pinerc=/etc/pine.conf.fixed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu configure: Configuring for alpine 2.21 (x86_64-redhat-linux-gnu)) checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ar... /usr/bin/ar checking for rm... /usr/bin/rm checking for cp... /usr/bin/cp checking for ln... /usr/bin/ln checking for ls... /usr/bin/ls checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking option: dmalloc enabled... no checking option: debugging is enabled... no checking option: optimization is enabled... yes checking option: mouse support enabled... yes checking option: quotas enabled... no checking option: From changing enabled... yes checking option: background post enabled... yes checking option: keyboard lock enabled... yes checking option: from encoding enabled... no checking for passwd... /usr/bin/passwd checking for hunspell... /usr/bin/hunspell checking for hunspell... /usr/bin/hunspell configure: --with-passfile definition overrides OS-Specific password caching configure: Excluding TCL Support, and thus Web Alpine Support checking for setupterm in -ltinfo... yes checking for library containing dlopen... -ldl checking if OpenSSL is LibreSSL... no checking Openssl library version >= 1.0.0c... yes checking Openssl library version >= 1.1.0... no checking for library containing SSLeay... -lcrypto checking for library containing TLSv1_2_client_method... -lssl checking for library containing SSL_library_init... none required checking for ber_alloc in -llber... yes checking for library containing ldap_initialize... -lldap configure: * * * Including LDAP Support checking for library containing pam_start... -lpam checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking for library containing gss_init_sec_context... -lgssapi_krb5 checking gssapi/gssapi_generic.h usability... yes checking gssapi/gssapi_generic.h presence... yes checking for gssapi/gssapi_generic.h... yes checking for library containing regcomp... none required checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for pthread support... checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no yes checking for library containing nanosleep... none required checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for size_t... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for union wait... no checking for stdint.h... (cached) yes checking for stdint.h... (cached) yes checking argument pointer type of qsort compare function and base... void checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strcoll... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... yes checking for memcpy... yes checking for strtol... yes checking for strtoul... yes checking for select... yes checking for poll... yes checking for qsort... yes checking for getuid... yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... yes checking for tmpfile... yes checking for uname... yes checking for rename... yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... yes checking for wait4... yes checking for waitpid... yes checking for wait... yes checking for srandom... yes checking for popen... yes checking for pclose... yes checking for fsync... yes checking for truncate... yes checking for listen... yes checking for wcwidth... yes checking for mbstowcs... yes checking for wcrtomb... yes checking for putenv... yes checking for setenv... yes checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing bind... none required checking for sigaction... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... yes checking for library containing syslog... none required configure: * * * S/MIME support enabled configure: * * * No certificates found in "/etc/pki/tls/certs". configure: * * * This might indicate that CA certs did not get properly configure: * * * installed. If you get certificate validation failures configure: * * * in Alpine, this might be the reason for them. configure: * * * Including Kerberos5 functionality configure: * * * TCL libraries could not be found. configure: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating pith/osdep/Makefile config.status: creating pith/charconv/Makefile config.status: creating pith/Makefile config.status: creating pico/osdep/Makefile config.status: creating pico/Makefile config.status: creating alpine/osdep/Makefile config.status: creating alpine/Makefile config.status: creating web/src/Makefile config.status: creating web/src/pubcookie/Makefile config.status: creating web/src/alpined.d/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + make -j16 'EXTRACFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5" EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private EXTRAAUTHENTICATORS=gss " make[1]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='-DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private EXTRAAUTHENTICATORS=gss ' BUILDTYPE=lnp IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap' make[3]: 'ip6' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap' Building c-client for lnp... echo `cat SPECIALS` SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private EXTRAAUTHENTICATORS=gss > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\ EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ GSSDIR=/usr/kerberos SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private EXTRAAUTHENTICATORS=gss make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' make build EXTRACFLAGS='-DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lpam -ldl" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS echo -lpam -ldl -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox maildir courier imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log make[5]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' echo -I/usr/kerberos/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/kerberos/lib/libk5crypto.a) && echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/pki/tls/certs\" -DSSL_KEY_DIRECTORY=\"/etc/pki/tls/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: pmatch.c: In function 'pmatch_full': pmatch.c:41:43: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; ^ pmatch.c:41:43: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:1:0, from env_unix.c:259, from osdep.c:47: kerb_mit.c: In function 'kerberos_login': kerb_mit.c:103:31: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^~~~ In file included from osdep.c:41:0: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from auths.c:1:0, from env_unix.c:259, from osdep.c:47: kerb_mit.c:103:24: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from osdep.c:28: env.h:40:6: note: expected 'char *' but argument is of type 'unsigned char *' long authserver_login (char *user,char *authuser,int argc,char *argv[]); ^~~~~~~~~~~~~~~~ In file included from auths.c:2:0, from env_unix.c:259, from osdep.c:47: auth_gss.c: In function 'auth_gssapi_server': auth_gss.c:399:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Failed to acquire credentials for %s",buf.value); ^ auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ auth_gss.c:406:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); ^ auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ auth_gss.c:414:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); ^ auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:198:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0) ^ auth_md5.c:201:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); ^ auth_md5.c:203:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lusr = *s ? lcase (cpystr (user)) : NIL; ^~~~~~ In file included from osdep.c:41:0: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:204:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; ^ auth_md5.c:205:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:207:45: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:207:45: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:207:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:209:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.h:44:0, from osdep.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:209:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:209:15: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:209:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.h:44:0, from osdep.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:209:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:209:15: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:209:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:209:15: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:209:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:209:15: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:209:38: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.c:41:0: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:210:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:44:0, from osdep.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:210:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:44:0, from osdep.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:210:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:210:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:41: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:210:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:44:0, from osdep.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:210:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:210:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:41: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:210:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:44:0, from osdep.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from osdep.c:28: auth_md5.c:210:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:210:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:41: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:210:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:210:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:210:41: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:213:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!ret && lret) ret = cpystr (lret); ^~~~ In file included from osdep.c:41:0: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from osdep.c:47:0: env_unix.c: In function 'pwuser': env_unix.c:647:33: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] struct passwd *pw = getpwnam (user); ^~~~ In file included from osdep.c:39:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ In file included from osdep.c:47:0: env_unix.c:651:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^~~~ In file included from osdep.c:41:0: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from osdep.c:47:0: env_unix.c:651:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^~~~~~ In file included from osdep.c:41:0: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from osdep.c:47:0: env_unix.c:651:22: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:39:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ In file included from osdep.c:47:0: env_unix.c: In function 'valpwd': env_unix.c:677:16: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] ret = pwuser (user); /* validated, get passwd entry for user */ ^~~~ env_unix.c:644:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c:682:26: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if ((pw = pwuser (user)) != NULL) {/* can get user? */ ^~~~ env_unix.c:644:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c:685:44: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) ^ env_unix.c:644:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c: In function 'server_login': env_unix.c:716:58: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); ^~~~ env_unix.c:644:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c: In function 'authserver_login': env_unix.c:734:28: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] return pw_login (pwuser (user),authuser,user,NIL,argc,argv); ^~~~ env_unix.c:644:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c: In function 'pw_login': env_unix.c:773:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:773:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:776:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:776:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c: In function 'mailboxfile': env_unix.c:1061:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1061:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1071:63: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1071:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1095:55: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1095:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1109:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1109:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1123:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1123:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:28:0: env_unix.c: In function 'lock_work': osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ env_unix.c:1383:27: note: in expansion of macro 'flock' if (op & LOCK_NB) i = flock (fd,op); ^~~~~ In file included from osdep.c:47:0: env_unix.c: In function 'dorc': env_unix.c:1574:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1574:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1588:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1588:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1589:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1589:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1590:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1590:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1592:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1592:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1595:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1595:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1599:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1599:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1602:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1602:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1613:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1613:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1614:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1614:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1615:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1615:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1616:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1616:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1618:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1618:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1620:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1620:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1624:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1624:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1635:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1635:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1639:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1639:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1643:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1643:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1647:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1647:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1649:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1649:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1651:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1651:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1655:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1655:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1659:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1659:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1663:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1663:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1667:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1667:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1671:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1671:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1675:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1675:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1677:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1677:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1680:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1680:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1682:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1682:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1684:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1684:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1686:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1686:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1688:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1688:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1690:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1690:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1692:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1692:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1694:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1694:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1696:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1696:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1698:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1698:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1700:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1700:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1702:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1702:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1704:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1704:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1706:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1706:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1708:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1708:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1710:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1710:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1712:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1712:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1715:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1715:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1717:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1717:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1719:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1719:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1721:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1721:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1723:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1723:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1725:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1725:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1727:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1727:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1729:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1729:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1731:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1731:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1733:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1733:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1735:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1735:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1737:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1737:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1739:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1739:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1741:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1741:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1743:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1743:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1745:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1745:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1747:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1747:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1749:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1749:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1751:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1751:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1755:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1755:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1757:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1757:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1760:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1760:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1767:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1767:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1769:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1769:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1771:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1771:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1773:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1773:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1775:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1775:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1777:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1777:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1778:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1778:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1780:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1780:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1782:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1782:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1784:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1784:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1787:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1787:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1789:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1789:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1791:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1791:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1793:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1793:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1797:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c:1797:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from tcp_unix.c:26:0, from osdep.c:50: ip_unix.c: In function 'ip_stringtoaddr': ip_unix.c:130:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { ^~~~~~ In file included from osdep.c:41:0: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from tcp_unix.c:26:0, from osdep.c:50: ip_unix.c:130:22: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { ^~~~~ In file included from osdep.c:35:0: /usr/include/netdb.h:662:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int getaddrinfo (const char *__restrict __name, ^~~~~~~~~~~ In file included from tcp_unix.c:26:0, from osdep.c:50: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:248:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, ^~~~~~ In file included from osdep.c:41:0: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from tcp_unix.c:26:0, from osdep.c:50: ip_unix.c:248:17: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, ^~~~~ In file included from osdep.c:35:0: /usr/include/netdb.h:662:12: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern int getaddrinfo (const char *__restrict __name, ^~~~~~~~~~~ In file included from osdep.c:50:0: tcp_unix.c: In function 'tcp_getline': tcp_unix.c:477:43: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] char *ret = tcp_getline_work (stream,&n,&contd); ^ tcp_unix.c:60:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^~~~~~~~~~~~~~~~ tcp_unix.c:485:41: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] ret = tcp_getline_work (stream,&n,&contd); ^ tcp_unix.c:60:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^~~~~~~~~~~~~~~~ tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1044:17: warning: unused variable 'sadrlen' [-Wunused-variable] size_t adrlen,sadrlen,len; ^~~~~~~ osdep.c: In function 'ssl_validate_cert': osdep.c:629:34: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^~~~ osdep.c:315:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:629:39: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:315:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:637:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (name->type = GEN_DNS) && (s = name->d.ia5->data) && ^ osdep.c:638:29: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^~~~ osdep.c:315:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:638:34: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^ osdep.c:315:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:609:17: warning: unused variable 't' [-Wunused-variable] char *s=NULL,*t,*ret; ^ osdep.c: In function 'ssl_getline': osdep.c:679:43: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] char *ret = ssl_getline_work (stream,&n,&contd); ^ osdep.c:316:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size, ^~~~~~~~~~~~~~~~ osdep.c:687:41: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] ret = ssl_getline_work (stream,&n,&contd); ^ osdep.c:316:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size, ^~~~~~~~~~~~~~~~ In file included from osdep.c:47:0: env_unix.c: In function 'pw_login': env_unix.c:791:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c: In function 'mail_parameters': mail.c:385:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:385:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:390:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:390:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:395:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:395:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:401:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:401:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:406:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:406:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:411:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:411:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:416:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:416:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_valid_net_parse_work': mail.c:803:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:803:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:804:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,v)); ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ mail.c:805:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:805:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:807:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:807:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:813:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:813:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:814:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:814:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:815:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:815:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:816:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:816:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:817:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:817:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:818:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:818:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:819:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:819:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) ^~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:821:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:821:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^~~~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:823:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:823:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:825:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:825:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:827:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:827:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:829:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1") ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:829:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1") ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:833:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_1") ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:833:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_1") ^~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:836:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_2") ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:836:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_2") ^~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:840:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "dtls1") ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:840:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "dtls1") ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:843:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:843:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^~~~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:846:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:846:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:849:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:849:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:850:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:850:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:851:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:851:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:852:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:852:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:853:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:853:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:854:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,s)); ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ mail.c:855:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:855:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:856:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:856:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:857:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:857:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:858:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:858:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^~~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:860:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:860:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_create': mail.c:1033:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:1033:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_open': mail.c:1288:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:1288:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_fetch_overview': mail.c:1520:48: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_uid_sequence (stream,sequence) && ^~~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mail.c: In function 'mail_fetch_overview_sequence': mail.c:1536:44: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_sequence (stream,sequence) && ^~~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mail.c: In function 'mail_fetch_overview_default': mail.c:1561:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ mail.c: In function 'mail_fetch_header': mail.c:1779:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_fetch_text': mail.c:1870:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_fetch_mime': mail.c:1924:61: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(section && *section && (b = mail_body (stream,msgno,section)))) ^~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_fetch_body': mail.c:2007:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return ""; ^~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_partial_text': mail.c:2067:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_partial_body': mail.c:2135:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return NIL; ^~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_flag': mail.c:2357:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mail.c:2358:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^~~~~~~~ In file included from c-client.h:41:0, from mail.c:30: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c: In function 'mail_append_multiple': mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2647:22: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2647:22: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2647:22: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2647:22: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2647:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from mail.c:30: mail.c:2647:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ mail.c: In function 'mail_body_section': mail.c:2766:21: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(i = strtoul (section,(char **) §ion,10)) || ^~~~~~~ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_body': mail.c:2806:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i; ^ mail.c:2805:9: warning: unused variable 'pt' [-Wunused-variable] PART *pt; ^~ mail.c: In function 'mail_parse_date': mail.c:2916:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mail.c:2916:76: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from mail.c:27: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mail.c:2916:64: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mail.c:2922:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(m = strtoul (s,(char **) &s,10))) return NIL; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2926:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2928:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2938:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2939:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (d = strtoul (s,(char **) &s,10)) && !*s) break; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2944:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (s) < (size_t) 5) return NIL; ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mail.c:2972:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2996:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] d = strtoul (s+1,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2998:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] m = strtoul (++s,(char **) &s,10); ^~ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2999:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; ^~ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_uid_sequence': mail.c:3329:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10))) { ^~~~~~~~ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:3340:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10))) { ^~~~~~~~ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_filter': mail.c:3437:53: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) ^~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ mail.c: In function 'mail_search_msg': mail.c:3581:44: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] BODY *body = mail_body (stream,msgno,section); ^~~~~~~ mail.c:2802:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^~~~~~~~~ mail.c: In function 'mail_search_text': mail.c:3753:46: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] else if ((body = mail_body (stream,msgno,section)) && ^~~~~~~ mail.c:2802:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^~~~~~~~~ mail.c: In function 'mail_search_string': mail.c:3872:16: warning: unused variable 'sc' [-Wunused-variable] STRINGLIST **sc = st; ^~ mail.c: In function 'mail_search_keyword': mail.c:3920:32: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[i],&st->text)) { ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ mail.c: In function 'mail_criteria': mail.c:4051:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mail.c: In function 'mail_criteria_date': mail.c:4142:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,(char *) s->text.data) && ^ mail.c:2898:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^~~~~~~~~~~~~~~ mail.c: In function 'mail_sort_loadcache': mail.c:4398:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (env) t = env->date; ^ mail.c:4414:38: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!(t && mail_parse_date (&telt,t) && ^ mail.c:2898:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^~~~~~~~~~~~~~~ mail.c: In function 'mail_sort_compare': mail.c:4717:27: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->from,s2->from); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c:4717:36: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->from,s2->from); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c:4720:27: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->to,s2->to); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c:4720:34: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->to,s2->to); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c:4723:27: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->cc,s2->cc); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c:4723:34: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->cc,s2->cc); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c:4726:27: warning: pointer targets in passing argument 1 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->subject,s2->subject); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c:4726:39: warning: pointer targets in passing argument 2 of 'compare_string' differ in signedness [-Wpointer-sign] i = compare_string (s1->subject,s2->subject); ^~ In file included from c-client.h:48:0, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c: In function 'mail_thread_msgs': mail.c:4825:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4825:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_thread_orderedsubject': mail.c:4869:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:4869:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_thread_loadcache': mail.c:5191:56: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { ^~ mail.c:2898:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^~~~~~~~~~~~~~~ mail.c: In function 'mail_sequence': mail.c:5446:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10)) || ^~~~~~~~ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:5462:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10)) || ^~~~~~~~ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_parse_flags': mail.c:5517:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5517:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5518:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5518:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5519:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5519:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5520:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5520:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^~~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5521:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5521:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5531:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5531:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_usable_network_stream': mail.c:5581:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((!compare_cstring (smb.host,trustdns ? ^~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5581:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((!compare_cstring (smb.host,trustdns ? ^~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5587:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:5587:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_auth': mail.c:6159:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:6159:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_lookup_auth_name': mail.c:6192:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:6192:62: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~ In file included from c-client.h:48:0, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_parse_set': mail.c:4215:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] else cur = cur->next = mail_newsearchset (); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` misc.c misc.c: In function 'compare_csizedtext': misc.c:488:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) ^ `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function 'newsrc_lsub': newsrc.c:173:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ newsrc.c:173:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^~~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ newsrc.c:176:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ newsrc.c:176:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c: In function 'sm_subscribe': smanager.c:42:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48:0, from smanager.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c:42:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48:0, from smanager.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c: In function 'sm_unsubscribe': smanager.c:75:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48:0, from smanager.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c:75:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48:0, from smanager.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c:112:39: warning: missing braces around initializer [-Wmissing-braces] static const CHARSET utf8_csvalid[] = { ^ utf8.c:112:39: note: (near initialization for 'utf8_csvalid') utf8.c:345:38: warning: missing braces around initializer [-Wmissing-braces] static const SCRIPT utf8_scvalid[] = { ^ utf8.c:345:38: note: (near initialization for 'utf8_scvalid') utf8.c: In function 'utf8_script': utf8.c:381:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:381:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^~~~~~~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_charset': utf8.c:398:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:398:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^~~~~~~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_cstext': utf8.c:584:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:584:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_cstocstext': utf8.c:611:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:611:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_rmap': utf8.c:645:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:645:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^~~~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_csvalidmap': utf8.c:1321:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:1321:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'ucs4_decompose': utf8.c:2529:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ `cat CCTYPE` -c `cat CFLAGS` utf8aux.c utf8aux.c: In function 'utf8_from_mutf7': utf8aux.c:413:24: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign] if (mail_utf7_valid (src)) return NIL; ^~~ In file included from c-client.h:41:0, from utf8aux.c:32: mail.h:1685:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_utf7_valid (char *mailbox); ^~~~~~~~~~~~~~~ utf8aux.c:418:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^~~ In file included from osdep.h:44:0, from c-client.h:42, from utf8aux.c:32: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ utf8aux.c:418:26: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^~~ In file included from c-client.h:48:0, from utf8aux.c:32: misc.h:85:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^~~~~~ utf8aux.c:418:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c: In function 'dummy_valid': dummy.c:127:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (rname,"INBOX")) return &dummydriver; ^~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:127:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (rname,"INBOX")) return &dummydriver; ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c: In function 'dummy_scan': dummy.c:189:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dummy.c:189:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c: In function 'dummy_lsub': dummy.c:228:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:228:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:229:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dummy.c:229:12: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:231:29: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:231:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:234:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:234:21: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c: In function 'dummy_list_work': dummy.c:295:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:295:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from dummy.c:36:0: dummy.c:295:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from dummy.c:36:0: dummy.c:295:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:309:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:309:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:310:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:310:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:311:15: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ dummy.c:311:20: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ In file included from dummy.c:36:0: dummy.c:320:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from dummy.c:36:0: dummy.c:320:23: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:321:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:321:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:326:30: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:326:35: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:330:18: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ dummy.c:330:23: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ dummy.c:336:23: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:336:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:336:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:336:60: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c: In function 'dummy_create': dummy.c:463:12: warning: implicit declaration of function 'maildir_create' [-Wimplicit-function-declaration] return maildir_create(stream, mailbox); ^~~~~~~~~~~~~~ dummy.c:465:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:465:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c: In function 'dummy_delete': dummy.c:530:5: warning: implicit declaration of function 'is_valid_maildir' [-Wimplicit-function-declaration] || is_valid_maildir(&mailbox)){ ^~~~~~~~~~~~~~~~ dummy.c:535:13: warning: implicit declaration of function 'maildir_delete' [-Wimplicit-function-declaration] return maildir_delete(stream, tmp); ^~~~~~~~~~~~~~ dummy.c: In function 'dummy_rename': dummy.c:594:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) ^~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:594:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c: In function 'dummy_open': dummy.c:625:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:625:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c: In function 'dummy_copy': dummy.c:732:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from dummy.c:31:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ dummy.c:733:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); ^~~~~~~~ In file included from dummy.c:31:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ dummy.c: In function 'dummy_append': dummy.c:754:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:754:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from dummy.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c:756:23: warning: operation on 'ts' may be undefined [-Wsequence-point] if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) ~~~~^~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_scan_contents': dummy.c:388:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c fdstring.c: In function 'fd_string_setpos': fdstring.c:97:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read ((long) s->data,s->curpos,(size_t) s->cursize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:67:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (d->fd,s->chunk,(size_t) s->cursize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:163:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); /* coerce to uppercase */ ^~~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:202:53: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); ^ rfc822.c:134:8: warning: unused variable 'PathP' [-Wunused-variable] long PathP = NIL; /* flag that a Path: was seen */ ^~~~~ rfc822.c: In function 'rfc822_parse_content': rfc822.c:379:37: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] s1 = (char *) rfc822_base64 (s, strlen(s), &k); ^ In file included from c-client.h:43:0, from rfc822.c:37: rfc822.h:102:7: note: expected 'unsigned char *' but argument is of type 'char *' void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); ^~~~~~~~~~~~~ rfc822.c:555:54: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:555:47: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^~~~~ In file included from c-client.h:43:0, from rfc822.c:37: rfc822.h:64:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_parse_content_header (BODY *body,char *name,char *s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_parse_content_header': rfc822.c:626:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^~~~~~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:626:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ rfc822.c:640:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] stl->text.data = (unsigned char *) ucase (cpystr (s)); ^~~~~~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:667:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ rfc822.c:667:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^~~~~~~~~~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ rfc822.c:678:36: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:678:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ rfc822.c:690:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^~~~~~~~~~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:690:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ rfc822.c:708:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ rfc822.c:708:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^~~~~~~~~~~~~~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ rfc822.c:719:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:719:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:752:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^~~~~~ In file included from c-client.h:48:0, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:752:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ rfc822.c: In function 'rfc822_output_header': rfc822.c:1528:45: warning: pointer targets in passing argument 4 of 'rfc822_output_header_line' differ in signedness [-Wpointer-sign] rfc822_output_header_line (buf,"Date",i,env->date) && ^~~ In file included from c-client.h:43:0, from rfc822.c:37: rfc822.h:88:6: note: expected 'char *' but argument is of type 'unsigned char *' long rfc822_output_header_line (RFC822BUFFER *buf,char *type,long resent, ^~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_output': rfc822.c:2409:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ ^~~ `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c: In function 'nntp_list': nntp.c:364:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from nntp.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ nntp.c:364:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from nntp.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ nntp.c:367:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from nntp.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ nntp.c:367:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from nntp.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from nntp.c:30: nntp.c: In function 'nntp_lsub': nntp.c:399:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from nntp.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from nntp.c:30: nntp.c:399:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from nntp.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ nntp.c: In function 'nntp_status': nntp.c:569:24: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,k,&status.recent,&status.unseen); ^~~~~ In file included from nntp.c:31:0: newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^~~~~~~~~~~~~~~~ nntp.c:578:20: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,i++,&status.recent,&status.unseen); ^~~~~ In file included from nntp.c:31:0: newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_mopen': nntp.c:750:12: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? ^~~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:83:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^~~~~ nntp.c: In function 'nntp_fetchfast': nntp.c:873:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41:0, from nntp.c:30: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ nntp.c:874:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from c-client.h:41:0, from nntp.c:30: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ nntp.c: In function 'nntp_flags': nntp.c:916:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from c-client.h:41:0, from nntp.c:30: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ nntp.c:916:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from c-client.h:41:0, from nntp.c:30: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ nntp.c: In function 'nntp_over': nntp.c:1019:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from nntp.c:30: nntp.c:1019:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from osdep.h:44:0, from c-client.h:42, from nntp.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from nntp.c:30: nntp.c:1019:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:1019:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:1019:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from osdep.h:44:0, from c-client.h:42, from nntp.c:30: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from nntp.c:30: nntp.c:1019:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:1019:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:1019:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:1019:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:1019:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:1019:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c: In function 'nntp_parse_overview': nntp.c:1065:43: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!elt->day) mail_parse_date (elt,ov->date); ^~ In file included from c-client.h:41:0, from nntp.c:30: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ nntp.c: In function 'nntp_search_msg': nntp.c:1334:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] (!mail_parse_date (&delt,ov->date) || ^~ In file included from c-client.h:41:0, from nntp.c:30: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ nntp.c: In function 'nntp_sort_loadcache': nntp.c:1551:33: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); ^ In file included from c-client.h:41:0, from nntp.c:30: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ nntp.c: In function 'nntp_extensions': nntp.c:1838:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1838:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1839:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1839:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^~~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1840:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1840:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1841:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1841:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1842:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1842:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1843:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1843:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1845:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1845:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^~~~~~~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1848:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c:1848:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^~~~~~ In file included from c-client.h:48:0, from nntp.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ nntp.c: In function 'nntp_mail': nntp.c:1936:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((s = strstr (env->date," (")) != NULL) *s = NIL; ^~~ In file included from osdep.h:44:0, from c-client.h:42, from nntp.c:30: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ nntp.c:1907:8: warning: unused variable 'retry' [-Wunused-variable] long retry = NIL; ^~~~~ nntp.c:1906:8: warning: unused variable 'error' [-Wunused-variable] long error = NIL; ^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:784:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) k,f); ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1120:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned char *) fs_get ((size_t) *size + 3), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) *size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c smtp.c: In function 'smtp_open_full': smtp.c:164:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:164:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:182:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^~~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:182:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c: In function 'smtp_ehlo': smtp.c:698:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:698:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:702:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:702:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^~~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:706:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:706:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:710:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:710:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:716:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:716:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:717:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:717:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:718:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:718:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:719:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:719:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:720:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:720:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:721:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:721:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:722:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:722:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:723:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:723:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:724:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:724:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:725:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:725:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:726:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:726:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:727:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:727:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:728:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:728:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:729:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:729:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^~~~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:730:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:730:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:732:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:732:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^~~~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:733:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:733:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:716:15: warning: '__s' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c In file included from c-client.h:48:0, from imap4r1.c:41: imap4r1.c: In function 'imap_lsub': imap4r1.c:521:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from imap4r1.c:41: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: imap4r1.c:521:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from imap4r1.c:41: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ imap4r1.c: In function 'imap_list_work': imap4r1.c:581:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:581:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:583:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:583:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:595:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:595:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:595:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:595:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:595:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:595:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:595:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:595:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:595:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:595:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:596:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:596:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:596:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:596:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:596:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:596:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:596:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:596:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:596:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:596:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_manage': imap4r1.c:698:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && ^~ imap4r1.c:719:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ret ? NIL : ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_open': imap4r1.c:887:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:887:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:887:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:887:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:887:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:887:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:887:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:887:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:887:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:887:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:888:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:888:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:888:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:888:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:888:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:888:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:889:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:894:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:894:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:894:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:894:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:894:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:894:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:894:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:894:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:894:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:894:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1017:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1017:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1027:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_rimap': imap4r1.c:1073:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1073:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1073:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1073:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1073:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1073:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1073:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1073:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1073:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1073:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1077:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1077:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1077:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:44: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1077:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:44: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:44: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1077:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1077:44: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_anon': imap4r1.c:1113:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (reply->tag,tag)) { ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1115:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1130:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_auth': imap4r1.c:1180:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (compare_cstring (reply->tag,tag)) ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1181:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1190:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] lsterr = cpystr (reply->text); ^~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imap4r1.c: In function 'imap_login': imap4r1.c:1242:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_challenge': imap4r1.c:1272:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1272:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1272:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1272:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:1272:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1272:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1272:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1272:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1272:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1272:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1277:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (reply->text),len))) { ^~~~~ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap4r1.c: In function 'imap_close': imap4r1.c:1334:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_fast': imap4r1.c:1375:40: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_flags': imap4r1.c:1396:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_overview': imap4r1.c:1449:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1497:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1624:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1626:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_msgdata': imap4r1.c:1856:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1866:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1875:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1879:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_uid': imap4r1.c:1932:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_msgno': imap4r1.c:1968:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_flag': imap4r1.c:2009:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_search': imap4r1.c:2077:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2077:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2077:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2077:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2077:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2077:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2077:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2077:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2077:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2077:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2096:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2096:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2096:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2096:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2096:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2096:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2096:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2096:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2096:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2096:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2102:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:2138:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_sort': imap4r1.c:2201:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2201:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2201:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2201:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2201:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2201:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2201:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2201:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2201:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2201:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2208:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2208:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2208:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2208:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2208:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2208:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2208:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2208:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2208:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2208:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2217:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_thread': imap4r1.c:2304:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2304:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_thread_work': imap4r1.c:2364:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2364:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2364:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2364:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2364:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2364:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2364:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2364:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2364:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2364:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2371:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2371:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2371:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2371:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:2371:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2371:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2371:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2371:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2371:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2371:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2379:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_check': imap4r1.c:2403:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_expunge': imap4r1.c:2428:36: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (mail_sequence (stream,sequence)) { ^~~~~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ imap4r1.c:2456:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_copy': imap4r1.c:2494:65: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && ^~~~~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ imap4r1.c:2498:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_append': imap4r1.c:2551:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_append_referral': imap4r1.c:2614:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_append_single': imap4r1.c:2644:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ imap4r1.c:2648:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ imap4r1.c:2649:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ imap4r1.c:2650:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2846:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_setquota': imap4r1.c:2870:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_setid': imap4r1.c:2948:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_getquota': imap4r1.c:2971:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_getquotaroot': imap4r1.c:2994:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_send': imap4r1.c:3031:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3031:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3032:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3032:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3033:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3033:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3186:42: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!map->date || mail_parse_date (&elt,map->date)) { ^~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_send_literal': imap4r1.c:3312:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3312:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3312:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3312:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3312:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3312:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3312:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3312:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3312:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3312:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_reply': imap4r1.c:3669:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3669:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3669:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3669:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3669:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3669:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3669:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3669:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3669:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3669:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3671:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3671:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3671:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3671:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3671:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3671:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3671:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3671:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3671:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3671:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3676:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (tag && !compare_cstring (tag,reply->tag)) return reply; ^~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_reply': imap4r1.c:3702:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ imap4r1.c:117:15: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3708:31: note: in expansion of macro 'LOCAL' if (stream->debug) mm_dlog (LOCAL->reply.line); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1661:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:117:15: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3709:38: note: in expansion of macro 'LOCAL' if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^~~~~ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imap4r1.c:117:15: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3709:38: note: in expansion of macro 'LOCAL' if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^~~~~ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imap4r1.c:3709:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:117:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:117:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:117:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:117:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:117:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:117:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:117:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:117:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:117:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:117:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3715:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~ imap4r1.c:3717:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { ^ imap4r1.c:3727:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:117:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3728:54: note: in expansion of macro 'LOCAL' LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^~~~~ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap4r1.c:3731:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ imap4r1.c:3732:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:3733:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = ""; ^ imap4r1.c: In function 'imap_fake': imap4r1.c:3753:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ imap4r1.c:3754:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ imap4r1.c:3755:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = text; ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c: In function 'imap_OK': imap4r1.c:3770:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3770:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3770:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3770:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3770:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3770:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3770:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3770:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3770:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3770:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3771:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,NIL); ^~~~~ imap4r1.c:238:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3775:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3775:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3775:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3775:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3775:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3775:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3775:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3775:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3775:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3775:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3776:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,NIL); ^~~~~ imap4r1.c:238:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3778:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3778:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3778:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3778:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3778:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3778:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3778:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3778:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3778:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3778:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3779:35: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,NIL); ^~~~~ imap4r1.c:238:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^~~~~~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_unsolicited': imap4r1.c:3803:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] msgno = strtoul (reply->key,(char **) &s,10); ^~~~~ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3817:26: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imap4r1.c:3817:26: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imap4r1.c:3817:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:3818:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3821:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3821:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3821:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3821:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3821:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3821:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3821:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3821:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3821:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3821:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3823:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3823:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ imap4r1.c:3823:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3823:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3823:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ imap4r1.c:3823:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3823:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ imap4r1.c:3823:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3823:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ imap4r1.c:3823:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3825:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3825:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3825:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3825:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3825:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3825:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3825:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3825:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3825:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3825:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3833:29: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:29: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3833:29: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:29: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:29: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:29: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:29: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:29: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3833:52: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:52: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3833:52: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:52: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:52: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:52: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3833:52: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3833:52: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3844:33: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imap4r1.c:3844:33: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imap4r1.c:3844:52: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3848:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3848:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3848:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3848:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3848:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3856:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ imap4r1.c:3862:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3903:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ imap4r1.c:3905:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3907:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3907:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3907:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3907:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3907:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3908:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3908:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3908:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3908:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:3908:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3908:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3908:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3908:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3908:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3908:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3918:30: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; ^ imap4r1.c:3918:30: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3918:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; ^ imap4r1.c:3923:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] md.first = strtoul (s+1,(char **) &s,10) + 1; ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:3966:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->rfc822_size = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4002:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4002:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:4002:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4002:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4002:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:4002:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4002:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:4002:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4002:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:4002:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4009:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4009:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:4009:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4009:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4009:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:4009:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4009:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:4009:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4009:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:4009:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4011:20: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imap4r1.c:4011:20: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imap4r1.c:4011:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ imap4r1.c:4014:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,stream->user_flags[i]); i++); ^~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4020:74: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imap4r1.c:4022:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((s = strtok_r (NIL," )",&r)) != NULL); ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4023:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4023:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:4023:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4023:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4023:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:4023:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4023:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:4023:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4023:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:4023:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4025:39: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imap4r1.c:4025:39: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imap4r1.c:4025:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ imap4r1.c:4026:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (t,NIL,10)) != 0L) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4035:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ((t = strtok_r (NIL," ",&r)) != NULL); ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4037:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4037:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:4037:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4037:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4037:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:4037:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4037:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:4037:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4037:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:4037:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4045:39: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imap4r1.c:4045:39: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imap4r1.c:4045:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ imap4r1.c:4046:25: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] do if ((i = atol (t)) && (LOCAL->filter ? ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/stdlib.h:244:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^ imap4r1.c:4049:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4055:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4055:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:4055:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4055:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4055:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:4055:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4055:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:4055:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4055:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:4055:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4070:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4070:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:4070:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4070:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4070:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:4070:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4070:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:4070:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4070:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:4070:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4074:53: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:4074:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4074:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4080:35: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:4080:35: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4080:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:4083:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4084:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (txt,"MESSAGES")) { ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4088:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"RECENT")) { ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4092:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UNSEEN")) { ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4096:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDNEXT")) { ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4100:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDVALIDITY")) { ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4109:53: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4117:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4117:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4117:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4117:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4117:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4117:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4119:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4119:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4119:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4123:24: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imap4r1.c:4123:24: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imap4r1.c:4123:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { ^ imap4r1.c:4124:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; ^~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4125:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; ^~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4126:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4127:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; ^~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4128:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; ^~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4129:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4130:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4131:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4132:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4133:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4134:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4135:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4138:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) != NULL); ^ imap4r1.c:4152:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ imap4r1.c:4152:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap4r1.c:4155:59: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign] if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); ^ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1658:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^~~~~~~ imap4r1.c:4156:38: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] else mm_list (stream,delimiter,s,i); ^ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1657:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4160:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4160:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4160:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4160:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4160:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4160:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4160:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4160:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4160:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4160:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4183:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:4183:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4183:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:4183:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:4183:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:4183:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4189:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ imap4r1.c:4191:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ac->rights = imap_parse_astring (stream,&s,reply,NIL); ^ imap4r1.c:4200:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,al); ^ imap4r1.c:4200:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4204:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:4204:32: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4208:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4208:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:4208:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4208:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4208:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:4208:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4208:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:4208:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4208:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:4208:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4212:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ imap4r1.c:4214:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4228:31: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,rl); ^ imap4r1.c:4228:31: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4233:29: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,NIL); ^ imap4r1.c:4233:29: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4251:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4251:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4251:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4251:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4251:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4251:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4251:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4255:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4261:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4261:34: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4273:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4273:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4273:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4273:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4273:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4273:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4273:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4273:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4273:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4273:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4284:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ imap4r1.c:4286:43: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4287:26: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if ((t = strchr (s,' ')) != NULL) t = s; ^ imap4r1.c:4287:26: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4287:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ((t = strchr (s,' ')) != NULL) t = s; ^ imap4r1.c:4289:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4290:29: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if ((t = strpbrk (s," )")) != NULL) t = s; ^ imap4r1.c:4290:29: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4290:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ((t = strpbrk (s," )")) != NULL) t = s; ^ imap4r1.c:4295:30: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4295:30: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4314:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ID") && (s = reply->text)){ ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4314:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ID") && (s = reply->text)){ ^ imap4r1.c:4314:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4314:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ID") && (s = reply->text)){ ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4314:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ID") && (s = reply->text)){ ^ imap4r1.c:4314:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4314:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ID") && (s = reply->text)){ ^ imap4r1.c:4314:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4314:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ID") && (s = reply->text)){ ^ imap4r1.c:4314:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4315:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); ^~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4315:62: warning: pointer targets in passing argument 1 of 'imap_parse_idlist' differ in signedness [-Wpointer-sign] if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); ^ imap4r1.c:2876:9: note: expected 'char *' but argument is of type 'unsigned char *' IDLIST *imap_parse_idlist (char *text) ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4317:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4317:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4317:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4317:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4317:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4317:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4317:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4317:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4317:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4317:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4332:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4332:34: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4343:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4343:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4343:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4343:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4343:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4343:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4343:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4343:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4343:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4343:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4343:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4343:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4343:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4344:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,T); ^~~~~ imap4r1.c:238:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4345:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4345:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4345:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4345:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4345:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4345:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4345:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4345:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4345:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4345:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4346:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,T); ^~~~~ imap4r1.c:238:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4347:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4347:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4347:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4347:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4347:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4347:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4347:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4347:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4347:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4347:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,T); ^~~~~ imap4r1.c:238:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4349:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4349:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4349:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4349:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4349:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4349:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4349:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4349:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4349:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4349:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4351:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,BYE,T); ^~~~~ imap4r1.c:238:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4353:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4353:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4353:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4353:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4353:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4353:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4353:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4353:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4353:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4353:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4354:37: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ^~~~~ imap4r1.c:273:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4355:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4355:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4355:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4355:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:41: imap4r1.c:4355:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4355:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4355:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4355:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4355:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4355:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4357:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) ^~~~~ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap4r1.c:4358:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ imap4r1.c:4358:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap4r1.c:4360:25: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] mm_list (stream,NIL,t,NIL); ^ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1657:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^~~~~~~ imap4r1.c: In function 'imap_parse_response': imap4r1.c:4393:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4393:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); ^~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4394:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4394:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^~~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4402:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4402:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4403:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4403:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4405:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4405:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4407:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4407:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4409:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4409:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4417:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4417:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4428:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4428:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4431:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4431:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4437:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4437:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4444:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4444:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4451:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4451:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^~~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4455:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4455:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4456:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4456:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4458:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4458:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4500:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ imap4r1.c:4525:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ imap4r1.c:4537:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, ^ In file included from imap4r1.c:38:0: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4610:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ imap4r1.c:4612:12: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10))) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:4698:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4705:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:4707:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_address': imap4r1.c:4805:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4806:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4807:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4808:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_flags': imap4r1.c:4905:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ imap4r1.c:4913:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4913:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4914:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4914:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4915:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4915:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4916:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4916:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4917:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4917:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4918:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4918:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_user_flag': imap4r1.c:4946:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4946:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_astring': imap4r1.c:4979:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imap4r1.c:4979:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:5020:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (c) st = ++*txtptr; /* remember start of string */ ^ imap4r1.c:5075:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5107:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5108:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5109:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1661:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c: In function 'imap_cache': imap4r1.c:5177:39: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,seg))) { ^~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ imap4r1.c: In function 'imap_parse_body_structure': imap4r1.c:5255:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) ^ imap4r1.c:5256:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5274:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5295:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { ^ imap4r1.c:5296:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5308:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) ^ imap4r1.c:5309:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); /* parse subtype */ ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5316:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5317:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5319:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { ^ imap4r1.c:5320:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5336:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5357:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.lines = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5364:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5377:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_body_parameter': imap4r1.c:5424:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5430:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ ^ imap4r1.c:5456:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ((*(s = *txtptr) == 'I') || (*s == 'i')) && ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5480:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c: In function 'imap_parse_language': imap4r1.c:5523:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5592:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5597:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5598:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5599:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^~~~~ In file included from c-client.h:41:0, from imap4r1.c:41: mail.h:1661:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c:5604:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5638:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5638:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5640:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5640:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5642:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5642:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5643:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5643:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5645:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5645:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5646:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5646:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5647:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5647:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5648:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5648:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5649:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5649:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5650:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5650:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^~~~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5651:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5651:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5652:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5652:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5653:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5653:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5654:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5654:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5655:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5655:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5656:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5656:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5657:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5657:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5658:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5658:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5659:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5659:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5660:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5660:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5661:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5661:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5662:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5662:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5663:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5663:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5664:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5664:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5665:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5665:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5673:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5673:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5680:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5680:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5683:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5683:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^~~~~~~~~~~ In file included from c-client.h:48:0, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5668:10: warning: '__s' may be used uninitialized in this function [-Wmaybe-uninitialized] ((t[2] == 'R') || (t[2] == 'r')) && ~^~~ `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c: In function 'pop3_valid': pop3.c:177:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:177:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c: In function 'pop3_scan': pop3.c:229:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c:229:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c:230:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c:230:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c: In function 'pop3_list': pop3.c:245:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c:245:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c:250:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c:250:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c: In function 'pop3_lsub': pop3.c:276:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: pop3.c:276:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) ^ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from c-client.h:42, from pop3.c:30: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ pop3.c: In function 'pop3_capa': pop3.c:502:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:502:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:503:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:503:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^~~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:504:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:504:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^~~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:505:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:505:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:506:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:506:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:507:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:507:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:508:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:508:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^~~~~~~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:510:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:510:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:518:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:518:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:519:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:519:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:521:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:521:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^~~~~~~~~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:529:54: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:529:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:532:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:532:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^~~~~~ In file included from c-client.h:48:0, from pop3.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c: In function 'pop3_fetchfast': pop3.c:785:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41:0, from pop3.c:30: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ pop3.c:786:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from c-client.h:41:0, from pop3.c:30: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ pop3.c: In function 'pop3_expunge': pop3.c:949:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41:0, from pop3.c:30: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ pop3.c:950:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : ^~~~~~~~ In file included from c-client.h:41:0, from pop3.c:30: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ pop3.c: In function 'pop3_header': pop3.c:849:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = (unsigned char *) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs_get ((size_t) elt->private.msg.header.text.size + 1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) elt->private.msg.header.text.size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_open': unix.c:469:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:469:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:481:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ In file included from unix.c:46:0: osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ unix.c:531:5: note: in expansion of macro 'flock' flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^~~~~ unix.c: In function 'unix_header': unix.c:627:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:641:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:654:26: note: in expansion of macro 'LOCAL' *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^~~~~ In file included from unix.c:45:0: mail.h:1762:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:704:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:732:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ unix.c:735:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ unix.c: In function 'unix_ping': unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:788:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:790:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c: In function 'unix_expunge': unix.c:847:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from unix.c:45:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ unix.c:848:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ In file included from unix.c:45:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ unix.c:853:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^~~ unix.c:861:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ unix.c: In function 'unix_copy': unix.c:903:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from unix.c:45:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ unix.c:904:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from unix.c:45:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ unix.c:910:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:910:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:917:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:918:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:922:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:923:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:927:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:928:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:937:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:939:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:948:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:949:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:958:21: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^~~~~ In file included from osdep.h:67:0, from unix.c:46: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:966:27: note: in expansion of macro 'LOCAL' unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^~~~~ unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:967:27: note: in expansion of macro 'LOCAL' unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^~~~~ unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:968:18: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~ In file included from osdep.h:67:0, from unix.c:46: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:982:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1008:21: note: in expansion of macro 'LOCAL' if (!ret) MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c: In function 'unix_append': unix.c:1052:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1052:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1094:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from unix.c:45:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ unix.c:1038:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^~~~~~~~~~~ unix.c: In function 'unix_collect_msg': unix.c:1197:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ unix.c: In function 'unix_parse': unix.c:1463:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1464:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1473:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1475:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1487:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ unix.c:1496:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c:1500:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1502:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1551:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1552:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1556:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from unix.c:46: unix.c:1573:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1573:24: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1573:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1573:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44:0, from unix.c:46: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ unix.c:1579:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^~~~~~ In file included from unix.c:52:0: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from unix.c:46: unix.c:1627:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1627:22: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1627:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1634:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ unix.c:1662:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1667:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1687:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1743:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^~~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1744:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^~~~~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1745:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^~~~~~~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1746:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1747:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^~~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1748:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^~~~~~~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:1771:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; ^ unix.c:1797:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c: In function 'unix_rewrite': unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2083:60: note: in expansion of macro 'LOCAL' unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^~~~~ unix.c:1963:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2091:23: note: in expansion of macro 'LOCAL' unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^~~~~ unix.c:1990:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2099:32: note: in expansion of macro 'LOCAL' size = unix_pseudo (stream,LOCAL->buf); ^~~~~ unix.c:1963:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2119:53: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^~~~~ unix.c:1963:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2119:22: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^~~~~ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2136:29: note: in expansion of macro 'LOCAL' unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^~~~~ unix.c:1990:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2150:19: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^~~~~ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2171:34: note: in expansion of macro 'LOCAL' j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^~~~~ unix.c:1990:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2170:19: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf, ^~~~~ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2256:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2257:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c: In function 'unix_extend': unix.c:2278:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ unix.c:81:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2283:29: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^~~~~ In file included from osdep.h:67:0, from unix.c:46: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2289:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2290:33: note: in expansion of macro 'LOCAL' if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c: In function 'mbox_valid': unix.c:2462:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:2462:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c: In function 'mbox_create': unix.c:2477:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c:2477:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^~~~~~~ In file included from unix.c:52:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2605:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2607:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2619:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2620:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2626:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2628:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:81:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2644:15: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:81:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2649:19: note: in expansion of macro 'LOCAL' else MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from unix.c:45:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c: In function 'unix_open': unix.c:520:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^~~~~~~~~~~~~~~~ unix.c: In function 'unix_header': unix.c:631:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:641:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:708:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_copy': unix.c:957:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:983:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_append': unix.c:1153:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:2140:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2240:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2286:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2612:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (sfd,s = (char *) fs_get (size + 1),size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2622:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2630:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2641:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from mbx.c:42:0: mbx.c: In function 'mbx_isvalid': osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ mbx.c:233:12: note: in expansion of macro 'flock' if (flock (fd,LOCK_SH) || ^~~~~ mbx.c:307:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^~~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:307:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^~~~~~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rename': mbx.c:506:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:506:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^~~~~~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c: In function 'mbx_open': mbx.c:587:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mbx.c:590:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:590:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c: In function 'mbx_flags': mbx.c:677:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mbx.c:41:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:678:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mbx.c:41:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mbx.c: In function 'mbx_header': mbx.c:706:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mbx.c:709:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_text': mbx.c:746:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mbx.c: In function 'mbx_ping': mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:856:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:857:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c: In function 'mbx_expunge': mbx.c:889:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mbx.c:41:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:890:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) { ^~~~~~~~ In file included from mbx.c:41:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:896:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:897:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:900:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:901:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:940:15: note: in expansion of macro 'LOCAL' mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^~~~~ In file included from mbx.c:41:0: mail.h:1750:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:941:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:941:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:947:45: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:947:26: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~ In file included from osdep.h:67:0, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:963:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:964:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c: In function 'mbx_copy': mbx.c:999:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mbx.c:41:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:1000:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from mbx.c:41:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1009:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1010:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1014:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1015:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1019:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1020:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1032:17: note: in expansion of macro 'LOCAL' mail_date(LOCAL->buf,elt);/* build target header */ ^~~~~ In file included from mbx.c:41:0: mail.h:1750:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mbx.c:1037:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:1037:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1038:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^~~~~ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1038:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1044:48: note: in expansion of macro 'LOCAL' if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { ^~~~~ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1044:29: note: in expansion of macro 'LOCAL' if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { ^~~~~ In file included from osdep.h:67:0, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1047:20: note: in expansion of macro 'LOCAL' ret = write (fd,LOCAL->buf,j) >= 0; ^~~~~ In file included from osdep.h:67:0, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1058:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1059:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mbx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1065:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%08lx",dstream->uid_last); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1066:15: note: in expansion of macro 'LOCAL' write (fd,LOCAL->buf,8); ^~~~~ In file included from osdep.h:67:0, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1123:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:1123:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mbx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mbx.c:1165:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mbx.c:41:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1274:35: note: in expansion of macro 'LOCAL' stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^~~~~ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1277:16: note: in expansion of macro 'LOCAL' i = strtoul (LOCAL->buf + 15,NIL,16); ^~~~~ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mbx.c:42: mbx.c:1281:41: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1281:41: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1281:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1284:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:1285:39: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] stream->user_flags[i] = cpystr (s); ^ In file included from mbx.c:46:0: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1295:14: note: in expansion of macro 'LOCAL' strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^~~~~ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mbx.c:42: mbx.c:83:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1312:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^~~~~ mbx.c:83:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1312:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^~~~~ mbx.c:1312:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mbx.c:42: mbx.c:83:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1321:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~ mbx.c:83:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1321:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~ mbx.c:1321:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mbx.c:42: mbx.c:1321:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:57: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1321:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1351:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1369:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (t+13,NIL,16)) && ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1385:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1419:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (t,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c: In function 'mbx_read_flags': mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1501:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1503:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^~~~~ In file included from osdep.h:69:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1510:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1511:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^~~~~ In file included from osdep.h:69:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1515:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1518:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf+50); ^~~~~ In file included from osdep.h:69:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1522:16: note: in expansion of macro 'LOCAL' i = strtoul (LOCAL->buf+9,NIL,16); ^~~~~ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1531:30: note: in expansion of macro 'LOCAL' elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^~~~~ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c: In function 'mbx_update_header': mbx.c:83:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1547:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->buf; ^~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1558:12: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1562:26: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, ^~~~~ In file included from osdep.h:67:0, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c: In function 'mbx_update_status': mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1585:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1587:14: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^~~~~ In file included from osdep.h:69:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1594:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1595:14: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^~~~~ In file included from osdep.h:69:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1599:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1602:14: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf+50); ^~~~~ In file included from osdep.h:69:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1607:31: note: in expansion of macro 'LOCAL' fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^~~~~ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:83:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1605:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1615:28: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^~~~~ In file included from osdep.h:67:0, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c: In function 'mbx_hdrpos': mbx.c:1663:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1670:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1680:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ ^ mbx.c: In function 'mbx_rewrite': mbx.c:83:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1761:29: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^~~~~ In file included from osdep.h:67:0, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c: In function 'mbx_header': mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,*length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:965:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1046:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1060:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1195:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1269:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,HDRSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1757:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1781:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_open': mmdf.c:608:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:608:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:620:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ In file included from mmdf.c:34:0: osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ mmdf.c:670:5: note: in expansion of macro 'flock' flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:766:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:780:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:793:26: note: in expansion of macro 'LOCAL' *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^~~~~ In file included from mmdf.c:33:0: mail.h:1762:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:843:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:871:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ mmdf.c:874:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ mmdf.c: In function 'mmdf_ping': mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:927:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:929:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c: In function 'mmdf_expunge': mmdf.c:986:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mmdf.c:33:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mmdf.c:987:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ In file included from mmdf.c:33:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mmdf.c:992:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^~~ mmdf.c:1000:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1039:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mmdf.c:33:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mmdf.c:1040:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from mmdf.c:33:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mmdf.c:1045:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1045:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1052:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1053:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1057:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1058:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1062:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1063:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1072:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1074:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1083:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1084:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1093:21: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^~~~~ In file included from osdep.h:67:0, from mmdf.c:34: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1101:27: note: in expansion of macro 'LOCAL' mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^~~~~ mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1102:27: note: in expansion of macro 'LOCAL' mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^~~~~ mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1103:18: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~ In file included from osdep.h:67:0, from mmdf.c:34: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1118:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1144:21: note: in expansion of macro 'LOCAL' if (!ret) MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1189:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1189:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1231:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mmdf.c:33:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mmdf.c:1174:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^~~~~~~~~~~ mmdf.c: In function 'mmdf_collect_msg': mmdf.c:1333:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ mmdf.c: In function 'mmdf_parse': mmdf.c:1592:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1593:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1602:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1604:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1616:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mmdf.c:1625:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1629:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1635:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1640:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1657:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1693:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1694:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1711:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mmdf.c:34: mmdf.c:1737:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1737:24: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1737:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1737:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44:0, from mmdf.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mmdf.c:1743:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^~~~~~ In file included from mmdf.c:39:0: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mmdf.c:34: mmdf.c:1791:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1791:22: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1791:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1798:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mmdf.c:1826:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1831:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1851:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1907:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^~~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1908:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^~~~~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1909:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^~~~~~~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1910:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1911:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^~~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1912:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^~~~~~~~~~~~ In file included from mmdf.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1935:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; ^ mmdf.c:1959:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1984:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2246:60: note: in expansion of macro 'LOCAL' unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^~~~~ mmdf.c:2126:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2254:23: note: in expansion of macro 'LOCAL' mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^~~~~ mmdf.c:2153:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2262:32: note: in expansion of macro 'LOCAL' size = mmdf_pseudo (stream,LOCAL->buf); ^~~~~ mmdf.c:2126:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2282:53: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^~~~~ mmdf.c:2126:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2282:22: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^~~~~ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2299:29: note: in expansion of macro 'LOCAL' mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^~~~~ mmdf.c:2153:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2313:19: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^~~~~ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2334:34: note: in expansion of macro 'LOCAL' j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^~~~~ mmdf.c:2153:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2333:19: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf, ^~~~~ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2402:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2403:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2424:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ mmdf.c:236:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2429:29: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^~~~~ In file included from osdep.h:67:0, from mmdf.c:34: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2435:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:236:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2436:33: note: in expansion of macro 'LOCAL' if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mmdf.c:33:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:659:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:770:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:780:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:847:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_copy': mmdf.c:1092:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1119:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1289:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2303:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2386:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2432:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function 'tenex_isvalid': tenex.c:211:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:211:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~~~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from tenex.c:47:0: tenex.c: In function 'tenex_rename': osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ tenex.c:318:7: note: in expansion of macro 'flock' if (flock (fd,LOCK_EX|LOCK_NB)) { ^~~~~ tenex.c:353:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:353:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c: In function 'tenex_open': tenex.c:430:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ tenex.c:436:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:436:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c: In function 'tenex_fast': tenex.c:503:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:504:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:514:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); ^ tenex.c: In function 'tenex_flags': tenex.c:541:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:542:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:567:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:577:54: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); ^ In file included from osdep.h:70:0, from tenex.c:47: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:612:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:635:50: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); ^ In file included from osdep.h:70:0, from tenex.c:47: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:777:15: note: in expansion of macro 'LOCAL' mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^~~~~ In file included from tenex.c:46:0: mail.h:1750:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:778:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~ In file included from osdep.h:44:0, from tenex.c:47: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:778:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:784:45: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~ In file included from osdep.h:44:0, from tenex.c:47: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:784:26: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~ In file included from osdep.h:67:0, from tenex.c:47: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:800:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:801:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:836:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:837:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:898:29: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^~~~~ In file included from osdep.h:67:0, from tenex.c:47: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:914:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:917:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:921:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:923:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c: In function 'tenex_copy': tenex.c:70:15: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:964:31: note: in expansion of macro 'LOCAL' if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^~~~~ tenex.c:176:5: note: expected 'char *' but argument is of type 'unsigned char *' int tenex_isvalid (char *name,char *tmp) ^~~~~~~~~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:971:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:972:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:976:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:977:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:981:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:982:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:985:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:986:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from tenex.c:46:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:989:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:990:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1012:16: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~ In file included from osdep.h:67:0, from tenex.c:47: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1017:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1018:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from tenex.c:46:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c: In function 'tenex_append': tenex.c:1075:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:1075:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ In file included from tenex.c:49:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tenex.c:1125:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from tenex.c:46:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from tenex.c:47: tenex.c: In function 'tenex_parse': tenex.c:70:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1247:23: note: in expansion of macro 'LOCAL' if (!(s = strchr (LOCAL->buf,'\012'))) { ^~~~~ tenex.c:70:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1247:23: note: in expansion of macro 'LOCAL' if (!(s = strchr (LOCAL->buf,'\012'))) { ^~~~~ tenex.c:1247:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from tenex.c:47: tenex.c:70:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1256:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~ tenex.c:70:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1256:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~ tenex.c:1256:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from tenex.c:47: tenex.c:1256:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1256:57: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1256:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1279:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ tenex.c:1303:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ tenex.c: In function 'tenex_read_flags': tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1381:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1382:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^~~~~ In file included from osdep.h:69:0, from tenex.c:47: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ tenex.c:70:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1390:15: note: in expansion of macro 'LOCAL' j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^~~~~ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ tenex.c: In function 'tenex_update_status': tenex.c:70:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1416:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:70:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1424:22: note: in expansion of macro 'LOCAL' write (LOCAL->fd,LOCAL->buf,12); ^~~~~ In file included from osdep.h:67:0, from tenex.c:47: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1459:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ tenex.c: In function 'tenex_fast': tenex.c:519:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:570:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length = i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:575:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:617:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:632:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:802:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:893:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:920:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:1011:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1019:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_append': tenex.c:1153:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1459:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function 'mtx_isvalid': mtx.c:204:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:204:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~~~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from mtx.c:42:0: mtx.c: In function 'mtx_rename': osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ mtx.c:309:7: note: in expansion of macro 'flock' if (flock (fd,LOCK_EX|LOCK_NB)) { ^~~~~ mtx.c:344:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:344:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c: In function 'mtx_open': mtx.c:422:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mtx.c:425:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:425:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c: In function 'mtx_flags': mtx.c:488:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mtx.c:41:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:489:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mtx.c:41:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mtx.c: In function 'mtx_header': mtx.c:512:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mtx.c: In function 'mtx_text': mtx.c:547:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mtx.c: In function 'mtx_snarf': mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:686:15: note: in expansion of macro 'LOCAL' mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^~~~~ In file included from mtx.c:41:0: mail.h:1750:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:687:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~ In file included from osdep.h:44:0, from mtx.c:42: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:687:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:693:45: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~ In file included from osdep.h:44:0, from mtx.c:42: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:693:26: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~ In file included from osdep.h:67:0, from mtx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:709:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:710:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:745:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mtx.c:41:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:746:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^~~~~~~~ In file included from mtx.c:41:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:807:29: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^~~~~ In file included from osdep.h:67:0, from mtx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:822:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:825:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:829:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:831:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c: In function 'mtx_copy': mtx.c:66:15: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:872:29: note: in expansion of macro 'LOCAL' if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^~~~~ mtx.c:169:5: note: expected 'char *' but argument is of type 'unsigned char *' int mtx_isvalid (char *name,char *tmp) ^~~~~~~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:879:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:880:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:884:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:885:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:889:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:890:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:893:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mtx.c:41:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:894:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from mtx.c:41:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:897:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:898:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:920:16: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~ In file included from osdep.h:67:0, from mtx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:925:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:926:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mtx.c:41:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c: In function 'mtx_append': mtx.c:983:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:983:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ In file included from mtx.c:46:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mtx.c:1033:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mtx.c:41:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mtx.c:42: mtx.c: In function 'mtx_parse': mtx.c:66:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1133:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^~~~~ mtx.c:66:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1133:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^~~~~ mtx.c:1133:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mtx.c:42: mtx.c:66:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1142:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~ mtx.c:66:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1142:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~ mtx.c:1142:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mtx.c:42: mtx.c:1142:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1142:57: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1142:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1165:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mtx.c:1189:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mtx.c: In function 'mtx_read_flags': mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1267:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1268:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^~~~~ In file included from osdep.h:69:0, from mtx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mtx.c:66:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1276:15: note: in expansion of macro 'LOCAL' j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^~~~~ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mtx.c: In function 'mtx_update_status': mtx.c:66:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1302:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:66:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1310:22: note: in expansion of macro 'LOCAL' write (LOCAL->fd,LOCAL->buf,12); ^~~~~ In file included from osdep.h:67:0, from mtx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mtx.c: In function 'mtx_header': mtx.c:516:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:711:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:802:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:828:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:919:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:927:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_append': mtx.c:1054:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` news.c news.c: In function 'news_list': news.c:237:24: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ news.c:237:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ news.c:240:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ news.c:240:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ news.c: In function 'news_open': news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~~ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ news.c: In function 'news_fast': news.c:456:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from news.c:34:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ news.c:457:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from news.c:34:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ news.c: In function 'news_flags': news.c:474:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from news.c:34:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ news.c:474:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from news.c:34:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ news.c: In function 'news_load_message': news.c:61:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((NEWSLOCAL *) stream->local) ^ news.c:495:12: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from news.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ news.c:61:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((NEWSLOCAL *) stream->local) ^ news.c:500:20: note: in expansion of macro 'LOCAL' ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^~~~~ In file included from /usr/include/fcntl.h:314:0, from osdep.h:49, from news.c:35: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ news.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ news.c: In function 'news_valid': news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:228:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` phile.c phile.c: In function 'phile_open': phile.c:305:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ phile.c:327:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); ^ In file included from osdep.h:70:0, from phile.c:36: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ phile.c:317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c: In function 'mh_isvalid': mh.c:190:44: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:190:49: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:191:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^ mh.c:191:30: note: in expansion of macro 'MHINBOX' !compare_cstring (name,MHINBOX) || ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:195:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:195:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_path': mh.c:256:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:256:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_scan': mh.c:374:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^ mh.c:374:32: note: in expansion of macro 'MHINBOX' if (!compare_cstring (test,MHINBOX)) ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_lsub': mh.c:403:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:58:0, from osdep.h:67, from mh.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ mh.c:403:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from mh.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ mh.c: In function 'mh_list_work': mh.c:435:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from mh.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ mh.c:435:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from mh.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ mh.c:437:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from mh.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ mh.c:437:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from mh.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ mh.c: In function 'mh_open': mh.c:587:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (stream->mailbox,MHINBOX) || ^~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^ mh.c:587:40: note: in expansion of macro 'MHINBOX' (!compare_cstring (stream->mailbox,MHINBOX) || ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:592:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:592:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_fast': mh.c:638:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mh.c:31:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:639:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mh.c:31:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mh.c: In function 'mh_load_message': mh.c:69:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:662:12: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:69:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:667:20: note: in expansion of macro 'LOCAL' ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^~~~~ In file included from /usr/include/fcntl.h:314:0, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:671:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_ping': mh.c:862:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~ In file included from osdep.h:47:0, from mh.c:32: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mh.c:862:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~~ In file included from osdep.h:47:0, from mh.c:32: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mh.c:69:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:899:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:69:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:902:19: note: in expansion of macro 'LOCAL' if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^~~~~ In file included from /usr/include/fcntl.h:314:0, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:69:15: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:926:16: note: in expansion of macro 'LOCAL' mh_setdate (LOCAL->buf,elt); ^~~~~ mh.c:107:6: note: expected 'char *' but argument is of type 'unsigned char *' void mh_setdate (char *file,MESSAGECACHE *elt); ^~~~~~~~~~ mh.c:69:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:934:14: note: in expansion of macro 'LOCAL' unlink (LOCAL->buf);/* flush this file */ ^~~~~ In file included from osdep.h:45:0, from mh.c:32: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mh.c: In function 'mh_expunge': mh.c:981:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mh.c:31:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:982:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) { ^~~~~~~~ In file included from mh.c:31:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mh.c:69:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:987:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:69:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:988:14: note: in expansion of macro 'LOCAL' if (unlink (LOCAL->buf)) {/* try to delete the message */ ^~~~~ In file included from osdep.h:45:0, from mh.c:32: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mh.c:69:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:989:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:69:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:991:12: note: in expansion of macro 'LOCAL' mm_log (LOCAL->buf,(long) NIL); ^~~~~ In file included from mh.c:31:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mh.c:69:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:1009:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:69:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:1010:15: note: in expansion of macro 'LOCAL' mm_log (LOCAL->buf,(long) NIL); ^~~~~ In file included from mh.c:31:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mh.c: In function 'mh_copy': mh.c:1041:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mh.c:31:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:1042:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) ^~~~~~~~ In file included from mh.c:31:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mh.c:69:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:1045:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:69:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:1046:18: note: in expansion of macro 'LOCAL' if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^~~~~ In file included from /usr/include/fcntl.h:314:0, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:1058:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_append': mh.c:1106:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^ mh.c:1106:38: note: in expansion of macro 'MHINBOX' if (!((!compare_cstring (mailbox,MHINBOX) || ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:1107:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:1107:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:1128:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~ In file included from osdep.h:47:0, from mh.c:32: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mh.c:1128:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~~ In file included from osdep.h:47:0, from mh.c:32: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mh.c:1146:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mh.c:31:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mh.c:1099:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] long i,size,last,nfiles; ^~~~ mh.c: In function 'mh_file': mh.c:1228:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^ mh.c:1228:30: note: in expansion of macro 'MHINBOX' if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:1228:60: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:1228:65: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~~~~ In file included from mh.c:36:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_path': mh.c:248:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c: In function 'mx_isvalid': mx.c:186:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^~~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:186:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^~~~~~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c: In function 'mx_scan_contents': mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^~~~~~~~~ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^~~~~~~~~~ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mx.c: In function 'mx_create': mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^~ mx.c: In function 'mx_rename': mx.c:439:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:439:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~~~~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~~ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mx.c: In function 'mx_open': mx.c:518:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:518:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:524:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mx.c: In function 'mx_fast': mx.c:573:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mx.c:34:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:574:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mx.c:34:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mx.c: In function 'mx_fast_work': mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:591:12: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:62:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:593:35: note: in expansion of macro 'LOCAL' if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mx.c: In function 'mx_header': mx.c:633:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ mx.c:62:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:648:43: note: in expansion of macro 'LOCAL' cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^~~~~ In file included from mx.c:39:0: misc.h:85:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^~~~~~ mx.c:62:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:649:41: note: in expansion of macro 'LOCAL' cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^~~~~ In file included from mx.c:39:0: misc.h:85:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^~~~~~ mx.c: In function 'mx_ping': mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~~ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:767:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:62:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:770:19: note: in expansion of macro 'LOCAL' if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^~~~~ In file included from /usr/include/fcntl.h:314:0, from osdep.h:49, from mx.c:35: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mx.c:62:15: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:794:16: note: in expansion of macro 'LOCAL' mx_setdate (LOCAL->buf,elt); ^~~~~ mx.c:106:6: note: expected 'char *' but argument is of type 'unsigned char *' void mx_setdate (char *file,MESSAGECACHE *elt); ^~~~~~~~~~ mx.c:62:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:801:14: note: in expansion of macro 'LOCAL' unlink (LOCAL->buf);/* flush this file */ ^~~~~ In file included from osdep.h:45:0, from mx.c:35: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mx.c: In function 'mx_expunge': mx.c:848:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mx.c:34:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:849:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ In file included from mx.c:34:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:855:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:62:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:856:14: note: in expansion of macro 'LOCAL' if (unlink (LOCAL->buf)) {/* try to delete the message */ ^~~~~ In file included from osdep.h:45:0, from mx.c:35: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:857:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:859:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^~~~~ In file included from mx.c:34:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:875:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:876:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^~~~~ In file included from mx.c:34:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mx.c: In function 'mx_copy': mx.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:913:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:62:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:914:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mx.c:34:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mx.c:921:63: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mx.c:34:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:922:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^~~~~~~~ In file included from mx.c:34:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mx.c:944:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] unsigned long i,j,uid,uidv; ^~~ mx.c: In function 'mx_append': mx.c:1003:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^~~~~~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:1003:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^~~~~~~ In file included from mx.c:39:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c:1038:54: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^~~~ In file included from mx.c:34:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ In file included from mx.c:35:0: mx.c: In function 'mx_lockindex': osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ mx.c:1173:5: note: in expansion of macro 'flock' flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ ^~~~~ mx.c: In function 'mx_header': mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,elt->rfc822_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1177:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_unlockindex': mx.c:1269:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,size); ^~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mix.c mix.c: In function 'mix_scan_contents': mix.c:322:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^~~~~~~~~~ In file included from osdep.h:47:0, from mix.c:31: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mix.c:322:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^~~~~~~~~~~~ In file included from osdep.h:47:0, from mix.c:31: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ In file included from mix.c:31:0: mix.c: In function 'mix_delete': osdep.h:61:15: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] #define flock safe_flock ^ mix.c:469:50: note: in expansion of macro 'flock' else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) ^~~~~ mix.c: In function 'mix_rename': mix.c:527:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~ In file included from mix.c:35:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mix.c:527:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~~~~~ In file included from mix.c:35:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mix.c:554:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); ^~~~~~~~~~~ In file included from osdep.h:47:0, from mix.c:31: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mix.c: In function 'mix_open': mix.c:606:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~ In file included from mix.c:35:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mix.c:606:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mix.c:35:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mix.c:608:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:611:12: note: in expansion of macro 'LOCAL' mix_dir (LOCAL->buf,stream->mailbox); ^~~~~ mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_dir (char *dst,char *name); ^~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:613:29: note: in expansion of macro 'LOCAL' stream->mailbox = cpystr (LOCAL->buf); ^~~~~ In file included from mix.c:35:0: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:616:35: note: in expansion of macro 'LOCAL' ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^~~~~ mix.c:164:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:619:35: note: in expansion of macro 'LOCAL' ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^~~~~ mix.c:164:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:627:38: note: in expansion of macro 'LOCAL' LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); ^~~~~ mix.c:164:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:628:39: note: in expansion of macro 'LOCAL' LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); ^~~~~ mix.c:164:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:629:42: note: in expansion of macro 'LOCAL' LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox, ^~~~~ mix.c:164:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^~~~~~~~ mix.c: In function 'mix_header': mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:718:46: note: in expansion of macro 'LOCAL' if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:730:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); ^ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:735:17: note: in expansion of macro 'LOCAL' !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:752:23: note: in expansion of macro 'LOCAL' if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:752:23: note: in expansion of macro 'LOCAL' if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; ^~~~~ mix.c:709:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^~ mix.c: In function 'mix_text': mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:781:46: note: in expansion of macro 'LOCAL' if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:805:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mix.c:772:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i; ^ mix.c: In function 'mix_flag': mix.c:830:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mix.c:30:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mix.c:831:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^~~~~~~~ In file included from mix.c:30:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mix.c: In function 'mix_ping': mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:973:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:974:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:927:15: warning: unused variable 'sfd' [-Wunused-variable] int mfd,ifd,sfd; ^~~ mix.c:927:11: warning: unused variable 'ifd' [-Wunused-variable] int mfd,ifd,sfd; ^~~ mix.c:927:7: warning: unused variable 'mfd' [-Wunused-variable] int mfd,ifd,sfd; ^~~ mix.c: In function 'mix_expunge': mix.c:1033:29: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mix.c:30:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mix.c:1034:25: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) || stream->rdonly); ^~~~~~~~ In file included from mix.c:30:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mix.c:1052:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~ In file included from osdep.h:47:0, from mix.c:31: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mix.c:1052:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~~~ In file included from osdep.h:47:0, from mix.c:31: /usr/include/dirent.h:255:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1085:15: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't locate mix message file %.08lx", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1087:14: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1096:30: note: in expansion of macro 'LOCAL' else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1098:19: note: in expansion of macro 'LOCAL' truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^~~~~ In file included from osdep.h:45:0, from mix.c:31: /usr/include/unistd.h:995:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1098:43: note: in expansion of macro 'LOCAL' truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^~~~~ In file included from osdep.h:45:0, from mix.c:31: /usr/include/unistd.h:828:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1099:17: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1102:16: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1135:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); ^ mix.c:1137:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ mix.c:1024:11: warning: unused variable 'sfd' [-Wunused-variable] int ifd,sfd; ^~~ mix.c:1024:7: warning: unused variable 'ifd' [-Wunused-variable] int ifd,sfd; ^~~ mix.c: In function 'mix_burp': mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1227:18: note: in expansion of macro 'LOCAL' mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1231:15: note: in expansion of macro 'LOCAL' if (stat (LOCAL->buf,&sbuf)) { ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1232:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1233:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1236:54: note: in expansion of macro 'LOCAL' else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^~~~~ mix.c:145:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^~~~~~~~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1240:34: note: in expansion of macro 'LOCAL' else if ((ret = !truncate (LOCAL->buf,burp->set.last)) != 0L) ^~~~~ In file included from osdep.h:45:0, from mix.c:31: /usr/include/unistd.h:995:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1243:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1244:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1249:25: note: in expansion of macro 'LOCAL' else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || ^~~~~ In file included from /usr/include/fcntl.h:314:0, from osdep.h:49, from mix.c:31: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1251:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1253:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1257:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1258:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1263:52: note: in expansion of macro 'LOCAL' else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^~~~~ mix.c:145:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from mix.c:31: mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1268:13: note: in expansion of macro 'LOCAL' strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1269:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Bad message token in mix message file at %lu", ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1271:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1311:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1312:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c: In function 'mix_copy': mix.c:108:15: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1361:35: note: in expansion of macro 'LOCAL' long ret = mix_isvalid (mailbox,LOCAL->buf); ^~~~~ mix.c:234:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_isvalid (char *name,char *meta) ^~~~~~~~~~~ mix.c:1379:68: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mix.c:30:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mix.c:1380:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^~~~~~~~ In file included from mix.c:30:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mix.c:1397:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1399:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:1408:44: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if ((msgf = mix_data_open (astream,&fd,&size,newsize)) != NULL) { ^ mix.c:157:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^~~~~~~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1420:47: note: in expansion of macro 'LOCAL' if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf, ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:1432:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mix.c:1410:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] unsigned long j,uid,uidv; ^~~ mix.c: In function 'mix_append': mix.c:1524:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((ret = compare_cstring (mailbox,"INBOX") ? ^~~~~~~ In file included from mix.c:35:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mix.c:1524:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((ret = compare_cstring (mailbox,"INBOX") ? ^~~~~~~ In file included from mix.c:35:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mix.c:1555:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1557:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:1561:46: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if ((msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) != NULL){ ^ mix.c:157:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^~~~~~~~~~~~~ mix.c:1569:51: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^~~~ In file included from mix.c:30:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mix.c:1576:30: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,tmp); ^~~ In file included from mix.c:30:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mix.c: In function 'mix_append_msg': mix.c:1638:26: warning: unused variable 'hoff' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^~~~ mix.c:1638:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^ mix.c: In function 'mix_parse': mix.c:108:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1831:42: note: in expansion of macro 'LOCAL' while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) && ^~~~~ mix.c:161:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^~~~~~~~~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:1973:31: note: in expansion of macro 'LOCAL' if (stat (mix_file_data (LOCAL->buf,stream->mailbox, ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2055:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2058:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^~~~~ In file included from mix.c:30:0: mail.h:1660:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2068:43: note: in expansion of macro 'LOCAL' while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen, ^~~~~ mix.c:161:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_slurp': mix.c:2164:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ mix.c:2169:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size)) ^ mix.c: In function 'mix_meta_update': mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2204:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2205:35: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2205:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^~~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:108:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2207:56: note: in expansion of macro 'LOCAL' for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); ^~~~~ In file included from osdep.h:44:0, from mix.c:31: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:2208:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { ^ mix.c:108:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2222:30: note: in expansion of macro 'LOCAL' ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; ^~~~~ In file included from osdep.h:67:0, from mix.c:31: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mix.c: In function 'mix_data_open': mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2417:35: note: in expansion of macro 'LOCAL' if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg), ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:108:15: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2434:7: note: in expansion of macro 'LOCAL' (LOCAL->buf,stream->mailbox, ^~~~~ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_open': mix.c:108:15: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:2499:44: note: in expansion of macro 'LOCAL' while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen, ^~~~~ mix.c:161:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^~~~~~~~~~~~~~~ mix.c:2598:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) ^ mix.c:2610:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = LOCAL->buf,sl = NIL, ^ mix.c:2618:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sl->text.data = cpystr (s); ^ mix.c: In function 'mix_copy': mix.c:1482:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert file */ ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_append': mix.c:1600:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert all writes to file*/ ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_update': mix.c:2223:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->mfd,i); /* and tie off at that point */ ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_index_update': mix.c:2271:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (idxf),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2304:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (idxf),ftell (idxf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_status_update': mix.c:2352:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (statf),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2386:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (statf),ftell (statf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_update': mix.c:2730:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (f),ftell (f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_open': mix.c:2673:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] else fchmod (fd,sbuf.st_mode); ^~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` maildir.c In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c: In function 'maildir_file_path': maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:272:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:272:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:272:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:272:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:272:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:274:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:274:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:274:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:274:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:274:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:276:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:276:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:276:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ maildir.c:276:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:276:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ maildir.c: In function 'maildir_fast': maildir.c:315:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from maildir.c:13:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ maildir.c:316:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from maildir.c:13:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ maildir.c: In function 'maildir_open': maildir.c:514:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ maildir.c: In function 'maildir_initial_check': maildir.c:626:10: warning: unused variable 'tmp' [-Wunused-variable] char *tmp; ^~~ maildir.c: In function 'maildir_text_work': maildir.c:904:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ maildir.c:913:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ maildir.c:920:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = LOCAL->buf; SIZE (&bs);) switch (CHR (&bs)) { ^ maildir.c:934:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] return LOCAL->buf; maildir.c: In function 'maildir_header': maildir.c:1059:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ maildir.c:1069:56: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s, ^ In file included from osdep.h:70:0, from maildir.c:17: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ maildir.c:1076:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] return LOCAL->buf; In file included from maildir.c:22:0: maildir.c: In function 'maildir_list': maildir.h:62:5: warning: the address of 'test' will always evaluate as 'true' [-Waddress] (((t) && (t)[0] == '#' && ((t)[1] == 'm' || (t)[1] == 'M')\ ^ maildir.c:1111:10: note: in expansion of macro 'IS_COURIER' if(IS_COURIER(test)) ^~~~~~~~~~ maildir.c:1117:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MD/INBOX")) ^~~~ In file included from maildir.c:20:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c:1117:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MD/INBOX")) ^~~~~~~~~~~ In file included from maildir.c:20:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c:1119:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MC/INBOX")) ^~~~ In file included from maildir.c:20:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c:1119:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MC/INBOX")) ^~~~~~~~~~~ In file included from maildir.c:20:0: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c: In function 'maildir_expunge': maildir.c:1323:52: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from maildir.c:13:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ maildir.c:1324:48: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT; ^~~~~~~~ In file included from maildir.c:13:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ maildir.c: In function 'maildir_copy': maildir.c:1371:55: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream, sequence) : ^~~~~~~~ In file included from maildir.c:13:0: mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ maildir.c:1372:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) ^~~~~~~~ In file included from maildir.c:13:0: mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ maildir.c:1376:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (((fd = open (path,O_RDONLY,NIL)) < 0) ^~ maildir.c:1380:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(!elt->rfc822_size) ^~ maildir.c:1386:48: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] len = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen, s, MDSIZE(elt)); ^ In file included from osdep.h:70:0, from maildir.c:17: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ maildir.c: In function 'maildir_append': maildir.c:1449:39: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (date && !mail_parse_date(&elt,date)){ ^~~~ In file included from maildir.c:13:0: mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ maildir.c: In function 'maildir_lsub': maildir.c:1721:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); ^ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1721:28: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c: In function 'maildir_list_work': maildir.c:1782:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if(pmatch_full (tmp, pat,'/')){ ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1782:25: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if(pmatch_full (tmp, pat,'/')){ ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1799:20: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if(dmatch (tmp, pat,'/') && ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ maildir.c:1799:25: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if(dmatch (tmp, pat,'/') && ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ maildir.c: In function 'courier_list_work': maildir.c:1862:18: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) ^~ maildir.c:1862:41: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1862:46: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) ^~~~~~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1868:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if(pmatch_full (cdir->data[i]->name, pat, '.')){ ^~~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1868:41: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if(pmatch_full (cdir->data[i]->name, pat, '.')){ ^~~ In file included from env_unix.h:58:0, from osdep.h:67, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c: In function 'maildir_dir_is_empty': maildir.c:2159:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s = strrchr(tmp2, '/')) ^~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c: In function 'courier_list_dir': maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2369:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2369:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2369:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2369:15: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from maildir.c:20:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from osdep.h:44, from maildir.c:17: maildir.c:2369:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ In file included from osdep.h:44:0, from maildir.c:17: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ maildir.c: In function 'courier_list_info': maildir.c:2415:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ maildir.c:2417:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' cdir->data[i]->attribute += maildir_any_new_msgs(cdir->data[i]->name) ^~~~ maildir.c: In function 'maildir_can_assign_uid': maildir.c:2479:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(tmp, "w")){ ^~ maildir.c:2435:44: warning: unused variable 'p' [-Wunused-variable] char tmp[MAILTMPLEN], tmp2[MAILTMPLEN], *p, *s; ^ maildir.c:2434:17: warning: unused variable 't' [-Wunused-variable] unsigned long t; ^ maildir.c: In function 'maildir_write_uid': maildir.c:2581:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(tmp, "w")) ^~ maildir.c: In function 'maildir_delete_uid': maildir.c:2612:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s = strstr(MDFILE(elt), MDUIDSEP)){ ^~ maildir.c: In function 'maildir_assign_uid': maildir.c:2629:18: warning: unused variable 'deleteuid' [-Wunused-variable] int createuid, deleteuid = 0; ^~~~~~~~~ maildir.c:2629:7: warning: unused variable 'createuid' [-Wunused-variable] int createuid, deleteuid = 0; ^~~~~~~~~ maildir.c: In function 'maildir_text_work': maildir.c:907:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_parse_message': maildir.c:962:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,MDSIZE(elt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_header': maildir.c:1062:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd, (void *)LOCAL->buf, elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1067:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd, (void *)s, elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_copy': maildir.c:1383:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,s,MDSIZE(elt)); ^~~~~~~~~~~~~~~~~~~~~~~ sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o;ranlib c-client.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c mtest.c: In function 'main': mtest.c:120:10: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); ^~~ In file included from ../c-client/c-client.h:48:0, from mtest.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mtest.c: In function 'mm': mtest.c:162:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (cmd)) { /* dispatch based on command */ ^~~ In file included from ../c-client/c-client.h:48:0, from mtest.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mtest.c: In function 'overview_header': mtest.c:386:28: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&selt,ov->date); ^~ In file included from ../c-client/c-client.h:41:0, from mtest.c:35: ../c-client/mail.h:1752:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mtest.c: In function 'smtptest': mtest.c:809:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg->date = (char *) fs_get (1+strlen (line)); ^ mtest.c:810:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (msg->date,line); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtest.c:32: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mtest.c: In function 'prompt': mtest.c:606:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (txt, buflen-1, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtest.c: In function 'mm_login': mtest.c:720:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (user,NETMAXUSER-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/mtest' cd ipopd;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/ipopd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c ipop2d.c: In function 'main': ipop2d.c:149:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:48:0, from ipop2d.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c ipop3d.c: In function 'main': ipop3d.c:129:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next; ^~~~ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ ipop3d.c:129:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next; ^~~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ ipop3d.c:186:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/ipopd' cd imapd;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/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 imapd.c: In function 'main': imapd.c:313:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:313:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:318:16: warning: pointer targets in passing argument 1 of 'rfc822_date' differ in signedness [-Wpointer-sign] rfc822_date (tmp); /* get date/time at startup */ ^~~ In file included from ../c-client/env_unix.h:58:0, from ../c-client/osdep.h:67, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_date (char *date); ^~~~~~~~~~~ imapd.c:338:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = strchr (proxy,'\n')) != NULL) *s = '\0'; ^ imapd.c:345:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = myusername_full (&i); /* get user name and flags */ ^ imapd.c:353:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = "ANONYMOUS"; ^ imapd.c:357:22: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:357:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ imapd.c:358:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); /* set fake password */ ^ imapd.c:367:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^~~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:381:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:384:3: warning: enumeration value 'OPEN' not handled in switch [-Wswitch] switch (state) { /* do this after the banner */ ^~~~~~ imapd.c:384:3: warning: enumeration value 'LOGOUT' not handled in switch [-Wswitch] imapd.c:403:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (cmdbuf,CMDLEN,TIMEOUT); ^~~~~~ imapd.c:133:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:410:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if ((t = strchr (cmdbuf,'\012')) != NULL) { ^ imapd.c:410:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:410:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((t = strchr (cmdbuf,'\012')) != NULL) { ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:416:24: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if ((t = strchr (cmdbuf,' ')) != NULL) { ^ imapd.c:416:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:416:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((t = strchr (cmdbuf,' ')) != NULL) { ^ imapd.c:426:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,t ? (char *) cmdbuf : "*"); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:427:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:429:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!(tag = parse_tag (cmdbuf,&s))) { ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:456:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] arg = strchr (s+4,' '); /* find argument */ ^ imapd.c:456:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:456:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] arg = strchr (s+4,' '); /* find argument */ ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:460:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] arg = strchr (s,' '); /* find argument */ ^ imapd.c:460:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:460:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] arg = strchr (s,' '); /* find argument */ ^ imapd.c:466:21: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] cmd = cpystr (s); /* save current command */ ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:466:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd = cpystr (s); /* save current command */ ^ imapd.c:468:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (arg && ((i = strlen (arg)) > 3) && ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:474:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (arg + i + 1,NIL,10); ^~~ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:481:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *cl = cpystr (tcp_clienthost ()); ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:484:19: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if ((t = strchr (cl,' ')) != NULL) { ^ imapd.c:484:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:484:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((t = strchr (cl,' ')) != NULL) { ^ imapd.c:488:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else cls = strlen (cl); ^~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:491:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring(bb[i], cl + cls - bbs)) ^~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:499:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:499:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:499:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:499:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:499:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:499:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:499:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:516:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:516:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:516:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:516:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:516:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:516:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:548:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:548:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:548:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:548:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:548:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:548:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:549:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = imap_responder ("",0,NIL))) ^ imapd.c:553:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr ("ANONYMOUS"); ^ imapd.c:554:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:564:40: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign] else if ((user = cpystr (mail_auth (s,imap_responder,argc,argv))) != NULL) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1862:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]); ^~~~~~~~~ imapd.c:564:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if ((user = cpystr (mail_auth (s,imap_responder,argc,argv))) != NULL) { ^ imapd.c:565:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:575:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2); ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:575:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:578:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd = msg; ^ imapd.c:580:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] auth && compare_cstring (s,auth->name); auth = auth->next); ^~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:605:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:605:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:605:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:605:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:605:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:605:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:605:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:605:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:605:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:605:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:609:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:609:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ imapd.c:610:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:610:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ imapd.c:613:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (user,"ANONYMOUS") && ^~~~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:624:23: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if ((s = strchr (user,'*')) != NULL) *s++ ='\0'; ^ imapd.c:624:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:624:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = strchr (user,'*')) != NULL) *s++ ='\0'; ^ imapd.c:626:24: warning: pointer targets in passing argument 1 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^~~~ In file included from ../c-client/env_unix.h:58:0, from ../c-client/osdep.h:67, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^~~~~~~~~~~~ imapd.c:626:29: warning: pointer targets in passing argument 2 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^~~~ In file included from ../c-client/env_unix.h:58:0, from ../c-client/osdep.h:67, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^~~~~~~~~~~~ imapd.c:626:34: warning: pointer targets in passing argument 3 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:58:0, from ../c-client/osdep.h:67, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:640:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:640:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:640:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:640:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:640:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:640:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:640:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:640:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:640:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:640:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:653:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:653:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:653:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:653:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:653:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:654:32: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:654:32: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:654:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ imapd.c:655:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strtok_r (NIL,"\015\012",&sstate)))) ^ imapd.c:658:39: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign] mail_sequence (stream,s)) fetch (t,uid); ^ imapd.c:155:6: note: expected 'char *' but argument is of type 'unsigned char *' void fetch (char *t,unsigned long uid); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:662:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:662:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:662:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:662:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:662:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:662:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:664:32: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:664:32: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:664:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ imapd.c:665:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (v = strtok_r (NIL," ",&sstate)) && ^ imapd.c:666:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strtok_r (NIL,"\015\012",&sstate)))) response = misarg; ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:671:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:671:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:671:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:671:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:671:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:671:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:672:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen"); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:674:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++) ^ imapd.c:675:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (v) < ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:676:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:678:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:678:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:680:26: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1729:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ imapd.c:680:28: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1729:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:682:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:682:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:682:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:682:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:682:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:682:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:684:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:684:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:684:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:684:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:684:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:690:24: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1729:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ imapd.c:690:26: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1729:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:701:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:701:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:711:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:711:35: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:711:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:711:35: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:711:35: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:35: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:711:35: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:712:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:712:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:712:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:712:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:712:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:712:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:32: warning: pointer targets in passing argument 2 of 'mail_expunge_full' differ in signedness [-Wpointer-sign] mail_expunge_full (stream,arg,arg ? EX_UID : NIL); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1736:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:722:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:722:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:722:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:722:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:722:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:722:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:738:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:738:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:738:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:738:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:738:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:740:32: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:740:32: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:740:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ imapd.c:741:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (arg = strtok_r (NIL,"\015\012",&sstate)) ^ imapd.c:751:37: warning: pointer targets in passing argument 2 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1737:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^~~~~~~~~~~~~~ imapd.c:751:39: warning: pointer targets in passing argument 3 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1737:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:758:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:758:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:758:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:758:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:760:47: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:760:47: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:760:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:768:26: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(s = strtok_r (ucase (s)," ",&sstate))) response = badatt; ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:768:26: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(s = strtok_r (ucase (s)," ",&sstate))) response = badatt; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:768:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok_r (ucase (s)," ",&sstate))) response = badatt; ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:773:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:773:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:773:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:773:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:773:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:773:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:773:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:773:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:773:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:773:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:775:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok_r (NIL," ",&sstate))) { ^ imapd.c:776:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ""; /* end of attributes */ ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:780:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:780:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:780:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:780:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:780:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:780:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:780:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:780:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:780:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:780:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:781:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:781:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:781:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:781:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:781:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:781:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:782:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:782:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:782:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:782:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:782:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:782:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:784:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:784:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:784:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:784:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:784:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:784:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:785:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:785:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:785:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:785:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:785:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:785:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:786:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:786:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:786:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:786:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:786:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:786:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:788:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ((s = strtok_r (NIL," ",&sstate)) != NULL); ^ imapd.c:792:55: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg && ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:815:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:815:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:815:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:815:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:815:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:815:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:820:32: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:820:32: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:820:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ imapd.c:822:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (arg = strtok_r (NIL,"\015\012",&sstate)))) ^ imapd.c:828:37: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign] if ((thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) != NULL) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1798:13: note: expected 'char *' but argument is of type 'unsigned char *' THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset, ^~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:841:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:841:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:841:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:841:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:841:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:841:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:906:56: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if ((s = snarf (&arg)) != NULL) charset = cpystr (s); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1024:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1024:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1024:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1024:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1024:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:1024:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1025:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:1025:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1025:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:1025:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:1025:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:1025:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1029:41: warning: pointer targets in passing argument 1 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^~~ imapd.c:199:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^~~~~~~~~~ imapd.c:1029:45: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:199:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^~~~~~~~~~ imapd.c:1029:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:1029:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:1030:40: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign] DRIVER *factory = mail_valid (NIL,s,NIL); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1673:9: note: expected 'char *' but argument is of type 'unsigned char *' DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose); ^~~~~~~~~~ imapd.c:1041:31: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] (stream = mail_open (stream,s,f | OP_SILENT)) && ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^~~~~~~~~ imapd.c:1047:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = mail_fetch_text (stream,1,NIL,&i,NIL)) && ^ imapd.c:1050:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:1050:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1052:21: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if ((t = strpbrk (tmp,"\r\n")) != NULL) *t = '\0'; ^ imapd.c:1052:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1052:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((t = strpbrk (tmp,"\r\n")) != NULL) *t = '\0'; ^ imapd.c:1054:33: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) && ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^~~~~~~~~ imapd.c:1066:40: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (!factory && isnewsproxy (s)) { ^ imapd.c:200:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^~~~~~~~~~~ imapd.c:1067:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1068:35: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] stream = mail_open (stream,tmp,f); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^~~~~~~~~ imapd.c:1071:38: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] else stream = mail_open (stream,s,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^~~~~~~~~ imapd.c:1077:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"#MHINBOX")) ^~~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1079:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else lastsel = cpystr (compare_cstring (s,"INBOX") ? ^~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1098:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1098:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1098:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1098:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1098:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1098:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1098:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1108:37: warning: pointer targets in passing argument 2 of 'mail_append_multiple' differ in signedness [-Wpointer-sign] if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1741:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af, ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1123:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1123:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1123:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1123:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1123:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1123:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1129:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:1129:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:1130:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1130:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1130:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^~~ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1132:26: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,"",tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1678:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:1135:26: warning: pointer targets in passing argument 2 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1678:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:1135:28: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1678:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1141:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1141:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1141:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1141:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1141:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1141:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1141:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1141:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1141:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1141:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1147:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:1147:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:1148:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1148:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1148:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^~~ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1150:26: warning: pointer targets in passing argument 2 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1677:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^~~~~~~~~ imapd.c:1150:28: warning: pointer targets in passing argument 3 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1677:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^~~~~~~~~ imapd.c:1150:30: warning: pointer targets in passing argument 4 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1677:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1156:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1156:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1156:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1156:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1156:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1156:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1162:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:1162:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ imapd.c:1163:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1163:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1163:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^~~ imapd.c:201:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^~~~~~~~~~~~~~~~ imapd.c:1163:59: warning: pointer targets in passing argument 2 of 'newsrc_lsub' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^~~ In file included from imapd.c:37:0: ../c-client/newsrc.h:37:6: note: expected 'char *' but argument is of type 'unsigned char *' void newsrc_lsub (MAILSTREAM *stream,char *pattern); ^~~~~~~~~~~ imapd.c:1164:26: warning: pointer targets in passing argument 2 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1679:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ imapd.c:1164:28: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1679:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1171:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1171:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1171:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1171:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1171:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1171:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1171:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1171:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1171:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1171:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1173:32: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," \015\012",&sstate)) && ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:1173:32: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," \015\012",&sstate)) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:1173:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," \015\012",&sstate)) && ^ imapd.c:1175:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (arg = strtok_r (NIL,"\015\012",&sstate)) && ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1180:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:1180:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1182:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s)) { ^ imapd.c:198:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1185:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1185:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1185:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1185:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1185:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1185:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1185:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1185:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1185:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1185:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1186:27: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] mail_lsub (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1679:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1187:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1187:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ imapd.c:1187:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1187:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1187:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ imapd.c:1187:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1187:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ imapd.c:1187:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1187:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ imapd.c:1187:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1190:27: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1678:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1199:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1199:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1199:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1199:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1199:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1199:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1199:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1199:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1199:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1199:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1201:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:1201:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1201:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1207:20: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] t = strtok_r (ucase (arg)," ",&sstate); ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:1207:20: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] t = strtok_r (ucase (arg)," ",&sstate); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:1207:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok_r (ucase (arg)," ",&sstate); ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1209:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1209:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:1209:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1209:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1209:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:1209:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1209:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:1209:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1209:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:1209:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1210:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:1210:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1210:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:1210:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:1210:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:1210:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1211:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:1211:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1211:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:1211:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:1211:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:1211:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1212:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:1212:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1212:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:1212:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:1212:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:1212:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1213:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:1213:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1213:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:1213:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:1213:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:1213:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1216:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1219:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ((t = strtok_r (NIL," ",&sstate)) != NULL); ^ imapd.c:1222:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1222:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:1223:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^~~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1223:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1226:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1226:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1226:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1226:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1226:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1226:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1226:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1226:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1226:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1226:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1227:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1227:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1227:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1227:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1227:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1227:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1231:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1235:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1235:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1237:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1237:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1241:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1241:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1244:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1244:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1246:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1246:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1249:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (tmp,")\015\012"); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:1251:18: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign] pastring (s); ^ imapd.c:186:6: note: expected 'char *' but argument is of type 'unsigned char *' void pastring (char *s); ^~~~~~~~ imapd.c:1252:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1254:28: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) { ^ imapd.c:200:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^~~~~~~~~~~ imapd.c:1255:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1256:30: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] if (!mail_status (NIL,tmp,f)) response = lose; ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1686:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^~~~~~~~~~~ imapd.c:1258:33: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] else if (!mail_status (NIL,s,f)) response = lose; ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1686:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1265:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1265:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1265:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1265:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1265:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1265:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1265:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1265:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1265:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1265:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1269:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1272:31: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1680:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~ imapd.c:1274:26: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ imapd.c:200:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^~~~~~~~~~~ imapd.c:1274:49: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^~~~~~~~~~~~~ imapd.c:1275:29: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1680:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1280:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1280:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1284:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1287:28: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ imapd.c:200:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^~~~~~~~~~~ imapd.c:1287:51: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^~~~~~~~~~~~~ imapd.c:1288:33: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1681:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~~~ imapd.c:1290:31: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1681:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1295:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1295:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1295:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1295:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1295:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1295:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1295:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1295:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1295:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1295:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1346:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1346:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1346:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1346:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1346:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1346:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1346:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1346:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1346:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1346:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1349:26: warning: pointer targets in passing argument 2 of 'mail_create' differ in signedness [-Wpointer-sign] else mail_create (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1682:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_create (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1354:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1354:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1354:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1354:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1354:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1354:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1354:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1354:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1354:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1354:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1358:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1358:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1358:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1358:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1358:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1358:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1359:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1359:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1359:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1359:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1359:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1359:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1361:28: warning: pointer targets in passing argument 2 of 'mail_delete' differ in signedness [-Wpointer-sign] else mail_delete (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1683:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_delete (MAILSTREAM *stream,char *mailbox); ^~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1367:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1367:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1367:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1367:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1367:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1367:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1367:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1367:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1367:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1367:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1371:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1371:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:1372:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^~~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imapd.c:1372:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1373:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1373:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1373:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1373:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1373:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1373:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1373:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1373:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1373:31: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1373:31: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1374:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1374:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1374:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1374:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1374:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:28: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1374:28: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1376:28: warning: pointer targets in passing argument 2 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1684:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^~~~~~~~~~~ imapd.c:1376:30: warning: pointer targets in passing argument 3 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1684:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1383:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1383:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1383:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1383:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1383:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1383:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1383:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1383:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1383:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1383:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1415:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* OK Timeout in %lu minutes\015\012", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1417:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1421:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1423:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* prod client to wake up */ ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1432:10: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN,INPUTTIMEOUT); ^~~ imapd.c:133:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^~~~~ imapd.c:1443:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1444:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1446:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1448:12: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1471:17: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign] if (PSINR (tmp,i)) litplus.size -= i; ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1896:6: note: expected 'char *' but argument is of type 'unsigned char *' long PSINR (char *s,unsigned long n); ^~~~~ imapd.c:1480:9: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN,INPUTTIMEOUT); ^~~ imapd.c:133:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1482:19: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if ((t = strchr (tmp,'\012')) != NULL) { ^ imapd.c:1482:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1482:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((t = strchr (tmp,'\012')) != NULL) { ^ imapd.c:1487:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((i = strlen (tmp)) > 3) && (tmp[i - 1] == '}') && ^~~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:1493:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (tmp + i + 1,NIL,10); ^~~ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:1508:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,lstref ? "*" : tag); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1509:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* start response */ ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1512:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^~~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1515:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1516:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* start response */ ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1525:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1526:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:1529:20: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ imapd.c:1529:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1529:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ imapd.c:1528:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"[%.80sUID %lu ",(char *) ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1530:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1546:11: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (cmd); ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c:1560:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag,cmd,lasterror ()); ^~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1561:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* output response */ ^~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1899:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^~~~~ imapd.c: In function 'staint': imapd.c:1936:36: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (user) s = sout (sout (s,"."),user); ^~~~ imapd.c:131:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^~~~ imapd.c:1956:36: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] s = sout (sout (s,"\nuser="),user); ^~~~ imapd.c:131:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^~~~ imapd.c:1974:53: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (cmd) s = sout (sout (s,", last command="),cmd); ^~~ imapd.c:131:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^~~~ imapd.c:1976:37: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] else if (cmd) s = sout (sout (s,cmd)," in progress"); ^~~ imapd.c:131:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^~~~ imapd.c: In function 'parse_astring': imapd.c:2157:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) { ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:2176:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:2176:16: warning: pointer targets in passing argument 1 of 'inliteral' differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:2042:6: note: expected 'char *' but argument is of type 'unsigned char *' void inliteral (char *s,unsigned long n) ^~~~~~~~~ imapd.c:2178:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (*arg = t,CMDLEN - (t - cmdbuf),INPUTTIMEOUT); ^ imapd.c:2023:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout) ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2180:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (t,'\012')) return flush (); ^ imapd.c:2180:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2182:20: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!strtok_r (t,"\015\012",&sstate)) *t = '\0'; ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:2182:20: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!strtok_r (t,"\015\012",&sstate)) *t = '\0'; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:2184:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((i = strlen (t)) > 3) && (t[i - 1] == '}') && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:2190:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (t + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c: In function 'parse_stringlist': imapd.c:2324:51: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:2125:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^~~~~~~~~~~~~ imapd.c:2324:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:2336:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((t = *s) != '\0') { /* need to reload strtok state? */ ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c: In function 'parse_criterion': imapd.c:2407:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2407:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2407:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2407:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2423:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2423:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:2423:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2423:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2423:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:2423:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2423:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:2423:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2423:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:2423:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2424:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:2424:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2424:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:2424:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:2424:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:2424:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:2428:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:2428:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:2428:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:2428:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2430:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:2430:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2430:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:2430:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:2430:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:2430:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2432:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:2432:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2432:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:2432:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:2432:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:2432:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2436:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:2436:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2436:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:2436:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:2436:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:2436:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2440:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:2440:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2440:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:2440:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:2440:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:2440:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2441:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:2441:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2441:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:2441:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:2441:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:2441:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2444:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:2444:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2444:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:2444:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:2444:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:2444:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2445:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:2445:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2445:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:2445:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:2445:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:2445:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:2449:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:2449:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:2449:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:2449:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2453:31: warning: pointer targets in passing argument 1 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1833:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^~~~~~~~~~~~~~~~~~~~ imapd.c:2453:33: warning: pointer targets in passing argument 2 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1833:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2460:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2460:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:2460:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2460:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2460:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:2460:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2460:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:2460:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2460:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:2460:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2464:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:2464:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2464:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:2464:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:2464:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:2464:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2468:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:2468:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2468:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:2468:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:2468:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:2468:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2469:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:2469:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2469:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:2469:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:2469:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:2469:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2477:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:2477:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2477:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:2477:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:2477:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:2477:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2478:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:2478:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2478:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:2478:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:2478:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:2478:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2480:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:2480:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2480:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:2480:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:2480:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:2480:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2488:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ imapd.c:2488:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2488:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ imapd.c:2488:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ imapd.c:2488:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ imapd.c:2488:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2492:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:2492:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2492:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:2492:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:2492:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:2492:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2495:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:2495:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2495:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:2495:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:2495:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:2495:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2496:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:2496:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2496:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:2496:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:2496:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:2496:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2498:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:2498:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2498:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:2498:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:2498:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:2498:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2500:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:2500:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2500:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:2500:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:2500:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:2500:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2502:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:2502:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2502:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:2502:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:2502:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:2502:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:2504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:2504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:2504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:2504:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2506:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:2506:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2506:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:2506:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:2506:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:2506:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2510:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:2510:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2510:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:2510:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:2510:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:2510:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2512:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:2512:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2512:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:2512:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:2512:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:2512:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2517:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:2517:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2517:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:2517:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:2517:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:2517:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2526:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:2526:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2526:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:2526:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:2526:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:2526:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2527:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:2527:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2527:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:2527:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:2527:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:2527:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2528:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:2528:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2528:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:2528:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:2528:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:2528:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2529:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:2529:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2529:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:2529:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:2529:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:2529:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2530:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:2530:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2530:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:2530:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:2530:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:2530:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2532:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:2532:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2532:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:2532:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:2532:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:2532:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2535:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ imapd.c:2535:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2535:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ imapd.c:2535:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ imapd.c:2535:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ imapd.c:2535:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c: In function 'crit_string': imapd.c:2698:35: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^ imapd.c:2125:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^~~~~~~~~~~~~ imapd.c:2698:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^~~~~~~~~~~~~ imapd.c:2708:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*arg) *arg = (char *) (*string)->text.data + i; ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c: In function 'fetch_work': imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2755:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2762:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = strtok_r (t," ",&sstate)) != NULL) do { ^ imapd.c:2763:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (list && (i = strlen (s)) && (s[i-1] == ')')) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2768:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2768:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2768:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2768:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2768:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2768:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2768:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2768:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2768:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2768:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2771:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2771:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2771:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2771:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2771:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2771:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2772:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2772:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2772:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2772:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2772:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2772:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2773:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2773:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2773:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2773:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2773:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2773:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2774:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2774:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2774:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2774:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2774:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2774:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2778:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2778:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2778:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2778:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2778:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2778:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2782:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2782:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2782:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2782:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2782:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2782:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2786:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2786:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2786:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2786:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2786:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2786:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2790:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2790:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2790:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2790:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2790:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2790:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2791:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2791:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2791:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2791:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2791:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2791:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2796:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2796:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2796:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2796:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2796:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2796:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2796:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2796:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2797:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2797:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:45: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2798:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2798:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2798:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2798:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2798:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2798:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2798:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2798:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2838:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2838:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2838:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2838:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2838:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2838:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2838:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2838:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2851:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2851:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2851:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2851:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2851:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2851:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2851:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2851:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2856:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2856:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2856:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2856:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2856:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2856:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2856:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2856:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2858:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2858:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2858:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2858:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2858:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2858:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2858:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2858:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ imapd.c:2862:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*v || !(v = strtok_r (NIL,"\015\012",&sstate)) || ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2871:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2871:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2871:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2871:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2871:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2871:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2871:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2871:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ imapd.c:2894:48: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] !(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) || ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:2896:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) && ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:2905:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sstate = v + 1; /* reset strtok mechanism */ ^ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:2913:14: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] strtok_r (v," ",&sstate); ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:2913:14: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] strtok_r (v," ",&sstate); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:2924:42: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s && *s) ta->section = cpystr (s); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:2931:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ((s = strtok_r (NIL," ",&sstate)) && (k < MAXFETCH) && list); ^ imapd.c: In function 'fetch_body_part_binary': imapd.c:3070:38: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] BODY *body = mail_body (stream,i,ta->section); ^~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1748:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ imapd.c: In function 'fetch_rfc822_text': imapd.c:3427:9: warning: unused variable 'f' [-Wunused-variable] int f = mail_elt (stream,i)->seen; ^ imapd.c: In function 'penv': imapd.c:3444:15: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign] pnstring (env->date); /* output envelope fields */ ^~~ imapd.c:185:6: note: expected 'char *' but argument is of type 'unsigned char *' void pnstring (char *s); ^~~~~~~~ imapd.c: In function 'nameok': imapd.c:3984:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3984:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3993:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3993:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c: In function 'proxycopy': imapd.c:4139:28: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^~~~~~~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1819:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ imapd.c:4139:62: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^~~~~~~~ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1818:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ imapd.c: In function 'append_msg': imapd.c:4248:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = ++arg; /* pointer to flag list contents */ ^ imapd.c:4255:47: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (*arg == '"') *date = ad->date = cpystr (snarf (&arg)); ^~~~~ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imapd.c:4260:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (arg+1,&t,10))) ^~~ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c:4268:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf),INPUTTIMEOUT); ^~ imapd.c:2023:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout) ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: imapd.c:4269:17: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr (ad->arg,'\012')) { ^ imapd.c:4269:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:4271:22: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!strtok_r (ad->arg,"\015\012",&sstate)) *ad->arg = '\0'; ^ /usr/include/bits/string2.h:195:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^~~~~~~~~~~~~ imapd.c:4271:22: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!strtok_r (ad->arg,"\015\012",&sstate)) *ad->arg = '\0'; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:349:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^~~~~~~~~~ imapd.c:4273:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') && ^~ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imapd.c:4279:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (ad->arg + j + 1,NIL,10); ^~ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:148:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imapd.c: In function 'mm_login': imapd.c:4649:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (password,pass,256); /* and password */ ^~~~ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/imapd' cd mailutil;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c mailutil.c: In function 'mailutil_string_sequence': mailutil.c:461:16: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE elt; ^~~ mailutil.c:459:23: warning: unused variable 'count' [-Wunused-variable] unsigned long i, j, count; ^~~~~ mailutil.c: In function 'mailutil_dedup': mailutil.c:529:6: warning: variable 'done' set but not used [-Wunused-but-set-variable] int done; ^~~~ mailutil.c: In function 'prune_criteria': mailutil.c:609:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^~~~~~~~~ In file included from ../c-client/c-client.h:48:0, from mailutil.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ mailutil.c: In function 'mbxcopy': mailutil.c:750:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (tmp,MAILTMPLEN-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailutil.c: In function 'mm_login': mailutil.c:1049:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (username,NETMAXUSER-1,stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/mailutil' cd mlock;make || true make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:62:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (1,"?",1); /* indicate "impossible" failure */ ^~~~~~~~~~~~~~~ mlock.c: In function 'main': mlock.c:96:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir (dir); ^~~~~~~~~~~ mlock.c:165:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (1,"-",1); /* hard failure */ ^~~~~~~~~~~~~~~ mlock.c:170:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (1,"+",1); /* indicate that all is well */ ^~~~~~~~~~~~~~~ mlock.c:171:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (0,tmp,1); /* read continue signal from parent */ ^~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/mlock' cd dmail;make || true make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c dmail.c: In function 'deliver': dmail.c:230:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!*mailbox || !compare_cstring ((unsigned char *) mailbox,"INBOX")) ^~~~~~~ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c: In function 'mm_notify': dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from dmail.c:35: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from dmail.c:35: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:35: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from dmail.c:35: dmail.c:566:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:16: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c: In function 'file_string_setpos': dmail.c:122:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmail.c: In function 'delivery_unsafe': dmail.c:443:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/dmail' cd tmail;make || true make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c tmail.c: In function 'main': tmail.c:164:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (format->name,"dummy")) ^~~~~~ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tmail.c:164:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (format->name,"dummy")) ^~~~~~~ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ tmail.c: In function 'getusername': tmail.c:609:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!**t || !compare_cstring ((unsigned char *) *t,"INBOX")) *t = NIL; ^~~~~~~ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c: In function 'mm_notify': tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from tmail.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:706:16: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from tmail.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:706:16: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:706:16: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ In file included from /usr/include/string.h:630:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from tmail.c:34: tmail.c:706:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:706:16: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c: In function 'file_string_setpos': tmail.c:122:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmail.c: In function 'delivery_unsafe': tmail.c:562:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/tmail' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap' /usr/bin/make all-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.21' Making all in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/m4' Making all in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/po' Making all in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o help_h_gen.o help_h_gen.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o help_c_gen.o help_c_gen.c /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -L/usr/lib -Wl,-z,relro -o help_h_gen help_h_gen.o /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -L/usr/lib -Wl,-z,relro -o help_c_gen help_c_gen.o libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o help_h_gen help_h_gen.o -L/usr/lib -pthread ./help_h_gen < pine.hlp > helptext.h libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o help_c_gen help_c_gen.o -L/usr/lib -pthread ./help_c_gen < pine.hlp > helptext.c /usr/bin/make all-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith' Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o bldpath.o bldpath.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o canaccess.o canaccess.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o canonicl.o canonicl.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o collate.o collate.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o color.o color.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o coredump.o coredump.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o creatdir.o creatdir.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o debugtime.o debugtime.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o domnames.o domnames.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o err_desc.o err_desc.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o fgetpos.o fgetpos.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o filesize.o filesize.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o fnexpand.o fnexpand.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o hostname.o hostname.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o lstcmpnt.o lstcmpnt.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mimedisp.o mimedisp.c fgetpos.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: fgetpos.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pipe.o pipe.c coredump.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: coredump.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ creatdir.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: creatdir.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ domnames.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: domnames.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $"; ^~~~~ canaccess.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: canaccess.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ debugtime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: debugtime.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; ^~~~~ collate.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: collate.c 766 2007-10-23 23:59:00Z hubert@u.washington.edu $"; ^~~~~ bldpath.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: bldpath.c 934 2008-02-23 00:44:29Z hubert@u.washington.edu $"; ^~~~~ color.c: In function 'word_is_prog': color.c:206:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = 0; rv == 0 && list1[i] && (k = strlen(list1[i])) && k < j; i++) ^~~ color.c:210:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(rv) ^~ color.c: In function 'qs_add': color.c:242:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ hostname.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: hostname.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $"; ^~~~~ color.c: In function 'qs_remove_trailing_spaces': color.c:300:14: warning: unused variable 'rl' [-Wunused-variable] QSTRING_S *rl = cl; ^~ lstcmpnt.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: lstcmpnt.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ mimedisp.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mimedisp.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; ^~~~~ fnexpand.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: fnexpand.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ color.c: In function 'fix_qstring': color.c:436:47: warning: unused variable 'pqstring' [-Wunused-variable] QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; ^~~~~~~~ color.c:436:31: warning: unused variable 'nqstring' [-Wunused-variable] QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; ^~~~~~~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pw_stuff.o pw_stuff.c filesize.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: filesize.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ color.c: In function 'is_quote': color.c:779:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = i; (is_cletter(nxt = next(word,j)) || is_cnumber(nxt)) ^~~ color.c:791:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (isaword(word,i,j) || isamailbox(word,i,j)){ ^~ color.c: In function 'isaword': color.c:839:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return i <= j && is_cletter(word[i]) ? ^ color.c: In function 'do_raw_quote_match': color.c:939:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (pl && value_is_space(pbuf)) && !PLine[strlen(pbuf)]) ? 1 : 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ color.c:921:39: warning: unused variable 'buf' [-Wunused-variable] char nbuf[NSTRING], pbuf[NSTRING], buf[NSTRING]; ^~~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o rename.o rename.c color.c: In function 'do_quote_match': color.c:1018:11: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] c = buf && buf[0] ? strlen(buf) : 0; ^~~ color.c:1019:10: warning: the address of 'nbuf' will always evaluate as 'true' [-Waddress] n = nbuf && nbuf[0] ? strlen(nbuf) : 0; ^~~~ color.c:1020:10: warning: the address of 'pbuf' will always evaluate as 'true' [-Waddress] p = pbuf && pbuf[0] ? strlen(pbuf) : 0; ^~~~ color.c:1057:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = clength; i < c && ISspace(GLine[i]); i++); ^~~ color.c:1058:16: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (i == c) /* Padded CLine until the end of spaces? */ ^~ color.c:1111:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = 0; (j < p) && (GLine[j] == PLine[j]); j++); ^~~ color.c:1112:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if ((p != c || j != p) && NLine[n]) ^~ color.c: In function 'is_indent': color.c:1202:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case ' ' : for (; ISspace(word[i]); i++); ^~~ color.c:1203:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if (!is_indent_char(now(word,i))) ^~ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o tempfile.o tempfile.c color.c:117:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ((c) == '-' ) && \ ^ color.c:1252:31: note: in expansion of macro 'allowed_after_digit' if(allowed_after_digit(now(word,k),word,k)){ ^~~~~~~~~~~~~~~~~~~ color.c:1191:34: warning: unused variable 'digit' [-Wunused-variable] int i = 0, finished = 0, j, k, digit = 0, bdigits = -1, alpha = 0; ^~~~~ color.c: In function 'add_allowed_qstr': color.c:1319:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o temp_nam.o temp_nam.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o writ_dir.o writ_dir.c color.c: In function 'fix_qstring': color.c:573:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: color.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: color.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ canonicl.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: canonicl.c 764 2007-10-23 23:44:49Z hubert@u.washington.edu $"; ^~~~~ err_desc.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: err_desc.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ pipe.c: In function 'open_system_pipe': pipe.c:323:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); /* alloc pipe to write child */ ^~~~~~~ pipe.c:329:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); /* alloc pipe to read child */ ^~~~~~~ At top level: pipe.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pipe.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; ^~~~~ pw_stuff.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pw_stuff.c 763 2007-10-23 23:37:34Z hubert@u.washington.edu $"; ^~~~~ writ_dir.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: writ_dir.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ tempfile.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: tempfile.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ rename.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: rename.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ temp_nam.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: temp_nam.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ temp_nam.c: In function 'temp_nam_ext': temp_nam.c:328:44: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] if(prefix && (ll = strlen(prefix)) && l+ll < MAXPATH){ ~^~~ rm -f libpithosd.a /usr/bin/ar cru libpithosd.a bldpath.o canaccess.o canonicl.o collate.o color.o coredump.o creatdir.o debugtime.o domnames.o err_desc.o fgetpos.o filesize.o fnexpand.o hostname.o lstcmpnt.o mimedisp.o pipe.o pw_stuff.o rename.o tempfile.o temp_nam.o writ_dir.o ranlib libpithosd.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith/osdep' Making all in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith/charconv' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o filesys.o filesys.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o utf8.o utf8.c utf8.c: In function 'utf8_snprintf': utf8.c:1281:47: warning: variable 'modifier' set but not used [-Wunused-but-set-variable] int min_field_width, field_precision, modifier; ^~~~~~~~ utf8.c:1274:13: warning: variable 'start_of_specifier' set but not used [-Wunused-but-set-variable] char *start_of_specifier; ^~~~~~~~~~~~~~~~~~ filesys.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: filesys.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; ^~~~~ At top level: utf8.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: utf8.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $"; ^~~~~ utf8.c: In function 'convert_to_utf8': utf8.c:252:28: warning: 'cs' may be used uninitialized in this function [-Wmaybe-uninitialized] fcharset = cs ? cs->name : NULL; ^ rm -f libpithcc.a /usr/bin/ar cru libpithcc.a filesys.o utf8.o ranlib libpithcc.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o ablookup.o ablookup.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o abdlc.o abdlc.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o addrbook.o addrbook.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o addrstring.o addrstring.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o adrbklib.o adrbklib.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o bldaddr.o bldaddr.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o charset.o charset.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o color.o color.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o conf.o conf.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o context.o context.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o copyaddr.o copyaddr.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o detoken.o detoken.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o detach.o detach.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o editorial.o editorial.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o escapes.o escapes.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o filter.o filter.c escapes.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: escapes.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o flag.o flag.c editorial.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: editorial.c 768 2007-10-24 00:10:03Z hubert@u.washington.edu $"; ^~~~~ adrbklib.c: In function 'copy_abook_to_tempfile': adrbklib.c:462:12: warning: variable 'mtime' set but not used [-Wunused-but-set-variable] time_t mtime; ^~~~~ adrbklib.c:456:12: warning: variable 'got_it' set but not used [-Wunused-but-set-variable] int got_it, fd, c, ^~~~~~ charset.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: charset.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; ^~~~~ context.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: context.c 1144 2008-08-14 16:53:34Z hubert@u.washington.edu $"; ^~~~~ copyaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: copyaddr.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ detach.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: detach.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ abdlc.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: abdlc.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ In file included from bldaddr.c:39:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ bldaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: bldaddr.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ ablookup.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: ablookup.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ color.c: In function 'color_a_quote': color.c:161:25: warning: unused variable 'j' [-Wunused-variable] int countem = 0, i, j = 0; ^ At top level: color.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ addrbook.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: addrbook.c 90 2006-07-19 22:30:36Z hubert@u.washington.edu $"; ^~~~~ conf.c: In function 'init_pinerc': conf.c:1045:36: warning: unused variable 'db' [-Wunused-variable] char buf[MAXPATH+1], *p, *db; ^~ addrstring.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: addrstring.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o folder.o folder.c filter.c: In function 'gf_terminal': filter.c:168:24: warning: unused variable 'eib' [-Wunused-variable] #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL ^ filter.c:180:19: note: in expansion of macro 'GF_EIB_INIT' unsigned char *GF_EIB_INIT(FO); ^~~~~~~~~~~ filter.c:895:2: note: in expansion of macro 'GF_INIT' GF_INIT(f, f); ^~~~~~~ filter.c:166:23: warning: unused variable 'ip' [-Wunused-variable] #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL ^ filter.c:179:19: note: in expansion of macro 'GF_IP_INIT' unsigned char *GF_IP_INIT(FO); \ ^~~~~~~~~~ filter.c:895:2: note: in expansion of macro 'GF_INIT' GF_INIT(f, f); ^~~~~~~ filter.c: In function 'gf_pipe': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:972:2: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL ^ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ ^~~~~~~~~~ filter.c:972:2: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c: In function 'gf_filter_puts': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:1162:5: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c: In function 'gf_filter_eod': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:1188:5: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL ^ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ ^~~~~~~~~~ filter.c:1188:5: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ In file included from detoken.c:28:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ detoken.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: detoken.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o handle.o handle.c bldaddr.c: In function 'expand_address': bldaddr.c:877:19: warning: 'adr2' may be used uninitialized in this function [-Wmaybe-uninitialized] if(adr2 == NULL){ ^ conf.c: In function 'write_pinerc': conf.c:5664:18: warning: unused variable 'slink' [-Wunused-variable] char *slink = NULL; ^~~~~ In file included from flag.c:30:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ flag.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: flag.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ At top level: adrbklib.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: adrbklib.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o help.o help.c flag.c: In function 'flag_search': flag.c:344:16: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->sequence = 0; ~~~~~~~~~~~~~^~~ handle.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: handle.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ detoken.c: In function 'detoken_src': detoken.c:160:11: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] char *ret, *str1, *str2; ^~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o helpindx.o helpindx.c In file included from conf.c:32:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ conf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: conf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o hist.o hist.c charset.c: In function 'conversion_table': charset.c:841:6: warning: 'fc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(fc < 256) ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o icache.o icache.c folder.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: folder.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o imap.o imap.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o init.o init.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o keyword.o keyword.c filter.c: In function 'gf_html2plain': filter.c:168:24: warning: unused variable 'eib' [-Wunused-variable] #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL ^ filter.c:180:19: note: in expansion of macro 'GF_EIB_INIT' unsigned char *GF_EIB_INIT(FO); ^~~~~~~~~~~ filter.c:7909:2: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ filter.c:166:23: warning: unused variable 'ip' [-Wunused-variable] #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL ^ filter.c:179:19: note: in expansion of macro 'GF_IP_INIT' unsigned char *GF_IP_INIT(FO); \ ^~~~~~~~~~ filter.c:7909:2: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o ldap.o ldap.c helpindx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: helpindx.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ filter.c: In function 'html_write': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:8896:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL ^ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ ^~~~~~~~~~ filter.c:8896:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ filter.c: In function 'html_putc': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:8968:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL ^ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ ^~~~~~~~~~ filter.c:8968:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ help.c: In function 'get_alpine_revision_string': help.c:65:8: warning: the address of 'h_revision' will always evaluate as 'true' [-Waddress] if(h_revision && h_revision[0] && h_revision[0][0]){ ^~~~~~~~~~ help.c: In function 'get_alpine_revision_number': help.c:110:8: warning: the address of 'h_revision' will always evaluate as 'true' [-Waddress] if(h_revision && h_revision[0] && h_revision[0][0]){ ^~~~~~~~~~ At top level: help.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: help.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $"; ^~~~~ hist.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: hist.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; ^~~~~ imap.c: In function 'mm_dlog': imap.c:539:11: warning: unused variable 'more' [-Wunused-variable] int more = 1; ^~~~ imap.c:538:32: warning: unused variable 'continued' [-Wunused-variable] char *p, *q = NULL, save, *continued; ^~~~~~~~~ imap.c:538:25: warning: unused variable 'save' [-Wunused-variable] char *p, *q = NULL, save, *continued; ^~~~ imap.c:538:15: warning: unused variable 'q' [-Wunused-variable] char *p, *q = NULL, save, *continued; ^ imap.c:538:11: warning: unused variable 'p' [-Wunused-variable] char *p, *q = NULL, save, *continued; ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o list.o list.c icache.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: icache.c 874 2007-12-15 02:51:06Z hubert@u.washington.edu $"; ^~~~~ filter.c: In function 'gf_quote_test': filter.c:11367:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SECOND_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~~ filter.c:11370:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] FIRST_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~ filter.c:11382:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SECOND_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~~ In file included from imap.c:32:0: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ imap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: imap.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ filter.c:11385:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] FIRST_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~ filter.c:11394:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] GF_ADD_QUOTED_LINE(f, line+i); ^~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailcap.o mailcap.c keyword.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: keyword.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; ^~~~~ init.c: In function 'prune_move_folder': init.c:531:25: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] pretty_fn(spath ? spath : "?")); ^ init.c:537:43: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] pretty_fn(spath ? spath : "?"), ^ At top level: init.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: init.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailcmd.o mailcmd.c keyword.c: In function 'initial_to_keyword': keyword.c:171:8: warning: 'kwinit' may be used uninitialized in this function [-Wmaybe-uninitialized] if(kwinit == init){ ^ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailindx.o mailindx.c ldap.c: In function 'ldap_lookup': ldap.c:638:11: warning: the address of 'pwd' will always evaluate as 'true' [-Waddress] if(pwd && pwd[0]) ^~~ ldap.c:638:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(pwd && pwd[0]) ^~ filter.c: In function 'html_element_comment': ldap.c:643:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' passwd.bv_val = pwd; ^~~~~~ filter.c:7732:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(p = buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o maillist.o maillist.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailview.o mailview.c list.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: list.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ At top level: ldap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: ldap.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; ^~~~~ mailcap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailcap.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ At top level: filter.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: filter.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o margin.o margin.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mimedesc.o mimedesc.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mimetype.o mimetype.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o msgno.o msgno.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o newmail.o newmail.c mailindx.c: In function 'reset_index_format': mailindx.c:385:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule = get_rule_result(FOR_INDEX, ps_global->cur_folder, V_INDEX_RULES)){ ^~ mailcmd.c: In function 'do_broach_folder': mailcmd.c:402:32: warning: unused variable 'n' [-Wunused-variable] do_reopen = 0, n, was_dead = 0, cur_already_set = 0; ^ mailindx.c: In function 'build_header_work': mailindx.c:1660:20: warning: unused variable 'branch' [-Wunused-variable] unsigned long branch; ^~~~~~ mailcmd.c: In function 'agg_text_select': mailcmd.c:2240:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!mepgm) ^~ mailcmd.c:2348:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' srchpgm->msgno = (limitsrch ? *limitsrch : NULL); ^~~~~~~ mailcmd.c: In function 'move_read_msgs_using_rules': mailcmd.c:2699:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] msgmap, SV_DELETE | SV_FIX_DELS)) ^~~~~~ mailcmd.c: In function 'setup_threading_index_style': mailcmd.c:2788:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i = 0; v = thread_index_styles(i); i++) ^~~ mailcmd.c: In function 'get_perfolder_startup_rule': mailcmd.c:2814:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i = 0; v = incoming_startup_rules(i); i++) ^~~ maillist.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: maillist.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ mailindx.c: In function 'fetch_firsttext': mailindx.c:3942:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] buf, PROCESS_SP, idata, 4)){ ^~~ mailindx.c:3937:18: warning: unused variable 'env' [-Wunused-variable] ENVELOPE *env; ^~~ margin.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: margin.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; ^~~~~ In file included from mailcmd.c:42:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.c:20:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailcmd.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ mailindx.c: In function 'date_str': mailindx.c:5041:32: warning: variable 'ampm' set but not used [-Wunused-but-set-variable] char dbuf[200], *Ddd, *ampm; ^~~~ mailindx.c: In function 'subj_str': mailindx.c:5582:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule_result = find_value("_SUBJECT_", origsubj, PROCESS_SP, idata, 4)){ ^~ mailindx.c:5526:52: warning: unused variable 'i' [-Wunused-variable] int depth = 0, mult = 2, collapsed, i, we_clear = 0; ^ mailindx.c:5526:41: warning: unused variable 'collapsed' [-Wunused-variable] int depth = 0, mult = 2, collapsed, i, we_clear = 0; ^~~~~~~~~ newmail.c: In function 'new_mail': newmail.c:79:19: warning: variable 'last_check_point_call' set but not used [-Wunused-but-set-variable] static time_t last_check_point_call = 0; ^~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o news.o news.c newmail.c: In function 'check_point': newmail.c:791:18: warning: variable 'then' set but not used [-Wunused-but-set-variable] time_t now, then; ^~~~ newmail.c:791:13: warning: variable 'now' set but not used [-Wunused-but-set-variable] time_t now, then; ^~~ mailview.c: In function 'color_signature': mailview.c:1135:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p = strchr(tmp_20k_buf, '\015')) *p = '\0'; ^~ mailview.c:1150:9: warning: the address of 'buf2' will always evaluate as 'true' [-Waddress] i = buf2 && buf2[0] ? strlen(buf2) : 0; ^~~~ mailindx.c: In function 'from_str': mailindx.c:6405:24: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ^ mailindx.c:6405:26: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ^ mailindx.c:6418:25: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "To: %-*.*s", strsize-1-4, ^ mailview.c:1122:15: warning: unused variable 'q' [-Wunused-variable] char *p, *q; ^ mailindx.c:6418:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "To: %-*.*s", strsize-1-4, ^ mimetype.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mimetype.c 955 2008-03-06 23:52:36Z hubert@u.washington.edu $"; ^~~~~ mailindx.c:6421:23: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ^ mailindx.c:6421:25: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ^ mailindx.c:6442:19: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, rule_result); ^ mailindx.c:6442:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, rule_result); ^ At top level: newmail.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: newmail.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ mailview.c: In function 'incomplete_url': mailview.c:1564:15: warning: unused variable 'len' [-Wunused-variable] int rv = 0, len; ^~~ mailview.c: In function 'url_hilite': mailview.c:1603:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((uh && uh->handlesp && ((h = *(uh->handlesp)) == NULL) || h->key == 0) || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailindx.c: In function 'setup_threading_display_style': mailindx.c:6753:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i = 0; v = thread_disp_styles(i); i++) ^~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pattern.o pattern.c mailindx.c: In function 'find_value': mailindx.c:6781:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule = get_rulelist_from_code(V_REPLACE_RULES, ps_global->rule_list)){ ^~ ldap.c: In function 'ldap_lookup': ldap.c:1138:32: warning: 'srch_res' may be used uninitialized in this function [-Wmaybe-uninitialized] wp_err->ldap_errno = srch_res; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pipe.o pipe.c mailview.c: In function 'remove_spaces_ival': mailview.c:2879:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; isspace((unsigned char) p[ival->end - i - 1]); i++); ^~~ mailview.c:2880:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' ival->end -= i; ^~~~ mailview.c: In function 'color_this_text': mailview.c:2910:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = any_color_in_string(p)){ ^~ mailview.c:2892:18: warning: unused variable 'pattern' [-Wunused-variable] static char *pattern = NULL; ^~~~~~~ mimedesc.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mimedesc.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ In file included from mailindx.c:44:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailindx.c:28:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailindx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailindx.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ msgno.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: msgno.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; ^~~~~ At top level: mailview.c:2892:18: warning: 'pattern' defined but not used [-Wunused-variable] In file included from mailview.c:39:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o readfile.o readfile.c news.c: In function 'news_grouper': news.c:214:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(no_servers == 0) ^~ news.c:222:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' for(server = ps_global->VAR_NNTP_SERVER; ^~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o remote.o remote.c At top level: news.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: news.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ pipe.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pipe.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ conf.c: In function 'read_pinerc': conf.c:5509:22: warning: 'lvalue' may be used uninitialized in this function [-Wmaybe-uninitialized] v->fixed_val.l = lvalue; ~~~~~~~~~~~~~~~^~~~~~~~ conf.c:5374:13: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] && !expand_variables(tmp_20k_buf, SIZEOF_20KBUF, value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (v == &ps_global->vars[V_MAILCAP_PATH] || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v == &ps_global->vars[V_MIMETYPE_PATH])))){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:5553:28: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] prc->pinerc_written = name_file_mtime(filename); ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o reply.o reply.c news.c: In function 'news_grouper': news.c:330:8: warning: 'cnt_errs' may be used uninitialized in this function [-Wmaybe-uninitialized] if(--cnt_errs > 0 && (ep - ng_error < sizeof(ng_error)-3)){ ^ news.c:327:23: warning: 'ep' may be used uninitialized in this function [-Wmaybe-uninitialized] while(*p2 && (ep - ng_error < sizeof(ng_error)-1)) ~~~^~~~~~~~~~ msgno.c: In function 'msgno_exceptions': msgno.c:676:3: warning: 'partp' may be used uninitialized in this function [-Wmaybe-uninitialized] (*partp)->next = NULL; ~^~~~~~~ msgno.c:669:13: warning: 'peltp' may be used uninitialized in this function [-Wmaybe-uninitialized] *peltp = (PINELT_S *) fs_get(sizeof(PINELT_S)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readfile.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: readfile.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o rfc2231.o rfc2231.c folder.c: In function 'get_recent_in_folder': folder.c:2600:9: warning: 'nw' may be used uninitialized in this function [-Wmaybe-uninitialized] *new = nw; ~~~~~^~~~ folder.c:2606:11: warning: 'tot' may be used uninitialized in this function [-Wmaybe-uninitialized] *total = tot; ~~~~~~~^~~~~ folder.c:2603:12: warning: 'uns' may be used uninitialized in this function [-Wmaybe-uninitialized] *unseen = uns; ~~~~~~~~^~~~~ remote.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: remote.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ conf.c: In function 'write_pinerc': conf.c:6019:19: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] if((var->is_list && (!lval || (!lval[0] && !var->global_val.l))) || ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:6020:20: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] (!var->is_list && !pval)){ ~~~~~~~~~~~~~~~^~~~~~~~~ conf.c:5781:8: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] mtime = name_file_mtime(filename); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o rules.o rules.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o save.o save.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o search.o search.c mailcmd.c: In function 'agg_text_select': mailcmd.c:2400:21: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->searched = T; gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o sequence.o sequence.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o send.o send.c pattern.c: In function 'parse_pat_file': pattern.c:1001:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, BUF_SIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c: In function 'get_reply_data': reply.c:1886:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (env) ^~ reply.c:1888:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' break; ^~~~~ search.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: search.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; ^~~~~ reply.c: In function 'forward_subject': reply.c:2463:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule = get_result_rule(V_FORWARD_RULES,FOR_COMPOSE, env)){ ^~ rfc2231.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: rfc2231.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ In file included from pattern.c:30:0: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o sort.o sort.c pattern.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pattern.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; ^~~~~ reply.c: In function 'forward_multi_alt_mixed': reply.c:3879:11: warning: unused variable 'new_charset' [-Wunused-variable] char *new_charset = NULL; ^~~~~~~~~~~ rules.c: In function 'context_for_function': rules.c:168:10: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ In file included from reply.c:51:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from reply.c:47:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ reply.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ rules.c: In function 'parse_patterns_into_action': rules.c:297:15: warning: unused variable 'preg' [-Wunused-variable] regex_t preg; ^~~~ rules.c: In function 'isolate_condition': rules.c:318:48: warning: unused variable 'l' [-Wunused-variable] int done = 0, error = 0, next_condition = 0, l; ^ rules.c: In function 'parse_group_data': rules.c:382:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = advance_to_char(d,';', STRICTLY, &offset)){ ^~ rules.c:386:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (p = advance_to_char(d,'}', STRICTLY, NULL)) ^~~~ rules.c: In function 'canonicalize_condition': rules.c:496:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case '_' : for(s = p+1; *s >= 'A' && *s <= 'Z'; s++); ^~~ rules.c:497:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for(i = 0; token_rules[i] != NULL; i++) ^~~ rules.c:542:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] case '&': if(*(p+1) = *p){ ^~~~ rules.c:470:27: warning: unused variable 'c' [-Wunused-variable] char *p = data, *s, *t, c; ^ rules.c: In function 'sanity_check_condition': rules.c:588:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] case ')': if(i == 0 || d[i+1] != '\0' && (d[i+1] == 'C' || d[i+1] == '(')) ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rules.c: In function 'fill_condition': rules.c:613:16: warning: unused variable 'cvalue' [-Wunused-variable] CONDVALUE_S *cvalue; ^~~~~~ rules.c:611:13: warning: variable 't' set but not used [-Wunused-but-set-variable] char *s, *t, *u; ^ rules.c: In function 'get_rule_list': rules.c:787:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule = parse_rule(list[i], context)){ ^~ rules.c: In function 'add_rule': rules.c:824:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (trulelist->rlist = get_rule_list(list, context, 0)) ^~ rules.c:819:40: warning: unused variable 'orulelist' [-Wunused-variable] PRULELIST_S *prulelist, *trulelist, *orulelist; ^~~~~~~~~ rules.c:819:16: warning: unused variable 'prulelist' [-Wunused-variable] PRULELIST_S *prulelist, *trulelist, *orulelist; ^~~~~~~~~ rules.c: In function 'test_rule': rules.c:901:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = process_rule(rlist->prule, ctxt, env)) ^~ rules.c: In function 'free_parsed_value': rules.c:1038:17: warning: unused variable 'tval' [-Wunused-variable] TOKEN_VALUE *tval = NULL; ^~~~ rules.c: In function 'test_condition_work': rules.c:1073:8: warning: case value '41' not in enumerated type 'CondType {aka enum }' [-Wswitch] case ')': return rv; ^~~~ rules.c: In function 'do_trim': rules.c:1224:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(begin_text = strstr(test+offset,tval->testxt)){ ^~~~~ rules.c: In function 'trim': rules.c:1240:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (test = detoken_src(taction->token, context, env, NULL, NULL, NULL)) ^~ rules.c:1237:6: warning: unused variable 'offset' [-Wunused-variable] int offset; ^~~~~~ rules.c:1235:8: warning: unused variable 'begin_text' [-Wunused-variable] char *begin_text, *test; ^~~~~~~~~~ rules.c: In function 'exec_fcn': rules.c:1385:15: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] rv = cpystr(output_so->dp); ^~~~~~~~~ In file included from ../pith/headers.h:31:0, from rules.c:12: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ rules.c: In function 'rules_fetchenvelope': rules.c:1408:28: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] env->date = cpystr((unsigned char *) idata->date); ^ In file included from ../pith/headers.h:31:0, from rules.c:12: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ rules.c:1408:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] env->date = cpystr((unsigned char *) idata->date); ^ In file included from rules.c:17:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o state.o state.c In file included from save.c:29:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ save.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: save.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; ^~~~~ sequence.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: sequence.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ send.c: In function 'pine_new_env': send.c:1207:18: warning: the address of 'pf_template' will always evaluate as 'true' [-Waddress] for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) ^~~~~~~~~~~ send.c: In function 'pine_free_env': send.c:1470:15: warning: the address of 'pf_template' will always evaluate as 'true' [-Waddress] for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) ^~~~~~~~~~~ save.c: In function 'save_get_fldr_from_env': save.c:290:6: warning: 'bufp' may be used uninitialized in this function [-Wmaybe-uninitialized] istrncpy(fbuf, bufp, nfbuf - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o status.o status.c mailcmd.c: In function 'expunge_and_close': mailcmd.c:1329:14: warning: 'seen_not_del' may be used uninitialized in this function [-Wmaybe-uninitialized] && (*pith_opt_read_msg_prompt)(seen_not_del, VAR_READ_MESSAGE_FOLDER))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sort.c:33:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ sort.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: sort.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ send.c: In function 'post_handoff': send.c:5667:19: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if(s = strstr(header->env->date," (")) /* fix the date format for news */ ^~~~~~ In file included from ../include/system.h:45:0, from ../pith/headers.h:25, from send.c:19: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ send.c:5667:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s = strstr(header->env->date," (")) /* fix the date format for news */ ^~ send.c:5670:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(err = mta_parse_post(header, body, SENDNEWS, errbuf, errbuflen, bigresult_f, pipecb_f)){ ^~ In file included from send.c:47:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ send.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: send.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; ^~~~~ status.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: status.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ In file included from state.c:36:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ state.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: state.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o store.o store.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o stream.o stream.c conf.c: In function 'set_variable': conf.c:6567:39: warning: 'prc' may be used uninitialized in this function [-Wmaybe-uninitialized] prc->outstanding_pinerc_changes = 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ conf.c: In function 'set_variable_list': conf.c:6633:39: warning: 'prc' may be used uninitialized in this function [-Wmaybe-uninitialized] prc->outstanding_pinerc_changes = 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o string.o string.c store.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: store.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o strlst.o strlst.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o takeaddr.o takeaddr.c save.c: In function 'save': save.c:637:9: warning: 'dummy_msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] mail_flag(dstn_stream, ulong2string(dummy_msgno), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flags, ST_SET | ST_SILENT); ~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:670:5: warning: 'au' may be used uninitialized in this function [-Wmaybe-uninitialized] mail_parameters(NIL, SET_APPENDUID, (void *) au); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:570:35: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] fs_resize((void **) &flags, (len+1) * sizeof(char)); ~~~~^~~ pattern.c: In function 'parse_action_slash': pattern.c:1805:11: warning: 'save' may be used uninitialized in this function [-Wmaybe-uninitialized] *(p+1) = save; ~~~~~~~^~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o tempfile.o tempfile.c mailview.c: In function 'format_addr_string': mailview.c:3065:20: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] addr->mailbox = mtmp; ~~~~~~~~~~~~~~^~~~~~ string.c: In function 'collspaces': string.c:149:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(*string = *p++) ^~~~~ strlst.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: strlst.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ string.c: In function 'repeat_char': string.c:1424:11: warning: variable 'b' set but not used [-Wunused-but-set-variable] char *b; ^ string.c: In function 'fold': string.c:1618:45: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] for(i = starting_point; winner == -1 && i <= strlen(next_piece) != '\0' && i < 512; i++){ ~~^~~~~~~~~~~~~~~~~~~~~ In file included from stream.c:37:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ stream.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: stream.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o text.o text.c At top level: string.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: string.c 910 2008-01-14 22:28:38Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o thread.o thread.c tempfile.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: tempfile.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; ^~~~~ reply.c: In function 'get_reply_data': reply.c:1918:30: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->deleted ? "D" : "" ); ^ takeaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: takeaddr.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o adjtime.o adjtime.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o url.o url.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o util.o util.c gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o helptext.o helptext.c text.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: text.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ thread.c: In function 'set_flags_for_thread': thread.c:112:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream,thrd)){ ^~ thread.c:119:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream, thrd)){ ^~ thread.c: In function 'sort_thread_callback': thread.c:167:32: warning: unused variable 'branch' [-Wunused-variable] long raw_current, branch; ^~~~~~ thread.c: In function 'make_thrdflags_consistent': thread.c:446:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~ thread.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream, thrd)){ ^~ thread.c: In function 'count_flags_in_thread': thread.c:1008:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~ thread.c:1014:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream, thrd)){ ^~ thread.c: In function 'mark_msgs_in_thread': thread.c:1110:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~ thread.c:1116:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream, thrd)){ ^~ thread.c: In function 'set_thread_lflags': thread.c:1175:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~ thread.c:1181:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream,thrd)){ ^~ thread.c: In function 'to_us_symbol_for_thread': thread.c:1278:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream,thrd)){ ^~ adjtime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: adjtime.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ thread.c: In function 'set_search_bit_for_thread': thread.c:1606:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next= get_next(stream, thrd)){ ^~ thread.c:1612:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream, thrd)){ ^~ thread.c: In function 'top_thread': thread.c:1643:20: warning: unused variable 'rawno' [-Wunused-variable] unsigned long rawno; ^~~~~ thread.c: In function 'top_this_thread': thread.c:1669:20: warning: unused variable 'rawno' [-Wunused-variable] unsigned long rawno; ^~~~~ thread.c: In function 'thread_is_kolapsed': thread.c:1708:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(collapsed = this_thread_is_kolapsed(state, stream, msgmap, rawno)) ^~~~~ thread.c: In function 'this_thread_is_kolapsed': thread.c:1729:26: warning: unused variable 'orig' [-Wunused-variable] unsigned long rawno, orig; ^~~~ thread.c: In function 'count_this_thread': thread.c:1761:34: warning: unused variable 'topnxt' [-Wunused-variable] unsigned long top, orig_top, topnxt; ^~~~~~ thread.c:1761:24: warning: unused variable 'orig_top' [-Wunused-variable] unsigned long top, orig_top, topnxt; ^~~~~~~~ thread.c:1761:19: warning: unused variable 'top' [-Wunused-variable] unsigned long top, orig_top, topnxt; ^~~ thread.c: In function 'find_msgmap': thread.c:1916:16: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] PINETHRD_S *thrd; ^~~~ thread.c:1914:22: warning: unused variable 'nthreads' [-Wunused-variable] long tmsg, ntmsg, nthreads; ^~~~~~~~ thread.c: In function 'move_thread': thread.c:2051:15: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] PINETHRD_S *thrd; ^~~~ thread.c: In function 'move_next_thread': thread.c:2143:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smkeys.o smkeys.c text.c: In function 'replace_quotes': text.c:818:29: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] int no_more_quotes = 0, len, saw_quote = 0; ^~~ mailview.c: In function 'url_hilite': mailview.c:1603:67: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] if((uh && uh->handlesp && ((h = *(uh->handlesp)) == NULL) || h->key == 0) || ~^~~~~ In file included from thread.c:30:0: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ thread.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: thread.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; ^~~~~ string.c: In function 'short_str': string.c:460:8: warning: 'first' may be used uninitialized in this function [-Wmaybe-uninitialized] if(first > 0){ ^ string.c:477:8: warning: 'second' may be used uninitialized in this function [-Wmaybe-uninitialized] if(second > 0){ ^ util.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: util.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ url.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: url.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smime.o smime.c pattern.c: In function 'data_for_patline': pattern.c:4235:4: warning: 'bodytext_not' may be used uninitialized in this function [-Wmaybe-uninitialized] if(bodytext_not) ^ pattern.c:4225:4: warning: 'alltext_not' may be used uninitialized in this function [-Wmaybe-uninitialized] if(alltext_not) ^ smkeys.c: In function 'ALPINE_self_signed_certificate': smkeys.c:203:59: warning: pointer targets in passing argument 4 of 'X509_NAME_add_entry_by_txt' differ in signedness [-Wpointer-sign] X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, "Password File Certificate and Key Pair", -1, -1, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smkeys.h:27:0, from smkeys.c:37: /usr/include/openssl/x509.h:1039:5: note: expected 'const unsigned char *' but argument is of type 'char *' int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, ^~~~~~~~~~~~~~~~~~~~~~~~~~ smkeys.c:243:18: warning: unused variable 'tpubkey' [-Wunused-variable] EVP_PKEY *tpubkey = X509_REQ_get0_pubkey(req); ^~~~~~~ thread.c: In function 'msgno_thread_info': thread.c:771:18: warning: 'peltp' may be used uninitialized in this function [-Wmaybe-uninitialized] PINELT_S **peltp; ^~~~~ At top level: smkeys.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: smkeys.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ text.c: In function 'delete_quotes': text.c:638:8: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] lp += len; ~~~^~~~~~ smime.c: In function 'setup_pwdcert': smime.c:329:9: warning: the address of 'pathkey' will always evaluate as 'true' [-Waddress] if((pathkey && *pathkey) || text){ ^~~~~~~ smime.c: In function 'import_certificate': smime.c:685:46: warning: unused variable 'cert2' [-Wunused-variable] X509 *cert = p_cert ? p_cert->cert : NULL, *cert2; ^~~~~ smime.c:876:4: warning: null argument where non-null required (argument 1) [-Wnonnull] memset((void *)DATACERT(ctype), 0, sizeof(CertList)); ^~~~~~ mailindx.c: In function 'fetch_firsttext': mailindx.c:3972:20: warning: 'pelt' may be used uninitialized in this function [-Wmaybe-uninitialized] pelt->firsttext = firsttext; ~~~~~~~~~~~~~~~~^~~~~~~~~~~ smime.c:790:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tmp2, sizeof(tmp2), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: smime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: smime.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $"; ^~~~~ takeaddr.c: In function 'set_up_takeaddr': takeaddr.c:675:26: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] env_for_pico_callback = env; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ pattern.c: In function 'sub_write_patterns': pattern.c:3356:13: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] *alval = lvalue; ~~~~~~~^~~~~~~~ mailindx.c: In function 'format_index_index_line': mailindx.c:2159:11: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(mc->answered) ^~ smime.c: In function 'certlist_from_personal_certs': smime.c:1179:13: warning: 'cl' may be used uninitialized in this function [-Wmaybe-uninitialized] cl->next = certlist_from_personal_certs(pc->next); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c: In function 'parse_intvl': pattern.c:1890:4: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized] (*next)->imin = left; ~^~~~~~ pattern.c: In function 'parse_patgrp_slash': pattern.c:1502:11: warning: 'save' may be used uninitialized in this function [-Wmaybe-uninitialized] *(p+1) = save; ~~~~~~~^~~~~~ send.c: In function 'call_mailer': send.c:2132:20: warning: 'added_encoding' may be used uninitialized in this function [-Wmaybe-uninitialized] body_encodings[added_encoding] = NULL; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ send.c:2133:19: warning: 'save_encoding' may be used uninitialized in this function [-Wmaybe-uninitialized] bp->encoding = save_encoding; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ smime.c: In function 'smime_validate_extra_test': smime.c:2976:7: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] int result, i, j, flag; ^~~~~~ pattern.c: In function 'sub_open_any_patterns': pattern.c:551:47: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] t = var->is_changed_val ? var->changed_val.l : var->current_val.l; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ smime.c: In function 'smime_expunge_cert': smime.c:557:5: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized] q_status_message2(SM_ORDER, 3, 3, _("Removed %s certificate%s"), comatose(count), plural(count)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c: In function 'match_pattern': pattern.c:4842:19: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->searched = T; smime.c: In function 'import_certificate': smime.c:737:10: warning: 'use_this_file' may be used uninitialized in this function [-Wmaybe-uninitialized] r = (*pith_smime_import_certificate)(filename, use_this_file, "certificate", sizeof(filename) - 20); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'do_fiddle_smime_message': smime.c:3074:14: warning: 'bodytext' may be used uninitialized in this function [-Wmaybe-uninitialized] result = smime_validate_extra_test(mimetext, mimelen, bodytext, bodylen, p7, flag); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:3025:39: note: 'bodytext' was declared here char newSec[100], *mimetext, *bodytext; ^~~~~~~~ smime.c:3064:7: warning: 'mimetext' may be used uninitialized in this function [-Wmaybe-uninitialized] BIO_write(in, mimetext, mimelen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:3025:28: note: 'mimetext' was declared here char newSec[100], *mimetext, *bodytext; ^~~~~~~~ rm -f libpith.a /usr/bin/ar cru libpith.a ablookup.o abdlc.o addrbook.o addrstring.o adrbklib.o bldaddr.o charset.o color.o conf.o context.o copyaddr.o detoken.o detach.o editorial.o escapes.o filter.o flag.o folder.o handle.o help.o helpindx.o hist.o icache.o imap.o init.o keyword.o ldap.o list.o mailcap.o mailcmd.o mailindx.o maillist.o mailview.o margin.o mimedesc.o mimetype.o msgno.o newmail.o news.o pattern.o pipe.o readfile.o remote.o reply.o rfc2231.o rules.o save.o search.o sequence.o send.o sort.o state.o status.o store.o stream.o string.o strlst.o takeaddr.o tempfile.o text.o thread.o adjtime.o url.o util.o helptext.o smkeys.o smime.o ranlib libpith.a make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith' Making all in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico' Making all in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o altedit.o altedit.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o chkpoint.o chkpoint.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o color.o color.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o filesys.o filesys.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o fsync.o fsync.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o getkey.o getkey.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mouse.o mouse.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o newmail.o newmail.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o popen.o popen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o raw.o raw.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o read.o read.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o shell.o shell.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o signals.o signals.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o spell.o spell.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o terminal.o terminal.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o truncate.o truncate.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o tty.o tty.c read.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: read.c 763 2007-10-23 23:37:34Z hubert@u.washington.edu $"; ^~~~~ terminal.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: terminal.c 921 2008-01-31 02:09:25Z hubert@u.washington.edu $"; ^~~~~ popen.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: popen.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ newmail.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: newmail.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ getkey.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: getkey.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ chkpoint.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: chkpoint.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ shell.c: In function 'bktoshell': shell.c:108:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system((shell = (char *)getenv("SHELL")) ? shell : "/bin/csh"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ altedit.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: altedit.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; ^~~~~ At top level: shell.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: shell.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; ^~~~~ mouse.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mouse.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ spell.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: spell.c 854 2007-12-07 17:44:43Z hubert@u.washington.edu $"; ^~~~~ filesys.c: In function 'ffelbowroom': filesys.c:1008:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate(fileno(g_pico_fio.fp), (off_t) fsbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: filesys.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: filesys.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; ^~~~~ shell.c: In function 'bktoshell': shell.c:109:2: warning: 'dummy' may be used uninitialized in this function [-Wmaybe-uninitialized] rtfrmshell(dummy); /* fixup tty */ ^~~~~~~~~~~~~~~~~ raw.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: raw.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ signals.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: signals.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ altedit.c: In function 'alt_editor': altedit.c:132:10: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] *wsp = c; ~~~~~^~~ tty.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: tty.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ color.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ signals.c: In function 'winch_handler': signals.c:117:29: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] Pmaster->arm_winch_cleanup = i; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ rm -f libpicoosd.a /usr/bin/ar cru libpicoosd.a altedit.o chkpoint.o color.o filesys.o fsync.o getkey.o mouse.o newmail.o popen.o raw.o read.o shell.o signals.o spell.o terminal.o truncate.o tty.o ranlib libpicoosd.a make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o attach.o attach.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o basic.o basic.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o bind.o bind.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o browse.o browse.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o buffer.o buffer.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o composer.o composer.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o display.o display.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o file.o file.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o fileio.o fileio.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o line.o line.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pico.o pico.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o random.o random.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o region.o region.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o search.o search.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o window.o window.c gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o word.o word.c buffer.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: buffer.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ fileio.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: fileio.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ window.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: window.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ display.c: In function 'update': display.c:428:13: warning: unused variable 'quoted' [-Wunused-variable] int quoted; ^~~~~~ search.c: In function 'forwsearch': search.c:441:42: warning: the address of 'defpat' will always evaluate as 'true' [-Waddress] utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, flags & SR_BACKWRD); ^ random.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: random.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ search.c: In function 'replace_pat': search.c:483:11: warning: unused variable 'i' [-Wunused-variable] int i, flags; ^ word.c: In function 'fillpara': word.c:669:19: warning: unused variable 'qstr2' [-Wunused-variable] UCS *qstr, qstr2[NSTRING], c; ^~~~~ display.c: In function 'updatelinecolor': display.c:1000:17: warning: unused variable 'qcolor' [-Wunused-variable] COLOR_PAIR *qcolor = NULL, *lastc = NULL, *pcolor = NULL; ^~~~~~ display.c:998:21: warning: unused variable 'quote_found' [-Wunused-variable] int in_quote, quote_found = 0, level; ^~~~~~~~~~~ display.c:995:47: warning: unused variable 'cp7' [-Wunused-variable] CELL *cp1, *cp2, *cp3, *cp4, *cp5, *cp6, *cp7; ^~~ display.c:995:41: warning: unused variable 'cp6' [-Wunused-variable] CELL *cp1, *cp2, *cp3, *cp4, *cp5, *cp6, *cp7; ^~~ word.c: In function 'fpnewline': word.c:1202:6: warning: unused variable 'ww' [-Wunused-variable] int ww; ^~ file.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: file.c 1082 2008-06-12 18:39:50Z hubert@u.washington.edu $"; ^~~~~ display.c: In function 'speller_choice': display.c:1593:8: warning: unused variable 'utf8_prompt' [-Wunused-variable] char *utf8_prompt; ^~~~~~~~~~~ display.c:1591:6: warning: variable 'buf' set but not used [-Wunused-but-set-variable] UCS buf[128]; ^~~ display.c: In function 'mlchoose': display.c:1644:14: warning: unused variable 'changed' [-Wunused-variable] int changed = FALSE; ^~~~~~~ display.c: In function 'mlreplyd': display.c:2215:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = GetAccent()) ^~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o main.o main.c At top level: word.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: word.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ At top level: search.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: search.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ random.c: In function 'showcpos': random.c:74:48: warning: 'thisline' may be used uninitialized in this function [-Wmaybe-uninitialized] thisline+1, lines+1, (int)((100L*(thisline+1))/(lines+1)), ~~~~~~~~~^~~ random.c:75:35: warning: 'nbc' may be used uninitialized in this function [-Wmaybe-uninitialized] nbc, nch, (nch) ? (int)((100L*nbc)/nch) : 0); ~~~~~^~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o utf8stub.o utf8stub.c basic.c: In function 'gotobop': basic.c:365:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (lback(curwp->w_dotp) != curbp->b_linep ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && llength(lback(curwp->w_dotp)) > qlen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && (quoted == quote_match(default_qstr(glo_quote_str, 1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lback(curwp->w_dotp), pqstr, NLINE, 0)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !strcmp(qstr, pqstr) ~~~~~~~~~~~~~~~~~~~~~~~ && !ISspace(lgetc(curwp->w_dotp, qlen).c) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && (strlenis(qstr2) > strlenis(qstr))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !qstr2[i] && !qstr[j]) ~~~~~~~~~~~~~^~~~~~~~~~~ basic.c: In function 'GetAccent': basic.c:407:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ basic.c:413:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' return accent(c,d); ^~~~~~ basic.c: In function 'pineaccent': basic.c:420:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (e = GetAccent()) ^~ bind.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: bind.c 857 2007-12-08 00:49:45Z hubert@u.washington.edu $"; ^~~~~ basic.c: In function 'gotoeop': basic.c:587:33: warning: unused variable 'changeqstr' [-Wunused-variable] int quoted, qlen, indented, changeqstr = 0; ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pilot.o pilot.c composer.c: In function 'LineEdit': composer.c:2101:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ch = GetAccent()) ^~ region.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: region.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ line.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: line.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ At top level: basic.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: basic.c 831 2007-11-27 01:04:19Z hubert@u.washington.edu $"; ^~~~~ At top level: display.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: display.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; ^~~~~ attach.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: attach.c 1082 2008-06-12 18:39:50Z hubert@u.washington.edu $"; ^~~~~ bind.c: In function 'wscrollw': bind.c:290:10: warning: 'cont' may be used uninitialized in this function [-Wmaybe-uninitialized] if(cont) ^ pico.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pico.c 921 2008-01-31 02:09:25Z hubert@u.washington.edu $"; ^~~~~ In file included from ../include/system.h:243:0, from headers.h:30, from browse.c:43: browse.c: In function 'FileBrowse': browse.c:1120:33: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] snprintf(tmp, sizeof(tmp), _("%s \"%.*s\" already exists!"), ^ browse.c:1120:31: note: in expansion of macro '_' snprintf(tmp, sizeof(tmp), _("%s \"%.*s\" already exists!"), ^ browse.c:1120:33: warning: field precision specifier '.*' expects argument of type 'int', but argument 5 has type 'char *' [-Wformat=] snprintf(tmp, sizeof(tmp), _("%s \"%.*s\" already exists!"), ^ browse.c:1120:31: note: in expansion of macro '_' snprintf(tmp, sizeof(tmp), _("%s \"%.*s\" already exists!"), ^ line.c: In function 'lalloc': line.c:92:16: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] lp->l_used = used; ~~~~~~~~~~~^~~~~~ utf8stub.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: utf8stub.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ browse.c:1710:10: warning: the address of 'pat' will always evaluate as 'true' [-Waddress] if(pat && pat[0]) ^~~ search.c: In function 'forscan': search.c:1297:8: warning: 'ftest' may be used uninitialized in this function [-Wmaybe-uninitialized] && ((bsearch == 0 && curoff == ftest) /* and search forward and found at beginning of line */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ || (bsearch != 0 && curoff == ftest))) /* or search backward and found at end of line */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c: In function 'p_chdir': browse.c:2741:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(mp->dname); ^~~~~~~~~~~~~~~~ At top level: browse.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: browse.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; ^~~~~ file.c: In function 'pico_fncomplete': file.c:1064:22: warning: 'orign' may be used uninitialized in this function [-Wmaybe-uninitialized] if(fn[0] == '\0' && orign != 1) ~~~~~~~~~~~~~~^~~~~~~~~~~~~ main.c: In function 'main': main.c:281:8: warning: the address of 'opertree' will always evaluate as 'true' [-Waddress] if(opertree && opertree[0]){ ^~~~~~~~ main.c: In function 'display_color_codes': main.c:515:9: warning: unused variable 'fg' [-Wunused-variable] char *fg; ^~ main.c:512:38: warning: unused variable 'row' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^~~ main.c:512:27: warning: unused variable 'len_entry' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^~~~~~~~~ main.c:512:22: warning: unused variable 'len' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^~~ main.c:512:10: warning: unused variable 'j' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^ At top level: composer.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: composer.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ pilot.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pilot.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $"; ^~~~~ At top level: main.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: main.c 1184 2008-12-16 23:52:15Z hubert@u.washington.edu $"; ^~~~~ display.c: In function 'window_signature_block': display.c:378:15: warning: 'is_sig_start' may be used uninitialized in this function [-Wmaybe-uninitialized] int in_sig, is_sig_start; ^~~~~~~~~~~~ attach.c: In function 'ParseAttach': attach.c:741:13: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] *off += j - 1; ~~^~~ browse.c: In function 'getfcells': browse.c:1915:16: warning: 'tcp' may be used uninitialized in this function [-Wmaybe-uninitialized] ncp->prev = tcp; ~~~~~~~~~~^~~~~ attach.c: In function 'SyncAttach': attach.c:622:7: warning: 'bld' may be used uninitialized in this function [-Wmaybe-uninitialized] if(bld) ^ rm -f libpico.a /usr/bin/ar cru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico.o random.o region.o search.o window.o word.o ranlib libpico.a /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -L/usr/lib -Wl,-z,relro -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -L/usr/lib -Wl,-z,relro -o pilot pilot.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o pico main.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 -pthread libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o pilot pilot.o utf8stub.o ../c-client/utf8.o -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lgssapi_krb5 -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 -pthread make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico' Making all in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine' echo "char datestamp[]="\"`date`\"";" > date.c echo "char hoststamp[]="\"`hostname`\"";" >> date.c cat ../patchlevel >> date.c /usr/bin/make all-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine' Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o chnge_pw.o chnge_pw.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o debuging.o debuging.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o diskquot.non.o diskquot.non.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o execview.o execview.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o fltrname.o fltrname.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o jobcntrl.o jobcntrl.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o print.o print.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o termin.gen.o termin.gen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o termin.unx.o termin.unx.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o termout.gen.o termout.gen.c gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o termout.unx.o termout.unx.c diskquot.non.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: diskquot.non.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $"; ^~~~~ fltrname.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: fltrname.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ jobcntrl.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: jobcntrl.c 765 2007-10-23 23:51:37Z hubert@u.washington.edu $"; ^~~~~ chnge_pw.c: In function 'change_passwd': chnge_pw.c:59:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd_buf); ^~~~~~~~~~~~~~~ At top level: chnge_pw.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: chnge_pw.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ execview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: execview.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; ^~~~~ debuging.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: debuging.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $"; ^~~~~ print.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: print.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; ^~~~~ termout.gen.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: termout.gen.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ termout.unx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: termout.unx.c 955 2008-03-06 23:52:36Z hubert@u.washington.edu $"; ^~~~~ In file included from ../mailcmd.h:26:0, from termin.unx.c:60: ../../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ termin.unx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: termin.unx.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; ^~~~~ print.c: In function 'open_printer': print.c:226:5: warning: 'lastprinter' may be used uninitialized in this function [-Wmaybe-uninitialized] cur_printer = (cur_printermain_user_val.p : \ ^ colorconf.c:1113:13: note: in expansion of macro 'APVAL' apval = APVAL(&v, ew); ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o keymenu.o keymenu.c init.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: init.c 101 2006-08-10 22:53:04Z mikes@u.washington.edu $"; ^~~~~ In file included from mailcmd.h:26:0, from help.c:25: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ help.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: help.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; ^~~~~ colorconf.c: In function 'color_update_selected': colorconf.c:2581:30: warning: variable 'bg_is_custom' set but not used [-Wunused-but-set-variable] int i, fg_is_custom = 1, bg_is_custom = 1; ^~~~~~~~~~~~ colorconf.c:2581:12: warning: variable 'fg_is_custom' set but not used [-Wunused-but-set-variable] int i, fg_is_custom = 1, bg_is_custom = 1; ^~~~~~~~~~~~ In file included from context.h:23:0, from conftype.h:24, from colorconf.h:21, from colorconf.c:21: colorconf.c: In function 'color_edit_screen': ../pith/conf.h:852:25: warning: the address of 'v' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ colorconf.c:2838:10: note: in expansion of macro 'APVAL' apval = APVAL(&v, ew); ^~~~~ arg.c: In function 'process_debug_str': arg.c:964:20: warning: unused variable 'p' [-Wunused-variable] char **list, **p; ^ arg.c:964:12: warning: unused variable 'list' [-Wunused-variable] char **list, **p; ^~~~ arg.c:963:12: warning: unused variable 'error' [-Wunused-variable] char *error = NULL; ^~~~~ arg.c:962:12: warning: unused variable 'q' [-Wunused-variable] char *q = debug_str; ^ alpine.c: In function 'main': arg.c:961:12: warning: unused variable 'new_style_debug_arg' [-Wunused-variable] int new_style_debug_arg = 0; ^~~~~~~~~~~~~~~~~~~ arg.c:960:12: warning: unused variable 'commas' [-Wunused-variable] int commas = 0; ^~~~~~ alpine.c:1038:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!(url_local_mailto_and_atts(args.url, ^~ alpine.c:1042:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' goodnight_gracey(pine_state, 0); ^~~~~~~~~~~~~~~~ arg.c:959:12: warning: unused variable 'i' [-Wunused-variable] int i, usage = 0; ^ confscroll.c: In function 'conf_scroll_screen': confscroll.c:468:23: warning: unused variable 'k' [-Wunused-variable] int cmd, i, j, k = 1, done = 0, changes = 0; ^ alpine.c:152:18: warning: unused variable 'args_for_debug' [-Wunused-variable] char *args_for_debug = NULL, *init_pinerc_debugging = NULL; ^~~~~~~~~~~~~~ In file included from colorconf.c:31:0: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ colorconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: colorconf.c 934 2008-02-23 00:44:29Z hubert@u.washington.edu $"; ^~~~~ folder.c: In function 'folder_import': folder.c:3904:5: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] if(full_filename && full_filename[0]) ^~~~~~~~~~~~~ folder.c: In function 'add_new_folder': folder.c:4117:6: warning: the address of 'mdmbox' will always evaluate as 'true' [-Waddress] if(mdmbox ^~~~~~ At top level: arg.c:80:13: warning: 'args_err_d_error' defined but not used [-Wunused-variable] static char args_err_d_error[] = N_("-d argument \"%s\": %s"); ^~~~~~~~~~~~~~~~ arg.c:74:13: warning: 'args_err_missing_debug_num' defined but not used [-Wunused-variable] static char args_err_missing_debug_num[] = N_("Non numeric argument for \"%s\""); ^~~~~~~~~~~~~~~~~~~~~~~~~~ arg.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: arg.c 900 2008-01-05 01:13:26Z hubert@u.washington.edu $"; ^~~~~ adrbkcmd.c: In function 'convert_abook_to_remote': adrbkcmd.c:2189:27: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(nick, sizeof(nick), "Remote %s", ^ In file included from flagmaint.c:25:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ flagmaint.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: flagmaint.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; ^~~~~ alpine.c: In function 'process_init_cmds': alpine.c:3038:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (i > 1) ^~ alpine.c:3041:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' ps->initial_cmds[i] = ps->initial_cmds_backup[i] = 0; ^~ folder.c:4909:6: warning: the address of 'nickname' will always evaluate as 'true' [-Waddress] if(nickname && nickname[0]){ ^~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o ldapconf.o ldapconf.c In file included from mailcmd.h:26:0, from alpine.c:34: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ alpine.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: alpine.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o listsel.o listsel.c folder.c: In function 'delete_folder': folder.c:5845:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((fp = folder_entry(index, FOLDERS(context))) ^~ folder.c:5848:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' next_folder[len-1] = '\0'; ^~~~~~~~~~~ In file included from mailcmd.h:26:0, from context.c:27: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ context.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: context.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ imap.c: In function 'mm_notify': imap.c:146:17: warning: variable 'tm_now' set but not used [-Wunused-but-set-variable] struct tm *tm_now; ^~~~~~ imap.c: In function 'mm_log': imap.c:240:17: warning: variable 'tm_now' set but not used [-Wunused-but-set-variable] struct tm *tm_now; ^~~~~~ adrbkcmd.c: In function 'single_entry_delete': adrbkcmd.c:6471:23: warning: variable 'pab' set but not used [-Wunused-but-set-variable] PerAddrBook *pab; ^~~ addrbook.c: In function 'ab_resize': addrbook.c:5795:10: warning: variable 'old_l_p_p' set but not used [-Wunused-but-set-variable] int old_l_p_p; ^~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailcmd.o mailcmd.c imap.c: In function 'mm_diskerror': imap.c:1191:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("csh"); ^~~~~~~~~~~~~ keymenu.c: In function 'output_keymenu': keymenu.c:2941:6: warning: variable 'e' set but not used [-Wunused-but-set-variable] int e; ^ keymenu.c:3065:5: warning: the address of 'this_label' will always evaluate as 'true' [-Waddress] && this_label && !strcmp(this_label,last_time->label) ^~ keymenu.c:3187:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(keystr[len-1] == SPACE) ^~~~~ keymenu.c:3189:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' len--; ^~~ imap.c: In function 'read_passfile': imap.c:2344:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tmp2, sizeof(tmp2), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26:0, from imap.c:33: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ imap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: imap.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ keymenu.c: In function 'print_inverted_label': keymenu.c:4056:8: warning: the address of 'prename' will always evaluate as 'true' [-Waddress] if(prename) ^~~~~~~ keymenu.c:4059:8: warning: the address of 'namepart' will always evaluate as 'true' [-Waddress] if(namepart){ ^~~~~~~~ keymenu.c:4066:8: warning: the address of 'labelpart' will always evaluate as 'true' [-Waddress] if(labelpart){ ^~~~~~~~~ In file included from mailcmd.h:26:0, from keymenu.c:21: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ keymenu.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: keymenu.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ In file included from mailcmd.h:26:0, from folder.c:40: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ folder.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: folder.c 1144 2008-08-14 16:53:34Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailindx.o mailindx.c In file included from mailcmd.h:26:0, from addrbook.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ addrbook.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: addrbook.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailpart.o mailpart.c In file included from confscroll.c:54:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26:0, from confscroll.c:31: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ confscroll.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: confscroll.c 1169 2008-08-27 06:42:06Z hubert@u.washington.edu $"; ^~~~~ In file included from mailcmd.h:26:0, from adrbkcmd.c:32: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ adrbkcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: adrbkcmd.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ In file included from context.h:23:0, from conftype.h:24, from ldapconf.h:21, from ldapconf.c:20: ldapconf.c: In function 'dir_edit_screen': ../pith/conf.h:852:25: warning: the address of 'server_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1215:13: note: in expansion of macro 'APVAL' apval = APVAL(&server_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'base_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1222:13: note: in expansion of macro 'APVAL' apval = APVAL(&base_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'port_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1230:10: note: in expansion of macro 'APVAL' apval = APVAL(&port_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'binddn_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1240:13: note: in expansion of macro 'APVAL' apval = APVAL(&binddn_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1247:13: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'srch_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1254:13: note: in expansion of macro 'APVAL' apval = APVAL(&srch_type_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'srch_rule_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1265:13: note: in expansion of macro 'APVAL' apval = APVAL(&srch_rule_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'time_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1276:10: note: in expansion of macro 'APVAL' apval = APVAL(&time_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'size_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1287:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'mailattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1297:13: note: in expansion of macro 'APVAL' apval = APVAL(&mailattr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1306:13: note: in expansion of macro 'APVAL' apval = APVAL(&cnattr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'snattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1315:13: note: in expansion of macro 'APVAL' apval = APVAL(&snattr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'gnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1324:13: note: in expansion of macro 'APVAL' apval = APVAL(&gnattr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cust_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1333:13: note: in expansion of macro 'APVAL' apval = APVAL(&cust_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'server_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1811:10: note: in expansion of macro 'APVAL' apval = APVAL(&server_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'base_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1815:10: note: in expansion of macro 'APVAL' apval = APVAL(&base_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'port_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1819:10: note: in expansion of macro 'APVAL' apval = APVAL(&port_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'binddn_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1823:10: note: in expansion of macro 'APVAL' apval = APVAL(&binddn_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1827:10: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'srch_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1831:10: note: in expansion of macro 'APVAL' apval = APVAL(&srch_type_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'srch_rule_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1835:10: note: in expansion of macro 'APVAL' apval = APVAL(&srch_rule_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'time_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1839:10: note: in expansion of macro 'APVAL' apval = APVAL(&time_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'size_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1843:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cust_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1847:10: note: in expansion of macro 'APVAL' apval = APVAL(&cust_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'mailattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1851:10: note: in expansion of macro 'APVAL' apval = APVAL(&mailattr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'snattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1855:10: note: in expansion of macro 'APVAL' apval = APVAL(&snattr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'gnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1859:10: note: in expansion of macro 'APVAL' apval = APVAL(&gnattr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1863:10: note: in expansion of macro 'APVAL' apval = APVAL(&cnattr_var, ew); ^~~~~ listsel.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: listsel.c 918 2008-01-23 19:39:38Z hubert@u.washington.edu $"; ^~~~~ In file included from ldapconf.c:31:0: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ ldapconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: ldapconf.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ mailindx.c: In function 'index_lister': mailindx.c:1004:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ mailindx.c:1012:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' break; ^~~~~ mailindx.c:1096:20: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] PINETHRD_S *thrd = NULL; ^~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o mailview.o mailview.c mailcmd.c: In function 'save_prompt': mailcmd.c:2749:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule = get_result_rule(V_SAVE_RULES, FOR_SAVE, env)){ ^~ mailindx.c: In function 'top_ent_calc': mailindx.c:2799:18: warning: unused variable 'branch' [-Wunused-variable] unsigned long branch; ^~~~~~ mailindx.c:2870:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream,thrd)) ^~ mailindx.c:2872:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(next = get_next(stream,thrd)) ^~~~ context.c: In function 'context_config_shuffle': context.c:666:26: warning: 'other_ctxt' may be used uninitialized in this function [-Wmaybe-uninitialized] i2 = other_ctxt->var.i; ~~~~~~~~~~~~~~~^~ In file included from mailcmd.h:26:0, from mailindx.c:21: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o newuser.o newuser.c mailindx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailindx.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ mailpart.c: In function 'write_attachment': mailpart.c:1296:39: warning: variable 'we_cancel' set but not used [-Wunused-but-set-variable] int r, rflags = GER_NONE, we_cancel = 0, flags; ^~~~~~~~~ mailpart.c: In function 'display_attachment': mailpart.c:2126:8: warning: the address of 'sender_filename' will always evaluate as 'true' [-Waddress] if(sender_filename){ ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pattern.o pattern.c mailpart.c: In function 'write_attached_msg': mailpart.c:1550:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno((FILE *)store->txt), (off_t) start_of_append); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ confscroll.c: In function 'text_pretty_value': confscroll.c:3963:30: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] p += utf8_to_width(p, lval[cl->varmem], sizeof(tmp)-(p-tmp), avail_width, &got_width); ^ confscroll.c:3967:9: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] p += utf8_to_width(p, pval, sizeof(tmp)-(p-tmp), avail_width, &got_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ confscroll.c:4021:13: warning: 'lvalexc' may be used uninitialized in this function [-Wmaybe-uninitialized] the_list++; ~~~~~~~~^~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o pipe.o pipe.c In file included from mailcmd.h:26:0, from mailpart.c:36: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailpart.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailpart.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ ldapconf.c: In function 'dir_config_shuffle': ldapconf.c:1031:15: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] b->varmem = j; ~~~~~~~~~~^~~ ldapconf.c:1030:15: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] a->varmem = b->varmem; ~~~~~~~~~~^~~~~~~~~~~ ldapconf.c:1004:10: warning: 'new_num' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (i == new_num) ^ newuser.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: newuser.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ addrbook.c: In function 'paint_line': addrbook.c:485:20: warning: 'save_char' may be used uninitialized in this function [-Wmaybe-uninitialized] *end_hilite_here = save_char; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ mailcmd.c: In function 'cmd_delete_this_thread': mailcmd.c:9954:33: warning: unused variable 'nxthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nxthrd; ^~~~~~ mailcmd.c: In function 'cmd_delete_thread': mailcmd.c:9982:33: warning: unused variable 'nxthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nxthrd; ^~~~~~ mailcmd.c:9981:49: warning: unused variable 'save_kolapsed' [-Wunused-variable] unsigned long rawno, top, orig_top, topnxt, save_kolapsed; ^~~~~~~~~~~~~ mailcmd.c:9981:41: warning: unused variable 'topnxt' [-Wunused-variable] unsigned long rawno, top, orig_top, topnxt, save_kolapsed; ^~~~~~ mailcmd.c: In function 'collapse_this_thread': mailcmd.c:10022:32: warning: unused variable 'msgno' [-Wunused-variable] unsigned long rawno, orig, msgno; ^~~~~ mailcmd.c:10022:26: warning: unused variable 'orig' [-Wunused-variable] unsigned long rawno, orig, msgno; ^~~~ mailcmd.c:10021:33: warning: unused variable 'nthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nthrd; ^~~~~ mailcmd.c:10020:28: warning: unused variable 'done' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~ mailcmd.c: In function 'collapse_thread': mailcmd.c:10081:20: warning: unused variable 'rv' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~ mailcmd.c:10081:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~~~~~~ adrbkcmd.c: In function 'view_abook_entry': adrbkcmd.c:348:21: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] as.cur_row = old_cur_row; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ adrbkcmd.c:347:21: warning: 'old_top_ent' may be used uninitialized in this function [-Wmaybe-uninitialized] as.top_ent = old_top_ent; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ adrbkcmd.c:346:44: warning: 'old_l_p_p' may be used uninitialized in this function [-Wmaybe-uninitialized] if(sargs.proc.data.i != VIEW_ABOOK_WARPED && old_l_p_p == as.l_p_page){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'expand_this_thread': mailcmd.c:10156:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thrd->toploose) ^ mailcmd.c:10120:32: warning: unused variable 'msgno' [-Wunused-variable] unsigned long rawno, orig, msgno; ^~~~~ mailcmd.c:10119:33: warning: unused variable 'nthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nthrd; ^~~~~ mailcmd.c:10118:28: warning: unused variable 'done' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~ mailcmd.c: In function 'expand_thread': mailcmd.c:10180:19: warning: variable 'orig' set but not used [-Wunused-but-set-variable] unsigned long orig, orig_top, top; ^~~~ mailcmd.c:10178:20: warning: unused variable 'rv' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~ mailcmd.c:10178:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~~~~~~ pattern.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pattern.c 169 2006-10-04 23:26:48Z hubert@u.washington.edu $"; ^~~~~ mailview.c: In function 'scrolltool': mailview.c:3459:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (any_messages(ps_global->msgmap, NULL, ^~ mailview.c:3463:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' done = 1; ^~~~ pipe.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pipe.c 155 2006-09-29 23:28:46Z hubert@u.washington.edu $"; ^~~~~ mailview.c: In function 'visible_linelen': mailview.c:5023:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i < st->line_lengths[line] && n > 0) ^~ mailview.c:5026:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' break; ^~~~~ folder.c: In function 'use_color_for_folder': folder.c:2181:4: warning: 'test2' may be used uninitialized in this function [-Wmaybe-uninitialized] return (fp->isdir && fp->isfolder) ? test1 + test2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : (fp->isdir ? test1 : (fp->isfolder? test2 : 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ folder.c:2181:4: warning: 'test1' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o print.o print.c In file included from mailcmd.c:76:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26:0, from mailcmd.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailcmd.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ In file included from mailcmd.h:26:0, from mailview.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ In file included from osdep/../../pith/../pith/../pith/indxtype.h:22:0, from osdep/../../pith/../pith/state.h:22, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from mailindx.c:19: mailindx.c: In function 'index_scroll_to_pos': osdep/../../pith/../pith/../pith/../pith/msgno.h:36:35: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] (p)->select[(p)->sel_cur] = (m); \ ^ mailindx.c:2534:16: note: 'k' was declared here long i, j, k; ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o radio.o radio.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o remote.o remote.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o reply.o reply.c remote.c: In function 'rd_metadata_name': remote.c:315:33: warning: the address of 'pinerc_dir' will always evaluate as 'true' [-Waddress] build_path(path, pinerc_dir ? pinerc_dir : NULL, ^ At top level: remote.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: remote.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; ^~~~~ adrbkcmd.c: In function 'ab_del_abook': adrbkcmd.c:3032:17: warning: 'how_many_in_list' may be used uninitialized in this function [-Wmaybe-uninitialized] num_in_list, how_many_in_list, i, cnt, warn_about_revert = 0; ^~~~~~~~~~~~~~~~ In file included from mailcmd.h:26:0, from radio.c:24: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ radio.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: radio.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ confscroll.c: In function 'update_option_screen': confscroll.c:3250:6: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] *p++ = value[i]; ~^~ remote.c: In function 'rd_prompt_about_forged_remote_data': remote.c:213:4: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] p += strlen(p); ~~^~~~~~~~~~~~ In file included from print.c:26:0: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ print.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: print.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ reply.c: In function 'reply': reply.c:162:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule = get_result_rule(V_REPLY_INDENT_RULES, FOR_COMPOSE , env)){ ^~ reply.c: In function 'reply_text_query': reply.c:1149:14: warning: unused variable 'which_help' [-Wunused-variable] unsigned which_help; ^~~~~~~~~~ reply.c:1096:9: warning: variable 'orig_sf' set but not used [-Wunused-but-set-variable] int orig_sf; ^~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o roleconf.o roleconf.c In file included from reply.c:66:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26:0, from reply.c:46: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ reply.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o send.o send.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o setup.o setup.c addrbook.c: In function 'resync_screen': addrbook.c:6220:8: warning: 'old_global_row' may be used uninitialized in this function [-Wmaybe-uninitialized] warp_to_dlc(&dlc_restart, old_global_row); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addrbook.c:6219:8: warning: 'old_entry_num' may be used uninitialized in this function [-Wmaybe-uninitialized] if(old_entry_num == new_entry_num) ^ mailpart.c: In function 'display_vcard_att': mailpart.c:2880:47: warning: 'cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] while(!errstr && (cmd == MC_RESIZE || cmd == MC_FULLHDR)); In file included from context.h:23:0, from conftype.h:24, from roleconf.h:21, from roleconf.c:20: roleconf.c: In function 'role_config_edit_screen': ../pith/conf.h:852:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:2936:13: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'comment_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:2955:13: note: in expansion of macro 'APVAL' apval = APVAL(&comment_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'age_pat_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3001:10: note: in expansion of macro 'APVAL' apval = APVAL(&age_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'size_pat_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3012:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'scorei_pat_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3025:10: note: in expansion of macro 'APVAL' apval = APVAL(&scorei_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_del_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3035:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_del_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_new_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3043:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_new_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_imp_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3051:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_imp_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_ans_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3059:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_ans_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_8bit_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3067:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_8bit_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_rec_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3075:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_rec_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_bom_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3083:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_bom_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_boy_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3091:13: note: in expansion of macro 'APVAL' apval = APVAL(&stat_boy_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_del_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3103:13: note: in expansion of macro 'APVAL' apval = APVAL(&filt_del_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_new_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3111:13: note: in expansion of macro 'APVAL' apval = APVAL(&filt_new_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_imp_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3119:13: note: in expansion of macro 'APVAL' apval = APVAL(&filt_imp_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_ans_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3127:13: note: in expansion of macro 'APVAL' apval = APVAL(&filt_ans_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'inick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3134:13: note: in expansion of macro 'APVAL' apval = APVAL(&inick_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3143:13: note: in expansion of macro 'APVAL' apval = APVAL(&fldr_type_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'folder_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:3150:13: note: in expansion of macro 'ALVAL' alval = ALVAL(&folder_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3165:13: note: in expansion of macro 'APVAL' apval = APVAL(&abook_type_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'cat_cmd_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:3182:13: note: in expansion of macro 'ALVAL' alval = ALVAL(&cat_cmd_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cati_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3194:10: note: in expansion of macro 'APVAL' apval = APVAL(&cati_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cat_lim_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3205:13: note: in expansion of macro 'APVAL' apval = APVAL(&cat_lim_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'from_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3224:10: note: in expansion of macro 'APVAL' apval = APVAL(&from_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'from_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3228:10: note: in expansion of macro 'APVAL' apval = APVAL(&from_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'replyto_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3241:10: note: in expansion of macro 'APVAL' apval = APVAL(&replyto_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'replyto_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3245:10: note: in expansion of macro 'APVAL' apval = APVAL(&replyto_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'fcc_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3252:13: note: in expansion of macro 'APVAL' apval = APVAL(&fcc_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'sort_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3259:13: note: in expansion of macro 'APVAL' apval = APVAL(&sort_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'iform_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3273:13: note: in expansion of macro 'APVAL' apval = APVAL(&iform_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'startup_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3286:13: note: in expansion of macro 'APVAL' apval = APVAL(&startup_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'litsig_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3303:13: note: in expansion of macro 'APVAL' apval = APVAL(&litsig_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'sig_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3310:13: note: in expansion of macro 'APVAL' apval = APVAL(&sig_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'templ_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3319:13: note: in expansion of macro 'APVAL' apval = APVAL(&templ_act_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'cstm_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:3328:13: note: in expansion of macro 'ALVAL' alval = ALVAL(&cstm_act_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'smtp_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:3336:13: note: in expansion of macro 'ALVAL' alval = ALVAL(&smtp_act_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'nntp_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:3344:13: note: in expansion of macro 'ALVAL' alval = ALVAL(&nntp_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'score_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3358:10: note: in expansion of macro 'APVAL' apval = APVAL(&score_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'hdrtok_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3370:10: note: in expansion of macro 'APVAL' apval = APVAL(&hdrtok_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'repl_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3382:13: note: in expansion of macro 'APVAL' apval = APVAL(&repl_type_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'forw_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3390:13: note: in expansion of macro 'APVAL' apval = APVAL(&forw_type_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'comp_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:3397:13: note: in expansion of macro 'APVAL' apval = APVAL(&comp_type_var, ew); ^~~~~ ../pith/conf.h:850:24: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ ^ roleconf.c:3553:6: note: in expansion of macro 'PVAL' if((PVAL(&fldr_type_var, ew) && ^~~~ ../pith/conf.h:850:24: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ ^ roleconf.c:3554:15: note: in expansion of macro 'PVAL' !strucmp(PVAL(&fldr_type_var, ew), f->name)) ^~~~ ../pith/conf.h:850:24: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ ^ roleconf.c:3555:10: note: in expansion of macro 'PVAL' || (!PVAL(&fldr_type_var, ew) && f->value == FLDR_DEFL)) ^~~~ ../pith/conf.h:850:24: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ ^ roleconf.c:3834:6: note: in expansion of macro 'PVAL' if((PVAL(&abook_type_var, ew) && ^~~~ ../pith/conf.h:850:24: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ ^ roleconf.c:3835:15: note: in expansion of macro 'PVAL' !strucmp(PVAL(&abook_type_var, ew), f->name)) ^~~~ ../pith/conf.h:850:24: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ ^ roleconf.c:3836:10: note: in expansion of macro 'PVAL' || (!PVAL(&abook_type_var, ew) && f->value == IAB_DEFL)) ^~~~ ../pith/conf.h:854:24: warning: the address of 'cat_cmd_var' will always evaluate as 'true' [-Waddress] #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ ^ roleconf.c:3989:16: note: in expansion of macro 'LVAL' if((lval = LVAL(&cat_cmd_var, ew)) != NULL && lval[0]){ ^~~~ ../pith/conf.h:854:24: warning: the address of 'cstm_act_var' will always evaluate as 'true' [-Waddress] #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ ^ roleconf.c:4190:13: note: in expansion of macro 'LVAL' if((lval = LVAL(&cstm_act_var, ew)) != NULL){ ^~~~ ../pith/conf.h:854:24: warning: the address of 'smtp_act_var' will always evaluate as 'true' [-Waddress] #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ ^ roleconf.c:4222:13: note: in expansion of macro 'LVAL' if((lval = LVAL(&smtp_act_var, ew)) != NULL){ ^~~~ ../pith/conf.h:854:24: warning: the address of 'nntp_act_var' will always evaluate as 'true' [-Waddress] #define LVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.l : \ ^ roleconf.c:4254:13: note: in expansion of macro 'LVAL' if((lval = LVAL(&nntp_act_var, ew)) != NULL){ ^~~~ ../pith/conf.h:852:25: warning: the address of 'filter_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:4345:10: note: in expansion of macro 'APVAL' apval = APVAL(&filter_type_var, ew); ^~~~~ send.c: In function 'pine_send': send.c:2180:24: warning: the address of 'pf_template' will always evaluate as 'true' [-Waddress] for(fixed_cnt = 0; pf_template && pf_template[fixed_cnt].name; fixed_cnt++) ^~~~~~~~~~~ ../pith/conf.h:850:24: warning: the address of 'sort_act_var' will always evaluate as 'true' [-Waddress] #define PVAL(v,w) ((v) ? (((w) == Main) ? (v)->main_user_val.p : \ ^ roleconf.c:4488:9: note: in expansion of macro 'PVAL' pval = PVAL(&sort_act_var, ew); ^~~~ mailcmd.c: In function 'cmd_flag': mailcmd.c:1951:4: warning: 'use_maint_screen' may be used uninitialized in this function [-Wmaybe-uninitialized] if(use_maint_screen){ ^ send.c:2583:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rule->result) ^~ send.c:2585:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' fs_give((void **)&rule); ^~~~~~~ ../pith/conf.h:852:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:4929:10: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'comment_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:4934:10: note: in expansion of macro 'APVAL' apval = APVAL(&comment_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'to_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4939:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&to_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'from_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4943:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&from_pat_var, ew); ^~~~~ setup.c: In function 'inbox_path_text_tool': setup.c:676:22: warning: variable 'apval' set but not used [-Wunused-but-set-variable] char **apval; ^~~~~ ../pith/conf.h:856:25: warning: the address of 'sender_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4947:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&sender_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'cc_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4951:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&cc_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'recip_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4955:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&recip_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'partic_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4959:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&partic_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'news_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4963:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&news_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'subj_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4967:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&subj_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'alltext_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4971:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&alltext_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'bodytext_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4975:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&bodytext_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'keyword_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4979:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&keyword_pat_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'charset_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:4983:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&charset_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'age_pat_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:4987:10: note: in expansion of macro 'APVAL' apval = APVAL(&age_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'size_pat_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:4992:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'scorei_pat_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:4997:10: note: in expansion of macro 'APVAL' apval = APVAL(&scorei_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_del_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5002:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_del_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_new_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5007:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_new_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_rec_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5012:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_rec_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_imp_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5017:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_imp_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_ans_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5022:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_ans_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_8bit_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5027:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_8bit_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_bom_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5032:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_bom_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'stat_boy_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5037:10: note: in expansion of macro 'APVAL' apval = APVAL(&stat_boy_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'fldr_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5042:10: note: in expansion of macro 'APVAL' apval = APVAL(&fldr_type_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'folder_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5047:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&folder_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5051:10: note: in expansion of macro 'APVAL' apval = APVAL(&abook_type_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'abook_pat_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5056:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&abook_pat_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cati_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5060:10: note: in expansion of macro 'APVAL' apval = APVAL(&cati_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'cat_lim_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5065:10: note: in expansion of macro 'APVAL' apval = APVAL(&cat_lim_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'inick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5070:10: note: in expansion of macro 'APVAL' apval = APVAL(&inick_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'from_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5075:10: note: in expansion of macro 'APVAL' apval = APVAL(&from_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'replyto_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5080:10: note: in expansion of macro 'APVAL' apval = APVAL(&replyto_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'fcc_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5085:10: note: in expansion of macro 'APVAL' apval = APVAL(&fcc_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'litsig_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5090:10: note: in expansion of macro 'APVAL' apval = APVAL(&litsig_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'sort_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5095:10: note: in expansion of macro 'APVAL' apval = APVAL(&sort_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'iform_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5100:10: note: in expansion of macro 'APVAL' apval = APVAL(&iform_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'startup_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5105:10: note: in expansion of macro 'APVAL' apval = APVAL(&startup_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'sig_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5110:10: note: in expansion of macro 'APVAL' apval = APVAL(&sig_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'templ_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5115:10: note: in expansion of macro 'APVAL' apval = APVAL(&templ_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'score_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5120:10: note: in expansion of macro 'APVAL' apval = APVAL(&score_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'hdrtok_act_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5125:10: note: in expansion of macro 'APVAL' apval = APVAL(&hdrtok_act_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'repl_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5130:10: note: in expansion of macro 'APVAL' apval = APVAL(&repl_type_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'forw_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5135:10: note: in expansion of macro 'APVAL' apval = APVAL(&forw_type_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'comp_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5140:10: note: in expansion of macro 'APVAL' apval = APVAL(&comp_type_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filter_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5155:10: note: in expansion of macro 'APVAL' apval = APVAL(&filter_type_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'folder_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5160:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&folder_act_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'keyword_set_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5164:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&keyword_set_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'keyword_clr_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5168:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&keyword_clr_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_imp_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5172:10: note: in expansion of macro 'APVAL' apval = APVAL(&filt_imp_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_del_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5177:10: note: in expansion of macro 'APVAL' apval = APVAL(&filt_del_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_new_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5182:10: note: in expansion of macro 'APVAL' apval = APVAL(&filt_new_var, ew); ^~~~~ ../pith/conf.h:852:25: warning: the address of 'filt_ans_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5187:10: note: in expansion of macro 'APVAL' apval = APVAL(&filt_ans_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'cat_cmd_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5193:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&cat_cmd_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'cstm_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5197:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&cstm_act_var, ew); ^~~~~ In file included from mailcmd.h:26:0, from setup.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ setup.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: setup.c 918 2008-01-23 19:39:38Z hubert@u.washington.edu $"; ^~~~~ ../pith/conf.h:856:25: warning: the address of 'smtp_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5201:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&smtp_act_var, ew); ^~~~~ ../pith/conf.h:856:25: warning: the address of 'nntp_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5205:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&nntp_act_var, ew); ^~~~~ send.c:3760:17: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] if(fcc_result && folder) ^~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o signal.o signal.c send.c:4193:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!ps_global->send_immediately) ^~ send.c:4197:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' break; /* All's well, pop out of here */ ^~~~~ roleconf.c:5519:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j = 0; (f = inabook_fldr_types(j)); j++) ^~~ roleconf.c:5525:8: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' if(bitnset(INABOOK_FROM, inabook_type_list)) ^~ adrbkcmd.c: In function 'ab_forward': adrbkcmd.c:4661:10: warning: 'abe' may be used uninitialized in this function [-Wmaybe-uninitialized] for(ll = abe->addr.list; ll && *ll; ll++){ ~~~^~~~~~~~~~~~~~~~ send.c: In function 'choose_a_priority': send.c:5199:16: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, cnt; ^ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o status.o status.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o takeaddr.o takeaddr.c reply.c: In function 'reply': reply.c:370:5: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] reply_seed(pine_state, outgoing, env, saved_from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ saved_to, saved_cc, saved_resent, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &fcc, flags & RSF_FORCE_REPLY_ALL, &errmsg); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adrbkcmd.c: In function 'ab_export': adrbkcmd.c:4473:15: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] filename, error_description(orig_errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ signal.c: In function 'do_suspend': signal.c:769:12: warning: variable 'now' set but not used [-Wunused-but-set-variable] time_t now; ^~~ In file included from send.c:67:0: At top level: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26:0, from send.c:38: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ send.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: send.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ In file included from mailcmd.h:26:0, from signal.c:37: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ signal.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: signal.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o titlebar.o titlebar.c folder.c: In function 'add_new_folder': folder.c:4901:59: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!inbox && add_folder && add_folder[0] && alval && *alval && (*alval)[offset]){ ^~~~~~ folder.c:4890:11: warning: 'apval' may be used uninitialized in this function [-Wmaybe-uninitialized] *apval = cpystr(add_folder); ~~~~~~~^~~~~~~~~~~~~~~~~~~~ setup.c: In function 'option_screen': setup.c:470:25: warning: 'ctmpb' may be used uninitialized in this function [-Wmaybe-uninitialized] ctmpa->varnamep = ctmpb; ~~~~~~~~~~~~~~~~~^~~~~~~ setup.c:368:18: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] for(i = 0; lval[i]; i++){ ~~~~^~~ setup.c:312:13: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] decode_sort(pval, &thread_def_sort, &thread_def_sort_rev, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep/../../pith/../pith/../pith/indxtype.h:22:0, from osdep/../../pith/../pith/state.h:22, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from mailindx.c:19: mailindx.c: In function 'index_lister': osdep/../../pith/../pith/../pith/../pith/msgno.h:36:35: warning: 'new_cur' may be used uninitialized in this function [-Wmaybe-uninitialized] (p)->select[(p)->sel_cur] = (m); \ ^ mailindx.c:845:13: note: 'new_cur' was declared here int new_cur; ^~~~~~~ mailindx.c:817:10: warning: 'topthrd' may be used uninitialized in this function [-Wmaybe-uninitialized] set_thread_lflags(stream, topthrd, msgmap, MN_CHID, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailindx.c:472:4: warning: 'paint_status' may be used uninitialized in this function [-Wmaybe-uninitialized] if(paint_status) ^ mailindx.c:514:2: warning: 'cur_col' may be used uninitialized in this function [-Wmaybe-uninitialized] MoveCursor(cur_row, cur_col); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26:0, from roleconf.c:30: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ roleconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: roleconf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ addrbook.c: In function 'addr_book': addrbook.c:3396:18: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] as.cur_row = old_cur_row; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ addrbook.c:3395:18: warning: 'old_top_ent' may be used uninitialized in this function [-Wmaybe-uninitialized] as.top_ent = old_top_ent; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ addrbook.c:3394:17: warning: 'old_l_p_p' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!warped && old_l_p_p == as.l_p_page){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ addrbook.c:3874:19: warning: 'def_key' may be used uninitialized in this function [-Wmaybe-uninitialized] switch(km->keys[def_key].bind.cmd){ ^ In file included from mailcmd.h:26:0, from status.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ status.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: status.c 840 2007-12-01 01:34:49Z hubert@u.washington.edu $"; ^~~~~ titlebar.c: In function 'format_titlebar': titlebar.c:429:14: warning: variable 'thd_len' set but not used [-Wunused-but-set-variable] ss_len, thd_len, is_context, avail, extra; ^~~~~~~ At top level: titlebar.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: titlebar.c 1075 2008-06-04 00:19:39Z hubert@u.washington.edu $"; ^~~~~ In file included from mailcmd.h:26:0, from takeaddr.c:36: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ takeaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: takeaddr.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smime.o smime.c titlebar.c: In function 'update_titlebar_message': titlebar.c:945:29: warning: 'curnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if(as.cur_mess_col >= 0 && oldnum != curnum){ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ reply.c: In function 'forward': reply.c:1693:13: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] filtered = detoken(role, (totalmsgs == 1L) ? env : NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0, 0, 0, &redraft_pos, &impl); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c:1856:19: warning: 'msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] && (body = forward_body(ps->mail_stream, env, orig_body, msgno, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL, msgtext, ~~~~~~~~~~~~~~ FWD_NONE)))){ ~~~~~~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o newmail.o newmail.c adrbkcmd.c: In function 'ab_agg_delete': adrbkcmd.c:6218:18: warning: 'newelnum' may be used uninitialized in this function [-Wmaybe-uninitialized] newelnum--; ~~~~~~~~^~ adrbkcmd.c: In function 'single_entry_delete': adrbkcmd.c:6389:27: warning: 'dname' may be used uninitialized in this function [-Wmaybe-uninitialized] dname = dname ? dname : ""; ~~~~~~~~~~~~~~^~~~ adrbkcmd.c:6390:27: warning: 'cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] cmd = cmd ? cmd : ""; ~~~~~~~~~~~~~~^~~~ newmail.c: In function 'new_mail_mess': newmail.c:157:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", ^~~~ newmail.c:158:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? "rom " : "", ^~~~ newmail.c:159:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? from : "", ^~~~ newmail.c:197:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", ^~~~ newmail.c:198:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? "rom " : "", ^~~~ newmail.c:199:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? from : ""); ^~~~ smime.c: In function 'smime_manage_password_file_certs_init': smime.c:1449:18: warning: unused variable 'store' [-Wunused-variable] X509_STORE *store = NULL; ^~~~~ smime.c:1448:18: warning: unused variable 'lookup' [-Wunused-variable] X509_LOOKUP *lookup = NULL; ^~~~~~ smime.c:1443:14: warning: unused variable 'ext' [-Wunused-variable] char *ext; ^~~ At top level: newmail.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: newmail.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ smime.c: In function 'smime_manage_certs_init': smime.c:1619:16: warning: unused variable 't' [-Wunused-variable] char *s, *t; ^ smime.c:1619:12: warning: unused variable 's' [-Wunused-variable] char *s, *t; ^ smime.c:1553:14: warning: variable 'ext' set but not used [-Wunused-but-set-variable] char *ext; ^~~ In file included from smime.c:37:0: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ smime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: smime.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o date.o date.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o rpdump.o rpdump.c gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o rpload.o rpload.c smime.c: In function 'output_cert_info': smime.c:527:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] X509_NAME_get_text_by_OBJ(X509_get_issuer_name(x), X509_NAME_ENTRY_get_object(e), buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ confscroll.c: In function 'text_toolit': confscroll.c:1955:27: warning: 'incr' may be used uninitialized in this function [-Wmaybe-uninitialized] numval = MAX(numval - incr, lowrange); ^ confscroll.c:2309:14: warning: 'hirange' may be used uninitialized in this function [-Wmaybe-uninitialized] numval = MIN(numval + incr, hirange); confscroll.c:2292:14: warning: 'lowrange' may be used uninitialized in this function [-Wmaybe-uninitialized] numval = MAX(numval - incr, lowrange); confscroll.c:2389:18: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] swap_val = (*alval)[curindex]; ~^~~~~~~ confscroll.c:2035:18: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] ? (!*lval[(*cl)->varmem]) ^ confscroll.c:2075:9: warning: 'apval' may be used uninitialized in this function [-Wmaybe-uninitialized] fs_give((void **)apval); ^~~~~~~~~~~~~~~~~~~~~~~ confscroll.c:2039:10: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] ? (!*pval) ^~~~~ rpdump.c: In function 'opt_enter': rpdump.c:759:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, field_len, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpdump.c: In function 'wantto': rpdump.c:797:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(rep, sizeof(rep), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: rpdump.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: rpdump.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ rpload.c: In function 'opt_enter': rpload.c:998:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, field_len, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: rpload.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: rpload.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ send.c: In function 'filter_message_text': send.c:5534:12: warning: 'readthis_so' may be used uninitialized in this function [-Wmaybe-uninitialized] errstr = gf_filter(cmd, key ? filter_session_key() : NULL, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readthis_so, pc, NULL, 0, 0, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe_callback); ~~~~~~~~~~~~~~ adrbkcmd.c: In function 'convert_to_remote_config': adrbkcmd.c:2632:16: warning: 'abooks' may be used uninitialized in this function [-Wmaybe-uninitialized] int abooks, sigs; ^~~~~~ adrbkcmd.c:2727:13: warning: 'sigs' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(!(abooks || sigs)) ^~~~~~~~~~~~~~~~~ takeaddr.c: In function 'takeaddr_screen': takeaddr.c:1292:10: warning: 'km' may be used uninitialized in this function [-Wmaybe-uninitialized] cmd = menu_command(ch, km); ~~~~^~~~~~~~~~~~~~~~~~~~~~ folder.c: In function 'group_subscription': folder.c:5112:9: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] if(f){ ^ /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -o rpdump rpdump.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 takeaddr.c: In function 'take_without_edit': takeaddr.c:2432:41: warning: 'total_to_copy' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(ret != 'T' && total_to_copy > 0){ ~~~~~~~~~~~~~~^~~ confscroll.c: In function 'radiobutton_tool': confscroll.c:2842:5: warning: 'old_cs' may be used uninitialized in this function [-Wmaybe-uninitialized] if(old_cs != ps->color_style){ ^ confscroll.c:2867:5: warning: 'old_uc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!old_uc && pico_usingcolor()){ ^ send.c: In function 'pine_simple_send': send.c:1719:40: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] char *part2 = fcc_result ? "" : "NOT "; ~~~~~~~~~~~~~~~~^~~~~~~~ mailcmd.c: In function 'save_prompt': mailcmd.c:2894:25: warning: 'preindex' may be used uninitialized in this function [-Wmaybe-uninitialized] ekey[preindex].label = (pre == NoPreserve) ? "Preserve Order" : "Any Order"; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:2891:25: warning: 'delindex' may be used uninitialized in this function [-Wmaybe-uninitialized] ekey[delindex].label = (del == NoDel) ? "Delete" : "No Delete"; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -o rpload rpload.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-z -Wl,relro -o rpdump rpdump.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 -pthread libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-z -Wl,relro -o rpload rpload.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 -pthread send.c: In function 'pine_send': send.c:2935:29: warning: 'he_fcc' may be used uninitialized in this function [-Wmaybe-uninitialized] he_news->affected_entry = he_fcc; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ send.c:3760:5: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] if(fcc_result && folder) ^ send.c:3618:29: warning: 'pf_ourhdrs' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_ourhdrs->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3525:28: warning: 'pf_ourrep' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_ourrep->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3510:28: warning: 'pf_curpos' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_curpos->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3499:26: warning: 'pf_mbox' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_mbox->writehdr = 1; ~~~~~~~~~~~~~~~~~~~^~~ send.c:3482:25: warning: 'pf_uid' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_uid->writehdr = 1; ~~~~~~~~~~~~~~~~~~^~~ send.c:3459:25: warning: 'pf_err' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_err->writehdr = 1; ~~~~~~~~~~~~~~~~~~^~~ send.c:3598:33: warning: 'pf_nntp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_nntp_server->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3559:33: warning: 'pf_smtp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_smtp_server->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:2936:29: warning: 'he_to' may be used uninitialized in this function [-Wmaybe-uninitialized] he_lcc->affected_entry = he_to; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ mailcmd.c: In function 'cmd_export': mailcmd.c:3805:2: warning: 'start_of_append' may be used uninitialized in this function [-Wmaybe-uninitialized] our_truncate(full_filename, (off_t)start_of_append); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3818:20: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] filename, error_description(orig_errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'cmd_expunge': mailcmd.c:3408:9: warning: 'prefilter_del_count' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(!prefilter_del_count) ^ mailcmd.c: In function 'process_cmd': mailcmd.c:615:9: warning: 'topthrd' may be used uninitialized in this function [-Wmaybe-uninitialized] j = count_lflags_in_thread(stream, topthrd, msgmap, MN_NONE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_text_tool': roleconf.c:7219:18: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] newfile = cpystr(full_filename + len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_config_addfile': roleconf.c:1965:18: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] newfile = cpystr(full_filename + len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_config_add': roleconf.c:1256:25: warning: 'new_patline' may be used uninitialized in this function [-Wmaybe-uninitialized] new_patline->first = new_patline->last = new_pat; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_config_replicate': roleconf.c:1410:25: warning: 'new_patline' may be used uninitialized in this function [-Wmaybe-uninitialized] new_patline->first = new_patline->last = new_pat; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic `cat ../c-client/LDFLAGS` -L/usr/lib -Wl,-z,relro -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o newmail.o date.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-z -Wl,relro -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o newmail.o date.o -L/usr/lib -L/usr/kerberos/lib -lcom_err ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5 -pthread make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.21' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.odFybk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64 ++ dirname /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64 + cd alpine-2.21 + make install DESTDIR=/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64 if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5" EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private EXTRAAUTHENTICATORS=gss " make[1]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap' make build EXTRACFLAGS='-DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lssl -lcrypto -ldl -ltinfo -llber -lpam -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private EXTRAAUTHENTICATORS=gss ' BUILDTYPE=lnp IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap' Rebuilding c-client for lnp... cd c-client;make all CC=`cat CCTYPE` \ CFLAGS="`cat CFLAGS`" `cat SPECIALS` make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/c-client' sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/mtest' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/mtest' cd ipopd;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/ipopd' make[3]: Nothing to be done for 'ipopd'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/ipopd' cd imapd;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/imapd' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/imapd' cd mailutil;make make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/mailutil' make[3]: 'mailutil' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/mailutil' cd mlock;make || true make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/mlock' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/mlock' cd dmail;make || true make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/dmail' make[3]: 'dmail' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/dmail' cd tmail;make || true make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/imap/tmail' make[3]: 'tmail' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap/tmail' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.21/imap' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.21' Making install in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/m4' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/m4' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/m4' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/m4' Making install in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share if test "alpine" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -c -m 644 ./$file \ /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/po' Making install in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith/osdep' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith/osdep' Making install in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith/charconv' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith/charconv' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith/charconv' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.21/pith' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pith' Making install in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico' Making install in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico/osdep' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico/osdep' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/pico' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c pico pilot '/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin' libtool: install: /usr/bin/install -c pico /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/pico libtool: install: /usr/bin/install -c pilot /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/pilot make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/pico' Making install in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine/osdep' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.21/alpine' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c alpine rpdump rpload '/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin' libtool: install: /usr/bin/install -c alpine /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/alpine libtool: install: /usr/bin/install -c rpdump /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/rpdump libtool: install: /usr/bin/install -c rpload /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/rpload make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.21' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.21' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 doc/man1/alpine.1 doc/man1/pico.1 doc/man1/pilot.1 doc/man1/rpdump.1 doc/man1/rpload.1 '/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.21' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.21' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.21' + mkdir -p /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/etc + touch /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/etc/pine.conf + touch /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/etc/pine.conf.fixed + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/alpine-2.21 extracting debug info from /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/rpdump extracting debug info from /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/pilot extracting debug info from /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/rpload extracting debug info from /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/pico extracting debug info from /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/bin/alpine /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 25678 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: alpine-2.21-4.fc25.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.modkUN + umask 022 + cd /builddir/build/BUILD + cd alpine-2.21 + DOCDIR=/builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/doc/alpine + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/doc/alpine + cp -pr README /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/doc/alpine + cp -pr LICENSE /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/doc/alpine + cp -pr README.fedora /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64/usr/share/doc/alpine + exit 0 Provides: alpine = 2.21-4.fc25 alpine(x86-64) = 2.21-4.fc25 config(alpine) = 2.21-4.fc25 re-alpine = 2.21-4.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcom_err.so.2()(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: pine Processing files: alpine-debuginfo-2.21-4.fc25.x86_64 Provides: alpine-debuginfo = 2.21-4.fc25 alpine-debuginfo(x86-64) = 2.21-4.fc25 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64 Wrote: /builddir/build/RPMS/alpine-2.21-4.fc25.x86_64.rpm Wrote: /builddir/build/RPMS/alpine-debuginfo-2.21-4.fc25.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gnJors + umask 022 + cd /builddir/build/BUILD + cd alpine-2.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/alpine-2.21-4.fc25.x86_64 + exit 0 Child return code was: 0