Mock Version: 1.2.13 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-31ea1eb823fa899f12ba77d87940d8a24e42956d/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/alpine.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/alpine-2.20-2.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/alpine.spec '], chrootPath='/var/lib/mock/epel-1-armhfp-31ea1eb823fa899f12ba77d87940d8a24e42956d/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/alpine.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eUs2ba + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alpine-2.20 + /usr/bin/xz -dc /builddir/build/SOURCES/alpine-2.20.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd alpine-2.20 + /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.WjRfqG + umask 022 + cd /builddir/build/BUILD + cd alpine-2.20 + touch imap/ip6 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -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' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --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... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu configure: Configuring for alpine 2.20 (armv7hl-redhat-linux-gnu)) checking for armv7hl-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 for style of include used by make... GNU checking dependency style of gcc... none checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking for armv7hl-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 -std=gnu99... /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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-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 armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-redhat-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for armv7hl-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -std=gnu99 -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 -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld) 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 checking if the linker (/usr/bin/ld) 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 Openssl library version >= 1.0.1c... yes checking for library containing TLSv1_2_client_method... -lssl checking for library containing SSLeay... -lcrypto checking for library containing SSL_library_init... none required checking for ber_alloc in -llber... yes checking for library containing ldap_init... -lldap configure: * * * Including LDAP Support checking if we should define LDAP_DEPRECATED... yes 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/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... yes 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: * * * SSL file "/etc/pki/tls/certs/factory.pem" is missing. 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: * * * No 8-hexdigit symlinks in certificate directory "/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 -j4 'EXTRACFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lcrypto -lssl -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.20/imap' make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lcrypto -lssl -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.20/imap' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap' make[3]: `ip6' is up to date. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard'\ EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lcrypto -lssl -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.20/imap/c-client' make build EXTRACFLAGS='-DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lcrypto -lssl -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.20/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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' -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 -lcrypto -lssl -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.20/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.20/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 osdep.c:46:0: nl_unix.c: In function 'strcrlfcpy': nl_unix.c:49:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1); ^ In file included from env_unix.c:255:0, from osdep.c:47: pmatch.c: In function 'pmatch_full': pmatch.c:41:5: 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:5: 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:6: 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:6: 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:64, 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_client': auth_gss.c:100:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (chal.value = (*challenger) (stream,(unsigned long *) &chal.length)) { ^ auth_gss.c: In function 'auth_gssapi_server': auth_gss.c:339:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (resp.value = (*responder) ("",0,(unsigned long *) &resp.length)) { ^ auth_gss.c:399:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Failed to acquire credentials for %s",buf.value); ^ auth_gss.c:406:4: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); ^ auth_gss.c:414:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); ^ In file included from auths.c:3:0, from env_unix.c:259, from osdep.c:47: auth_ext.c: In function 'auth_external_client': auth_ext.c:62:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^ auth_ext.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c: In function 'auth_md5_client': auth_md5.c:103:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^ auth_md5.c:118:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^ auth_md5.c: In function 'auth_md5_server': auth_md5.c:153:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (user = (*responder) (chal,cl = strlen (chal),NIL)) { ^ auth_md5.c:155:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (hash = strrchr (user,' ')) { ^ auth_md5.c:158:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (authuser = strchr (user,'*')) *authuser++ = '\0'; ^ auth_md5.c:160:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { ^ auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:194:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ auth_md5.c:196:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); ^ auth_md5.c:198:5: 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:199: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:200:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) ^ auth_md5.c:202:7: 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:202:7: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:202:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:204:2: 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:41:0, from osdep.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:204:2: 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:204:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:204:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from osdep.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:204:2: 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:204:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:204:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:204:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:204:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:204:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:204:2: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 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 auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:205:2: 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:41:0, from osdep.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:205:2: 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:41:0, from osdep.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:205:2: 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:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from osdep.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:205:2: 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:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from osdep.c:28: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c:205:2: 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:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:208:5: 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 auths.c:4:0, from env_unix.c:259, from osdep.c:47: auth_md5.c: In function 'apop_login': auth_md5.c:237:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (authuser = strchr (user,'*')) *authuser++ = '\0'; ^ auth_md5.c:239:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { ^ In file included from auths.c:5:0, from env_unix.c:259, from osdep.c:47: auth_pla.c: In function 'auth_plain_client': auth_pla.c:66:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^ auth_pla.c:94:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^ auth_pla.c: In function 'auth_plain_server': auth_pla.c:123:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (aid = (*responder) ("",0,&len)) { ^ In file included from auths.c:6:0, from env_unix.c:259, from osdep.c:47: auth_log.c: In function 'auth_login_client': auth_log.c:66:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) { ^ auth_log.c:81:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (challenge = (*challenger) (stream,&clen)) ^ auth_log.c: In function 'auth_login_server': auth_log.c:107:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { ^ auth_log.c:108:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { ^ auth_log.c:110:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (authuser = strchr (user,'*')) *authuser++ = '\0'; ^ In file included from osdep.c:47:0: env_unix.c: In function 'do_date': env_unix.c:517:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (julian = t->tm_yday -julian) ^ env_unix.c: In function 'pwuser': env_unix.c:647:10: 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:117:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name); ^ In file included from osdep.c:47:0: env_unix.c:651:7: 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:7: 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:7: 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:117:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name); ^ In file included from osdep.c:47:0: env_unix.c: In function 'valpwd': env_unix.c:675:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = auth_md5_pwd (user)) { ^ env_unix.c:677:2: 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:3: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if (pw = pwuser (user)) {/* can get user? */ ^ env_unix.c:644:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c:682:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (pw = pwuser (user)) {/* can get user? */ ^ env_unix.c:685:2: 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:3: 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:3: 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:5: 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:5: 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:2: 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:2: 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:7: 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:7: 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:7: 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:7: 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:7: 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:7: 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:2: 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:2: 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:5: 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:5: 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:47:0: env_unix.c: In function 'dotlock_lock': env_unix.c:1260:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (base->lock,'/')) { ^ env_unix.c: In function 'lock_work': env_unix.c:1383:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (op & LOCK_NB) i = flock (fd,op); ^ env_unix.c: In function 'dorc': env_unix.c:1574:7: 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:7: 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:4: 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:4: 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:8: 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:8: 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:6: 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:6: 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:1591:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (d = mail_valid (NIL,"INBOX",NIL)) { ^ env_unix.c:1592:3: 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:3: 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:3: 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:3: 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:6: 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:6: 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:8: 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:8: 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:27:0: mail.h:1093:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define DRIVER struct driver ^ env_unix.c:1604:17: note: in expansion of macro 'DRIVER' if (d = (DRIVER *) mail_parameters (NIL,GET_DRIVER,(void *) k)) ^ In file included from osdep.c:47:0: env_unix.c:1613:4: 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:4: 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:8: 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:8: 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:6: 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:6: 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:6: 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:6: 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:9: 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:9: 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:6: 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:6: 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:6: 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:6: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:7: 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:7: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:2: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:8: 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:8: 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:8: 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:8: 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:8: 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:8: 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:4: 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:4: 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:4: 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:4: 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:6: 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:6: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:4: 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:7: 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:7: 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:2: 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:249:18: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (struct addrinfo **) cleanup))) { ^ 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_open': tcp_unix.c:179:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adr = ip_stringtoaddr (tmp,&adrlen,&family)) { ^ tcp_unix.c:226:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0]; ^ tcp_unix.c: In function 'tcp_aopen': tcp_unix.c:374:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adr = ip_stringtoaddr (host,&len,&i)) fs_give ((void **) &adr); ^ tcp_unix.c: In function 'tcp_getline': tcp_unix.c:477:3: 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:7: 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_getbuffer': tcp_unix.c:553:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (n = min (size,stream->ictr)) { ^ tcp_unix.c: In function 'tcp_clienthost': tcp_unix.c:874:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v = strchr (s,' ')) *v = '\0'; ^ tcp_unix.c: In function 'tcp_name': tcp_unix.c:1003:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = tcp_name_valid (ip_sockaddrtoname (sadr,buf))) { ^ 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 'checkpw': osdep.c:167:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] getpwnam (name) : NIL) { ^ osdep.c: In function 'ssl_start_work': osdep.c:498:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = (char *) mail_parameters (NIL,GET_SSLCAPATH,NIL)) ^ osdep.c:502:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cert = PEM_read_bio_X509 (bio = BIO_new_mem_buf (s,sl),NIL,NIL,NIL)) { ^ osdep.c:512:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] NIL,NIL,"")) { ^ osdep.c: In function 'ssl_validate_cert': osdep.c:591:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (s = strstr (cert->name,"/CN=")) { ^ osdep.c:592:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (s += 4,'/')) *t = '\0'; ^ osdep.c:594:5: 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:311:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:594:5: 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:311:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:603:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (name->type = GEN_DNS) && (s = name->d.ia5->data) && ^ osdep.c:604:6: 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:311:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:604:6: 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:311:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c: In function 'ssl_getline': osdep.c:645:3: 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:312: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:653:7: 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:312: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: In function 'ssl_server_init': osdep.c:1022:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (i = ERR_get_error ()) /* SSL failure */ ^ osdep.c: In function 'ssl_genkey': osdep.c:1044:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (i = ERR_get_error ()) ^ 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:194:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ In file included from osdep.c:47:0: env_unix.c: In function 'pw_login': env_unix.c:791:43: 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 'mm_cache': mail.c:213:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (stream->cache[i] = stream->cache[msgno]) ^ mail.c: In function 'mail_parameters': mail.c:384:5: 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:384:5: 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:389:5: 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:389:5: 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:391:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = (void *) d) d->flags &= ~DR_DISABLE; ^ mail.c:394:5: 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:394:5: 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:396:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = (void *) d) d->flags |= DR_DISABLE; ^ mail.c:400:3: 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:400:3: 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:401:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = (void *) a) a->flags &= ~AU_DISABLE; ^ mail.c:405:3: 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:405:3: 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = (void *) a) a->flags |= AU_DISABLE; ^ mail.c:410:3: 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:410:3: 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = (void *) a) a->flags &= ~AU_HIDE; ^ mail.c:415:3: 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:415:3: 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:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = (void *) a) a->flags |= AU_HIDE; ^ mail.c:650:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (r = smtp_parameters (function,value)) ret = r; ^ mail.c:651:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (r = env_parameters (function,value)) ret = r; ^ mail.c:652:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (r = tcp_parameters (function,value)) ret = r; ^ mail.c:654:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (r = (*stream->dtb->parameters) (function,value)) ret = r; ^ mail.c:658:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (r = (d->parameters) (function,value)) ret = r; ^ mail.c: In function 'mail_valid_net_parse_work': mail.c:772:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strpbrk (s = t,"/:=")) { ^ mail.c:790:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strpbrk (v = t,"/:")) { ^ mail.c:797:2: 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:797:2: 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:798:4: 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:799:2: 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:799:2: 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:801:2: 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:801:2: 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:807:2: 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:807:2: 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:808:2: 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:808:2: 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:809:2: 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:809:2: 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:810:2: 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:810:2: 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:811:2: 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:811:2: 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:812:2: 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:812:2: 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:813:2: 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:813:2: 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:815:2: 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:815:2: 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:817:2: 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:817:2: 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:819:2: 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:819:2: 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:821:2: 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:821:2: 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:823:2: 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:823:2: 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:827:2: 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:827:2: 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:830:2: 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:830:2: 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:834:2: 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:834:2: 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:837:2: 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:837:2: 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:840:2: 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:840:2: 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:843:2: 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:843:2: 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:844:4: 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:844:4: 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:845:4: 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:845:4: 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:846:4: 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:846:4: 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:847:4: 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:847:4: 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:848:4: 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:849:2: 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:849:2: 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:850:4: 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:850:4: 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:851:4: 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:851:4: 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:852:4: 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:852:4: 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:854:2: 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:854:2: 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_list': mail.c:939:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (d = d->next); /* until at the end */ ^ mail.c: In function 'mail_lsub': mail.c:972:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (d = d->next); /* until at the end */ ^ mail.c: In function 'mail_create': mail.c:1016:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strpbrk (mailbox,"\015\012")) { ^ mail.c:1027:3: 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:1027:3: 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:1032:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = mail_utf7_valid (mailbox)) { ^ mail.c: In function 'mail_rename': mail.c:1121:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = mail_utf7_valid (newname)) { ^ mail.c: In function 'mail_open': mail.c:1228:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (stream = mail_open (stream,s+1,options)) { ^ mail.c:1245:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (stream = mail_open (stream,mb.mailbox,options)) { ^ mail.c:1276:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strpbrk (tmp,"/\\:")) *s++ = '\0'; ^ mail.c:1282:7: 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:1282:7: 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:1504:3: 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:1783: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:1520:3: 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:1782: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:1545:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ mail.c: In function 'mail_fetch_structure': mail.c:1576:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c: In function 'mail_fetch_message': mail.c:1688:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c: In function 'mail_fetch_header': mail.c:1758:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c:1763:5: 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:1712:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c:1812:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] (*stream->dtb->header) (stream,msgno,&rt.size,flags)) { ^ mail.c: In function 'mail_fetch_text': mail.c:1849:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c:1854:5: 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:1712: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:1904:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c:1908:3: 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:1712: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:1987:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c:1991:3: 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:1712: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:2045:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c:2051:5: 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:1712: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:2115:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; ^ mail.c:2119:3: 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:1712:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_msgno': mail.c:2265:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (delta = ((last - first) / 2)) { ^ mail.c: In function 'mail_flag': mail.c:2341:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c:2342:8: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c: In function 'mail_search_default': mail.c:2419:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msg = utf8_badcharset (charset)) { ^ mail.c: In function 'mail_append_multiple': mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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:41:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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:41:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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:2631:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2631:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 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:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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:41:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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:2631:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2631:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 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:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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); ^ mail.c:2631:3: 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:2631:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2631:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 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:2631:3: 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); ^ mail.c:2631:3: 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:2631:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2631:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 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:2631:3: 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:41: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:2645:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (d = mail_valid (stream,mailbox,NIL)) ^ mail.c: In function 'mail_gc': mail.c:2683:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elt = (MESSAGECACHE *) (*mailcache) (stream,i,CH_ELT)) ^ mail.c: In function 'mail_body_section': mail.c:2750:2: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2755:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pt = b->nested.part) while (--i && (pt = pt->next)); ^ mail.c: In function 'mail_body': mail.c:2790:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i; ^ mail.c:2789:9: warning: unused variable 'pt' [-Wunused-variable] PART *pt; ^ mail.c: In function 'mail_parse_date': mail.c:2900:3: 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:41:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2900:3: 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:375:0, from /usr/include/ctype.h:26, from mail.c:27: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mail.c:2900:3: 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:2906:3: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2910:5: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2912:7: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2922:7: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2923:4: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2928:5: 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:41:0, from c-client.h:42, from mail.c:30: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2956:7: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2980:5: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2982:5: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2983:5: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:3133:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = gmtime (&tn)) { /* minus UTC minutes since midnight */ ^ mail.c: In function 'mail_uid_sequence': mail.c:3313:5: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:3324:7: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:3354:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (x = mail_msgno (stream,i)) mail_elt (stream,x)->sequence = T; ^ mail.c: In function 'mail_match_lines': mail.c:3387:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (lines = lines->next); ^ mail.c: In function 'mail_filter': mail.c:3419:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = t - tmp) /* see if found in header */ ^ mail.c:3421:2: 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); ^ In file included from c-client.h:41:0, from mail.c:30: mail.c: In function 'mail_search_msg': mail.h:764:21: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] #define BODY struct mail_bodystruct ^ mail.c:3565:7: note: in expansion of macro 'BODY' BODY *body = mail_body (stream,msgno,section); ^ mail.c:2786: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_header_text': mail.c:3671:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (h.data = (unsigned char *) s) { ^ mail.c: In function 'mail_search_text': mail.c:3722:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (st = st->next) s = s->next = mail_newstringlist (); ^ mail.c:3737:5: 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:2786: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_body': mail.c:3804:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (body = body->nested.msg->body) ^ mail.c:3822:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] rfc822_base64 ((unsigned char *) s,i,&st.size)) { ^ mail.c:3828:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (st.data = rfc822_qprint ((unsigned char *) s,i,&st.size)) { ^ mail.c: In function 'mail_search_string': mail.c:3856:16: warning: unused variable 'sc' [-Wunused-variable] STRINGLIST **sc = st; ^ mail.c: In function 'mail_search_keyword': mail.c:3904:7: 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:3909:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (st = st->next); ^ mail.c: In function 'mail_search_addr': mail.c:3938:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tadr.personal = a->personal) k += 3 + 2*strlen (a->personal); ^ mail.c:3939:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tadr.adl = a->adl) k += 3 + 2*strlen (a->adl); ^ mail.c:3940:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tadr.host = a->host) k += 3 + 2*strlen (a->host); ^ mail.c: In function 'mail_criteria': mail.c:4035:7: 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:4126:7: 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:2882: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_criteria_string': mail.c:4175:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (d = strtok_r (c,end,r)) n = strlen (d); ^ mail.c: In function 'mail_sort_loadcache': mail.c:4382:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (env) t = env->date; ^ mail.c:4386:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (x = ++t; x = strpbrk (x,"\012\015"); x++) ^ mail.c:4398:4: 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:2882:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c:4422:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (x = ++t; x = strpbrk (x,"\012\015"); x++) ^ mail.c:4430:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v = strchr (v,':')) { ^ mail.c:4456:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (x = ++t; x = strpbrk (x,"\012\015"); x++) ^ mail.c:4464:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v = strchr (v,':')) { ^ mail.c:4490:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (x = ++t; x = strpbrk (x,"\012\015"); x++) ^ mail.c:4498:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v = strchr (v,':')) { ^ mail.c:4525:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (x = ++t; x = strpbrk (x,"\012\015"); x++) ^ mail.c: In function 'mail_strip_subject': mail.c:4559:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (src.size = strlen (t)) { /* have non-empty subject? */ ^ mail.c: In function 'mail_sort_compare': mail.c:4701:7: 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:4701:7: 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:4704:7: 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:4704:7: 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:4707:7: 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:4707:7: 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:4710:7: 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:4710:7: 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:4715:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (pgm = i ? NIL : pgm->next); ^ mail.c: In function 'mail_thread_msgs': mail.c:4809:5: 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:4809:5: 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:4842:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (lst = (*sorter) (stream,charset,spg,&pgm,flags & ~(SE_FREE | SE_UID))){ ^ mail.c:4853:2: 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:4853:2: 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_references': mail.c:4956:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (env = mail_fetch_structure (stream,s->num,NIL,NIL)) { ^ mail.c:5004:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] THREADLINKS); st = st->next; con = nxc) { ^ mail.c: In function 'mail_thread_loadcache': mail.c:5175:5: 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:2882: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_thread_parse_references': mail.c:5242:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = mail_thread_parse_msgid (s,&s)) { ^ mail.c:5246:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (cur = ret; t = mail_thread_parse_msgid (s,&s); cur = cur->next) { ^ mail.c: In function 'mail_thread_c2node': mail.c:5348:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (nxt = CHILD (con)) cur->next = mail_thread_c2node (stream,nxt,flags); ^ mail.c: In function 'mail_sequence': mail.c:5430:5: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:5446:7: 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:40:0, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_parse_flags': mail.c:5499:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (n = strchr (t,' ')) *n++ = '\0'; ^ mail.c:5501:2: 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:5501:2: 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:5502:2: 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:5502:2: 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:5503:2: 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:5503:2: 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:5504:2: 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:5504:2: 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:5505:2: 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:5505:2: 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:5515:4: 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:5515:4: 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:5566:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s = tcp_canonical (nmb.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:5566:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s = tcp_canonical (nmb.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:5571:8: 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:5571:8: 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:6143:5: 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:6143:5: 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:6176:2: 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:6176:2: 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 'net_open_work': mail.c:6267:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tstream = (*dv->open) (host,service,port | flags)) { ^ mail.c: In function 'net_aopen': mail.c:6289:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tstream = (*dv->aopen) (mb,service,user)) { ^ mail.c: In function 'mail_parse_set': mail.c:4199: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 'hash_reset': misc.c:314:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 0; i < hashtab->size; i++) if (ent = hashtab->table[i]) ^ misc.c: In function 'hash_index': misc.c:331:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (ret = 0; i = (unsigned int) *key++; ret += i) ret *= HASHMULT; ^ misc.c: In function 'compare_string': misc.c:450:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (; *s1 && *s2; s1++,s2++) if (i = (compare_ulong (*s1,*s2))) return i; ^ misc.c: In function 'compare_cstring': misc.c:469:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (; *s1 && *s2; s1++,s2++) if (i = (compare_uchar (*s1,*s2))) return i; ^ 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) ^ misc.c:489:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = (compare_uchar (*s1,*s))) return i; ^ `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function 'newsrc_newmessages': newsrc.c:126:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (k = elt->private.uid - 1) { ^ newsrc.c: In function 'newsrc_lsub': newsrc.c:167:2: 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:64, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:167:2: 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:64, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:170:4: 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:64, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:170:4: 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:64, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c: In function 'newsrc_write': newsrc.c:343:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = fopen (newsrc,"rb")) {/* have existing newsrc file? */ ^ newsrc.c:368:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = newsrc_create (stream,NIL)) bf = NIL; ^ newsrc.c:384:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = newsrc_create (stream,T)) bf = NIL; ^ newsrc.c: In function 'newsrc_state': newsrc.c:468:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s,(size_t) 1,size,f); ^ `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c: In function 'sm_subscribe': smanager.c:42:3: 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:3: 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:44:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = fopen (db,"r")) { /* make sure not already there */ ^ smanager.c:46:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (tmp,'\n')) *s = '\0'; ^ smanager.c: In function 'sm_unsubscribe': smanager.c:75:3: 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:3: 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:86:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (tmp,'\n')) *s = '\0'; ^ smanager.c: In function 'sm_read': smanager.c:116:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = fopen (sbname,"r")) *sdb = (void *) f; ^ smanager.c:120:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (sbname,'\n')) *s = '\0'; ^ `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c:340:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ utf8.c:340:1: warning: (near initialization for 'utf8_csvalid[92]') [-Wmissing-braces] utf8.c:367:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ utf8.c:367:1: warning: (near initialization for 'utf8_scvalid[21]') [-Wmissing-braces] utf8.c: In function 'utf8_script': utf8.c:380:7: 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:380:7: 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:397:7: 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:397:7: 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:583:3: 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:583:3: 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:610:8: 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:610:8: 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:644:3: 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:644:3: 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_rmap_cs': utf8.c:659:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (ret = utf8_rmap_gen (cs,currmap)) { ^ utf8.c: In function 'utf8_rmaptext': utf8.c:791:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = utf8_rmapsize (text,rmap,errch,iso2022jp)) { ^ utf8.c: In function 'utf8_csvalidmap': utf8.c:1320:5: 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:1320:5: 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:1322:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cs = utf8_charset (s)) { ^ utf8.c: In function 'ucs4_decompose': utf8.c:2424:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m = (struct decomposemore *) *more) switch (m->type) { ^ utf8.c:2447:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = ucs4_dbmploixtab[c - UCS4_BMPLOMIN]) { ^ utf8.c:2477:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = ucs4_dbmphiixtab[c - UCS4_BMPHIMIN]) { ^ utf8.c: In function 'ucs4_decompose_recursive': utf8.c:2404:30: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define RECURSIVEMORE struct recursivemore ^ utf8.c:2542:15: note: in expansion of macro 'RECURSIVEMORE' if (mr = (RECURSIVEMORE *) *more) switch (mr->more->type) { ^ utf8.c:2562:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mr = mn) { /* did this value recurse on us? */ ^ utf8.c: In function 'ucs4_decompose': utf8.c:2526:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^ `cat CCTYPE` -c `cat CFLAGS` utf8aux.c utf8aux.c: In function 'utf8_stringlist': utf8aux.c:47:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (st = st->next); ^ utf8aux.c: In function 'utf8_mime2text': utf8aux.c:136:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ls = strchr (cs,'*')) *ls = '\0'; ^ utf8aux.c: In function 'mime2_decode': utf8aux.c:241:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (txt->data = (unsigned char *) rfc822_base64 (t,te - t,&txt->size)) ^ utf8aux.c: In function 'utf8_from_mutf7': utf8aux.c:415:3: 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:1649:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_utf7_valid (char *mailbox); ^ utf8aux.c:420:3: 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:41:0, from c-client.h:42, from utf8aux.c:32: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ utf8aux.c:420:3: 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:420:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c: In function 'dummy_valid': dummy.c:127:5: 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:5: 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:166:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (test,'/')) *++s = '\0'; ^ dummy.c:174:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strpbrk (test,"%*")) { ^ dummy.c:180:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (file,'/')){/* find directory name */ ^ dummy.c:189:5: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ In file included from dummy.c:36:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dummy.c:189:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:7: 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:7: 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:4: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ In file included from dummy.c:36:0: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dummy.c:229:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:7: 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:64, 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:7: 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:64, 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:2: 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:64, 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:2: 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:64, 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:238:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = sm_read (tmpx,&sdb)); ^ dummy.c: In function 'dummy_list_work': dummy.c:287:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dp = opendir (tmp)) { /* do nothing if can't open directory */ ^ dummy.c:295:5: 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:64, 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:5: 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:64, 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:5: 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:64, 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:5: 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:64, 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:299:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (!dir || dir[(len = strlen (dir)) - 1] == '/') while (d = readdir (dp)) ^ dummy.c:309:2: 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:64, 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:2: 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:64, 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:7: 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:64, 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:7: 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:64, 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:7: 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:64, 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:7: 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:64, 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:320:6: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:320:6: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:8: 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:64, 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:8: 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:64, 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:8: 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:64, 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:8: 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:64, 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:6: 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:64, 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:6: 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:64, 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:6: 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:64, 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:6: 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:64, 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:6: 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:6: 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:5: warning: implicit declaration of function 'maildir_create' [-Wimplicit-function-declaration] return maildir_create(stream, mailbox); ^ dummy.c:465:3: 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:3: 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_create_path': dummy.c:492:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (path,'/')) { /* found superior to this name? */ ^ dummy.c: In function 'dummy_delete': dummy.c:530:2: warning: implicit declaration of function 'is_valid_maildir' [-Wimplicit-function-declaration] || is_valid_maildir(&mailbox)){ ^ dummy.c:535:6: warning: implicit declaration of function 'maildir_delete' [-Wimplicit-function-declaration] return maildir_delete(stream, tmp); ^ dummy.c: In function 'dummy_rename': dummy.c:594:3: 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:3: 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:5: 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:5: 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:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ dummy.c:733:7: 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:1782: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:3: 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:3: 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_canonicalize': dummy.c:831:28: warning: value computed is not used [-Wunused-value] for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ dummy.c: In function 'dummy_scan_contents': dummy.c:388:12: 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 netmsg.c: In function 'netmsg_slurp': netmsg.c:64:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = fopen (tmp,"wb+")) unlink (tmp); ^ netmsg.c:73:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = net_getline (stream)) { ^ `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c fdstring.c: In function 'fd_string_setpos': fdstring.c:94:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s->cursize = min (s->chunksize,SIZE (s))) { ^ fdstring.c:97:10: 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:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (d->fd,s->chunk,(size_t) s->cursize); ^ `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:159:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = d = strchr (tmp,':')) { ^ rfc822.c:163:7: 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:208:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *d++) if (c != ' ') *t++ = c; ^ rfc822.c:222:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = rfc822_parse_phrase (d)) *t = '\0'; ^ rfc822.c:233:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *d++) if (c != ' ') *t++ = c; ^ 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:8: 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:446:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m = GETPOS (bs)) m--; /* get position in front of character */ ^ rfc822.c:456:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (k = j - 2) for (s = s1; i-- && *s++ == (c = SNX (bs)) && --k;); ^ rfc822.c:512:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = part->body.mime.text.size) { ^ rfc822.c:555:6: 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:6: 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:613:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (name,' ')) *t = '\0'; ^ rfc822.c:626:7: 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:2: 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:7: 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:7: 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:4: 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:2: 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:7: 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:7: 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:4: 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:7: 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_parse_adrlist': rfc822.c:803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (adr = rfc822_parse_address (lst,last,&string,host,0)) { ^ rfc822.c: In function 'rfc822_parse_address': rfc822.c:857:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adr = rfc822_parse_group (lst,last,string,defaulthost,depth)) last = adr; ^ rfc822.c:859:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (adr = rfc822_parse_mailbox (string,defaulthost)) { ^ rfc822.c: In function 'rfc822_parse_group': rfc822.c:905:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adr = rfc822_parse_address (lst,last,string,defaulthost,depth+1)) { ^ rfc822.c: In function 'rfc822_parse_mailbox': rfc822.c:964:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (end = rfc822_parse_phrase (s)) { ^ rfc822.c: In function 'rfc822_parse_addrspec': rfc822.c:1093:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = rfc822_parse_word (string,wspecials)) { ^ rfc822.c: In function 'rfc822_parse_domain': rfc822.c:1161:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (t = rfc822_parse_word (string,wspecials)) { ^ rfc822.c:1171:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (string = rfc822_parse_domain (string,&t)) { ^ rfc822.c: In function 'rfc822_parse_word': rfc822.c:1238:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (st = strchr (st,I2C_ESC)) ^ rfc822.c: In function 'rfc822_output_data': rfc822.c:1437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = min (len,buf->end - buf->cur)) { ^ rfc822.c: In function 'rfc822_output_header': rfc822.c:1528:5: 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_cat': rfc822.c:1685:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (; s = strpbrk (src,"\\\""); src = s + 1) { ^ rfc822.c: In function 'rfc822_encode_body_7bit': rfc822.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (part = part->next); /* until done */ ^ rfc822.c: In function 'rfc822_encode_body_8bit': rfc822.c:1871:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (part = part->next); /* until done */ ^ rfc822.c: In function 'rfc822_base64': rfc822.c:2027:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strpbrk (tmp,"\015\012")) *s = NIL; ^ 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:355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = net_getline (LOCAL->nntpstream->netstream)) { ^ nntp.c:360:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (s,' ')) { /* tie off after newsgroup name */ ^ nntp.c:364:2: 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:64, 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:2: 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:64, 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:4: 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:64, 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:4: 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:64, 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_lsub': nntp.c:399:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = sm_read (tmp,&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ nntp.c:399:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] In file included from env_unix.h:58:0, from osdep.h:64, 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:399:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (tmp,&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:402:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = sm_read (tmp,&sdb)); ^ nntp.c: In function 'nntp_canonicalize': nntp.c:433:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (s = wildmat; s = strchr (s,'%'); *s = '*'); ^ nntp.c: In function 'nntp_status': nntp.c:559:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (state = newsrc_state (stream,name)) { ^ nntp.c:569:6: 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:2: 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:751:6: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] net_host (nstream->netstream) : mb.host)); ^ 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:6: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:874:6: 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:1782: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:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:916:7: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c: In function 'nntp_overview': nntp.c:949:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (t = v = s; c = *v++;) ^ 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,".")){ ^ nntp.c:1019:5: 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:41:0, from c-client.h:42, from nntp.c:30: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ nntp.c:1019:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:1019:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from nntp.c:30: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ nntp.c:1019:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:1019:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:1019:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:1019:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:1019:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c: In function 'nntp_parse_overview': nntp.c:1059:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (ov->subject,'\t')) { ^ nntp.c:1062:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ov->date = strchr (t,'\t')) { ^ nntp.c:1065:7: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c:1069:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ov->message_id = strchr (ov->date,'\t')) { ^ nntp.c:1073:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ov->references = strchr (ov->message_id,'\t')) { ^ nntp.c:1077:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (ov->references,'\t')) { ^ nntp.c:1082:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (t,'\t')) { ^ nntp.c:1086:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ov->optional.xref = strchr (t,'\t')) ^ nntp.c: In function 'nntp_header': nntp.c:1119:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (f = netmsg_slurp (LOCAL->nntpstream->netstream,size,NIL)) { ^ nntp.c: In function 'nntp_text': nntp.c:1172:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] &LOCAL->txtsize,NIL)) break; ^ nntp.c: In function 'nntp_search': nntp.c:1236:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msg = utf8_badcharset (charset)) { ^ nntp.c: In function 'nntp_search_msg': nntp.c:1289:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (set = pgm->msgno) { /* must be inside this sequence */ ^ nntp.c:1297:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (set = pgm->uid) { /* must be inside this sequence */ ^ nntp.c:1334:2: 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:1716: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:1533:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (t = v = s; c = *v++;) if ((c != '\012') && (c != '\015')) *t++ = c; ^ nntp.c:1542:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (v,'\t')) { ^ nntp.c:1544:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (adr = rfc822_parse_address (&adr,adr,&v,BADHOST,0)) { ^ nntp.c:1549:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v = strchr (t,'\t')) { ^ nntp.c:1551:6: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_open_full': nntp.c:1702:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] "*nntps",nntp_sslport ? nntp_sslport : NNTPSSLPORT)) { ^ nntp.c:1742:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SSL_MTHD(mb) | (mb.novalidate ? NET_NOVALIDATECERT:NIL))) ^ nntp.c: In function 'nntp_extensions': nntp.c:1837:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (args = strchr (t,' ')) *args++ = '\0'; ^ nntp.c:1838:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:2: 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:2: 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:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (s = strstr (env->date," (")) *s = NIL; ^ In file included from osdep.h:41:0, from c-client.h:42, from nntp.c:30: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:1936:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strstr (env->date," (")) *s = NIL; ^ 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_soutr': nntp.c:2234:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (t = strstr (s,"\015\012.")) { ^ nntp.c: In function 'nntp_mopen': nntp.c:784:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), ^ nntp.c: In function 'nntp_header': nntp.c:1120:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^ `cat CCTYPE` -c `cat CFLAGS` smtp.c smtp.c: In function 'smtp_open_full': smtp.c:162:7: 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:35: 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:162:7: 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:35: 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:171:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] "*smtps",smtp_sslport ? smtp_sslport : SMTPSSLPORT)) { ^ smtp.c:180:2: 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:35: 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:180:2: 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:35: 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:695:7: 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:35: 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:695:7: 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:35: 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:699:7: 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:35: 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:699:7: 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:35: 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:703:7: 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:35: 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:703:7: 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:35: 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:707:7: 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:35: 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:707:7: 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:35: 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:713:5: 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:35: 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:713:5: 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:35: 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:714:5: 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:35: 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:714:5: 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:35: 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:715:5: 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:35: 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:715:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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:5: 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:35: 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_soutr': smtp.c:788:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (t = strstr (s,"\015\012.")) { ^ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c imap4r1.c: In function 'imap_lsub': imap4r1.c:507:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = sm_read (tmp,&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ imap4r1.c:507:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] In file included from env_unix.h:58:0, from osdep.h:64, from c-client.h:42, from imap4r1.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); ^ imap4r1.c:507:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (tmp,&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:58:0, from osdep.h:64, from c-client.h:42, from imap4r1.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); ^ imap4r1.c:510:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = sm_read (tmp,&sdb)); ^ imap4r1.c: In function 'imap_list_work': imap4r1.c:567:7: 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:36: 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:567:7: 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:36: 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:569:7: 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:36: 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:569:7: 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:36: 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:4: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:581:4: 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:581:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:581:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:581:4: 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:581:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:581:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:581:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:581:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:581:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:2: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:582:2: 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:582:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:582:2: 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:582:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_manage': imap4r1.c:684:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && ^ imap4r1.c:705:5: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_open': imap4r1.c:852:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (reply = imap_rimap (stream,"*imap",&mb,usr,tmp)); ^ imap4r1.c:873:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:873:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:873:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:873:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:873:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:873:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:873:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:873:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:873:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:873:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:874:2: 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:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:874:2: 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:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:874:2: 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:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:874:2: 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:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:7: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:880:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:880:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:880:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:880:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:880:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:880:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:880:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:880:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:880:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:880:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:996:2: 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:36: 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:996:2: 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:36: 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:1006:2: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_rimap': imap4r1.c:1052:4: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1052:4: 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:1052:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1052:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1052:4: 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:1052:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1052:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1052:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1052:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1052:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1056:2: 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:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1056:2: 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:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1056:2: 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:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1056:2: 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:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1056:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1056:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_anon': imap4r1.c:1092:5: 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:36: 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:1094:7: 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:36: 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:1109:3: 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:36: mail.h:1624: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:1159:2: 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:36: 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:1160:4: 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:36: 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:1169:2: 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:36: 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:1221:4: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_challenge': imap4r1.c:1251:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1251:3: 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:1251:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1251:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:1251:3: 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:1251:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1251:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1251:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1251:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1251:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1256:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (reply->text),len))) { ^ In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395: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:1313:2: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1328:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (thr = LOCAL->cap.threader) while (t = thr) { ^ imap4r1.c:1328:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] imap4r1.c: In function 'imap_fast': imap4r1.c:1353:3: 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:36: mail.h:1624: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:1374:5: 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:36: mail.h:1624: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:1427:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1475:7: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1511:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] min (set->last,stream->nmsgs)) { ^ imap4r1.c:1533:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (k = (k > i) ? k - i : 0) ^ imap4r1.c:1602:4: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1604:2: 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:36: mail.h:1624: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:1711:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (t = strstr (section,".HEADER")) { ^ imap4r1.c:1834:7: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1844:7: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1853:7: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1857:5: 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:36: mail.h:1624: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:1895:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (k = imap_uidlookahead) {/* build UID list */ ^ imap4r1.c:1910:7: 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:36: mail.h:1624: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:1946:7: 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:36: mail.h:1624: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:1987:5: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_search': imap4r1.c:2055:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2055:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2059:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (set = ss; set; set = set->next) if (i = set->first) { ^ imap4r1.c:2074:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2074:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2074:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2074:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2074:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2074:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2074:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2074:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2074:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2074:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2080:7: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:2116:2: 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:36: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_sort': imap4r1.c:2179:7: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2179:7: 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:2179:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2179:7: 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:2179:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2186:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2186:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2186:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2186:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2186:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2186:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2186:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2186:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2186:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2186:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2195:5: 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:36: mail.h:1624: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:2282:7: 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:36: 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:2282:7: 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:36: 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_thread_work': imap4r1.c:2342:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2342:5: 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:2342:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2342:5: 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:2342:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2349:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2349:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2349:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2349:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:2349:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2349:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2349:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2349:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2349:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2349:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2357:3: 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:36: mail.h:1624: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:2381:3: 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:36: mail.h:1624: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:2406:5: 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:36: mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2434:3: 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:36: mail.h:1624: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:2472:3: 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:36: mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2476:3: 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:36: mail.h:1624: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:2529:2: 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:36: mail.h:1624: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:2592:7: 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:36: mail.h:1624: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:2622:5: 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:36: mail.h:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:2626:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ imap4r1.c:2627:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ imap4r1.c:2628:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ imap4r1.c: In function 'imap_gc': imap4r1.c:2661:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elt = (MESSAGECACHE *) (*mc) (stream,i,CH_ELT)) ^ imap4r1.c: In function 'imap_capability': imap4r1.c:2716:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (thr = LOCAL->cap.threader) while (t = thr) { ^ imap4r1.c:2716:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] imap4r1.c: In function 'imap_acl_work': imap4r1.c:2824:5: 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:36: mail.h:1624: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:2848:5: 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:36: mail.h:1624: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:2870:5: 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:36: mail.h:1624: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:2893:5: 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:36: mail.h:1624: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:2930:5: 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:36: 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:2930:5: 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:36: 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:2931:4: 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:36: 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:2931:4: 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:36: 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:2932:4: 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:36: 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:2932:4: 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:36: 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:2938:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (arglst = args) while (arg = *arglst++) { ^ imap4r1.c:2938:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] imap4r1.c:2958:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_astring (stream,tag,&s,&st,NIL,CMDBASE+MAXCOMMAND)) ^ imap4r1.c:2962:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_literal (stream,tag,&s,arg->text)) return reply; ^ imap4r1.c:2971:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] CMDBASE+MAXCOMMAND)) return reply; ^ imap4r1.c:2974:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (list = list->next); ^ imap4r1.c:2979:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] CMDBASE+MAXCOMMAND)) ^ imap4r1.c:3064:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_astring (stream,tag,&s,&st,T,CMDBASE+MAXCOMMAND)) ^ imap4r1.c:3085:2: 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:36: mail.h:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:3086:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = map->flags) { /* flags given? */ ^ imap4r1.c:3099:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] CMDBASE+MAXCOMMAND)) return reply; ^ imap4r1.c:3102:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_literal (stream,tag,&s,map->message)) ^ imap4r1.c:3132:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (list = list->next); ^ imap4r1.c: In function 'imap_send_literal': imap4r1.c:3211:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3211:3: 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:3211:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3211:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3211:3: 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:3211:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3211:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3211:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3211:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3211:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_send_spgm': imap4r1.c:3366:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (hdr = pgm->header) do { ^ imap4r1.c:3368:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_astring (stream,tag,s,&hdr->line,NIL,limit)) ^ imap4r1.c:3371:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_astring (stream,tag,s,&hdr->text,NIL,limit)) ^ imap4r1.c:3373:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (hdr = hdr->next); ^ imap4r1.c:3376:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_spgm (stream,tag,base,s,pgo->first,limit)) ^ imap4r1.c:3379:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_spgm (stream,tag,base,s,pgo->second,limit)) ^ imap4r1.c:3385:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_spgm (stream,tag,base,s,pgl->pgm,limit)) ^ imap4r1.c: In function 'imap_send_sset': imap4r1.c:3463:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_literal (stream,tag,s,&st)) return reply; ^ imap4r1.c:3465:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_send_sset (stream,tag,NIL,s,set,prefix,limit)) ^ imap4r1.c: In function 'imap_reply': imap4r1.c:3566:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (reply = imap_parse_reply (stream,net_getline (LOCAL->netstream))) { ^ imap4r1.c:3568:7: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3568:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3568:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3568:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3568:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3568:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3568:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3568:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3568:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3568:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3570:7: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3570:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3570:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3570:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3570:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3570:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3570:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3570:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3570:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3570:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3575:2: 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:36: 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:3601:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ imap4r1.c:3607:3: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (LOCAL->reply.line); ^ In file included from c-client.h:41:0, from imap4r1.c:36: mail.h:1625:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:3608:3: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3608:3: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3608:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ imap4r1.c:3614:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^ In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3614:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:3614:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3614:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3614:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:3614:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3614:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3614:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3614:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3614:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3616:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { ^ imap4r1.c:3626:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:3627:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^ In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3630:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ imap4r1.c:3631:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:3632:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = ""; ^ imap4r1.c: In function 'imap_fake': imap4r1.c:3652:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ imap4r1.c:3653:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ imap4r1.c:3654:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = text; ^ imap4r1.c: In function 'imap_OK': imap4r1.c:3669:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3669:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3669:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3669:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3669:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3669:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3669:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3669:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3669:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3669:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3670:5: 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:231: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:3674:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3674:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3674:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3674:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3674:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3674:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3674:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3674:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3674:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3674:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3675:5: 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:231: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:3677:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3677:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3677:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3677:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3677:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3677:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3677:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3677:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3677:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3677:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3678:7: 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:231: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:3702:5: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3716:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3716:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3716:5: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3717:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ ^ imap4r1.c:3720:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3720:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3720:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3720:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3720:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3720:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3720:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3720:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3720:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3720:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3722:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3722:5: 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:3722:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3722:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3722:5: 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:3722:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3722:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3722:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3722:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3722:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3724:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3724:5: 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:3724:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3724:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3724:5: 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:3724:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3724:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3724:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3724:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3724:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3732:5: 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:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3732:5: 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:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3732:5: 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:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3732:5: 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:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3732:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3732:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3743:7: 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))) { ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3743:7: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3743:52: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:3747:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3747:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:3747:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3747:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:3747:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3747:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3747:2: 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:3747:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3755:6: 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:36: mail.h:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:3761:4: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3802:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ imap4r1.c:3804:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ imap4r1.c:3806:8: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3806:8: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3806:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3806:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3806:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3806:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3806:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3806:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3806:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3806:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3806:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3806:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.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) ^ imap4r1.c:3807:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3807:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3807:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3807:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3807:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3807:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3807:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3807:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3807:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3807:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3817:8: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3817:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3817:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3817:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3822:3: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3865:6: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3901:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3901:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:3901:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3901:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3901:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:3901:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3901:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3901:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3901:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3901:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3908:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3908:3: 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:3908:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3908:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3908:3: 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:3908:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3908:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3908:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3908:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3908:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3910:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3910:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3910:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ imap4r1.c:3913:7: 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:36: 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:3919:7: 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:36: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:3921:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (s = strtok_r (NIL," )",&r)); ^ imap4r1.c:3921:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = strtok_r (NIL," )",&r)); ^ imap4r1.c:3922:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3922:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:3922:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3922:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3922:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:3922:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3922:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3922:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3922:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3922:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3924:5: 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 ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3924:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3924:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ imap4r1.c:3925:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (i = strtoul (t,NIL,10)) { ^ In file included from osdep.h:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3925:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = strtoul (t,NIL,10)) { ^ imap4r1.c:3934:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:3934:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:3936:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3936:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:3936:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3936:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3936:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:3936:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3936:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3936:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3936:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3936:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3944:5: 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))) { ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3944:5: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3944:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ imap4r1.c:3945:7: 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:375:0, from /usr/include/ctype.h:26, from imap4r1.c:33: /usr/include/stdlib.h:283:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^ imap4r1.c:3948:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); ^ imap4r1.c:3954:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3954:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:3954:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3954:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3954:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:3954:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3954:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3954:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3954:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3954:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3958:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = reply->text) { ^ imap4r1.c:3969:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3969:3: 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:3969:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3969:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3969:3: 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:3969:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3969:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3969:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3969:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3969:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3973:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:3973:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3973:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:3979:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:3979:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3979:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:3982:2: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3983:2: 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:36: 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:3987:2: 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:36: 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:3991:2: 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:36: 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:3995:2: 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:36: 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:3999:2: 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:36: 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:4008:2: 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:375:0, from /usr/include/ctype.h:26, from imap4r1.c:33: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imap4r1.c:4016:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4016:3: 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:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4016:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4016:3: 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:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4016:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4016:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4016:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4016:3: 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:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4016:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4016:3: 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:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4016:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4016:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4016:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4018:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4018:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4018:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4022:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ imap4r1.c:4022:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strtok_r (reply->text+1," ",&r)) do { ^ imap4r1.c:4023:7: 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:36: 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:4024:7: 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:36: 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:4025:7: 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:36: 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:4026:7: 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:36: 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:4027:7: 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:36: 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:4028:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; ^ In file included from c-client.h:48:0, from imap4r1.c:36: 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:4031:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:4031:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:4042:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = imap_parse_astring (stream,&s,reply,&j)) { ^ imap4r1.c:4045:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ imap4r1.c:4045:2: 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:375:0, from /usr/include/ctype.h:26, from imap4r1.c:33: /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:4048:7: 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:36: mail.h:1622:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4049:7: 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:36: mail.h:1621:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4053:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4053:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4053:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4053:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4053:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4053:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4053:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4053:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4053:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4053:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4060:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = reply->text) { /* parse namespace results */ ^ imap4r1.c:4076:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4076:3: 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:4076:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4076:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4076:3: 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:4076:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4076:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4076:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4076:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4076:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4082:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ imap4r1.c:4084:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ac->rights = imap_parse_astring (stream,&s,reply,NIL); ^ imap4r1.c:4093:7: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,al); ^ imap4r1.c:4093:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4097:5: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:4097:5: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4101:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4101:3: 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:4101:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4101:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4101:3: 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:4101:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4101:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4101:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4101:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4101:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4105:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ imap4r1.c:4107:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4121:4: 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:4121:4: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4126:2: 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:4126:2: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4144:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4144:3: 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:4144:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4144:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4144:3: 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:4144:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4144:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4144:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4144:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4144:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4148:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4154:7: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4154:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4166:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4166:3: 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:4166:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4166:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4166:3: 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:4166:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4166:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4166:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4166:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4166:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4177:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ imap4r1.c:4179:4: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4180:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s,' ')) t = s; ^ imap4r1.c:4180:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4180:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strchr (s,' ')) t = s; ^ imap4r1.c:4180:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (t = strchr (s,' ')) t = s; ^ imap4r1.c:4182:6: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4183:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4183:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imap4r1.c:4183:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:6: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imap4r1.c:4183:6: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from c-client.h:42, from imap4r1.c:36: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imap4r1.c:4183:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4183:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imap4r1.c:4183:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4183:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4183:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4188:8: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4188:8: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4207:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4207:3: 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:4207:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4207:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4207:3: 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:4207:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4207:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4207:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4207:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4207:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4222:7: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4222:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4233:3: 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:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4233:3: 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:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4233:3: 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:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4233:3: 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:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4233:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4233:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4234:5: 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:231: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:4235:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4235:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4235:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4235:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4235:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4235:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4235:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4235:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4235:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4235:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4236:5: 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:231: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:4237:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4237:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4237:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4237:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4237:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4237:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4237:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4237:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4237:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4237:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4238:5: 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:231: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:4239:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4239:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4239:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4239:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4239:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4239:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4239:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4239:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4239:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4239:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:5: 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:231: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:4243:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4243:3: 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:4243:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4243:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4243:3: 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:4243:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4243:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4243:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4243:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4243:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4244:5: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ^ imap4r1.c:266:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^ imap4r1.c:4245:3: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4245:3: 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:4245:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4245:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4245:3: 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:4245:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4245:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4245:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4245:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4245:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4247:2: 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:41:0, from c-client.h:42, from imap4r1.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4248:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ imap4r1.c:4248:7: 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:375:0, from /usr/include/ctype.h:26, from imap4r1.c:33: /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:4250:5: 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:36: mail.h:1621: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:4280:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (strncpy (t = LOCAL->tmp,s,i),' ')) *s++ = '\0'; ^ imap4r1.c:4283:7: 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:36: 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:4283:7: 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:36: 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:4284:7: 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:36: 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:4284:7: 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:36: 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:4290:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strtok_r (s+1," ",&r)) do { ^ imap4r1.c:4292:6: 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:36: 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:4292:6: 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:36: 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:4293:6: 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:36: 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:4293:6: 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:36: 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:4295:6: 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:36: 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:4295:6: 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:36: 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:4297:6: 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:36: 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:4297:6: 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:36: 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:4299:6: 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:36: 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:4299:6: 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:36: 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:4304:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = strtok_r (NIL," ",&r)); ^ imap4r1.c:4307:7: 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:36: 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:4307:7: 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:36: 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:4314:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elt = (MESSAGECACHE *) (*mc) (stream,j,CH_ELT)) ^ imap4r1.c:4318:7: 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:36: 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:4318:7: 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:36: 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:4321:9: 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:36: 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:4321:9: 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:36: 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:4327:7: 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:36: 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:4327:7: 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:36: 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:4334:2: 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:36: 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:4334:2: 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:36: 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:4341:7: 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:36: 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:4341:7: 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:36: 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:4345:7: 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:36: 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:4345:7: 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:36: 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:4346:7: 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:36: 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:4346:7: 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:36: 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:4348:7: 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:36: 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:4348:7: 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:36: 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:4390:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ imap4r1.c:4415:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ imap4r1.c:4427: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:33:0: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4500:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ imap4r1.c:4502:3: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:4588:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4595: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:4597: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:4695:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4696:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4697:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4698: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:4795:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ imap4r1.c:4803:7: 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:36: 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:4803:7: 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:36: 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:4804:7: 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:36: 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:4804:7: 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:36: 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:4805:7: 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:36: 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:4805:7: 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:36: 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:4806:7: 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:36: 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:4806:7: 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:36: 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:4807:7: 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:36: 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:4807:7: 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:36: 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:4808:7: 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:36: 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:4808:7: 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:36: 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:4836:5: 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:36: 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:4836:5: 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:36: 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:4867:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = *txtptr - s) { /* atom ends at atom_special */ ^ imap4r1.c:4869:7: 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:375:0, from /usr/include/ctype.h:26, from imap4r1.c:33: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imap4r1.c:4869: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:4910:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (c) st = ++*txtptr; /* remember start of string */ ^ imap4r1.c:4965:5: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4987:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rp) for (k = 0; j = min ((long) MAILTMPLEN,(long) i); i -= j) { ^ imap4r1.c:4995:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (st = string; st = strpbrk (st,"\015\012\011"); *st++ = ' '); ^ imap4r1.c:4997:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:4998:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:4999:5: 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:36: mail.h:1625:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c: In function 'imap_cache': imap4r1.c:5067:5: 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:36: mail.h:1712: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:5145:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5145:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5146:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5164:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5185:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5185:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5186:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5198:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5198:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5199:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5206:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5207:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5209:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5209:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5210:2: 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:36: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5226:7: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5247:2: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5254:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5267: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:5314:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5320: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:5346: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:5370: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:5413:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { ^ imap4r1.c:5413:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5482:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (i = strtoul (*txtptr,(char **) txtptr,10)) do ^ In file included from osdep.h:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5482:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = strtoul (*txtptr,(char **) txtptr,10)) do ^ imap4r1.c:5487:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5488:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5489:5: 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:36: mail.h:1625:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:5494:5: 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:40:0, from c-client.h:42, from imap4r1.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5518:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (thr = LOCAL->cap.threader) while (th = thr) { ^ imap4r1.c:5518:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] imap4r1.c:5528:5: 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:36: 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:5528:5: 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:36: 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:5530:5: 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:36: 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:5530:5: 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:36: 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:5532:5: 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:36: 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:5532:5: 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:36: 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:5533:5: 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:36: 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:5533:5: 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:36: 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:5535:5: 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:36: 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:5535:5: 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:36: 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:5536:5: 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:36: 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:5536:5: 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:36: 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:5537:5: 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:36: 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:5537:5: 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:36: 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:5538:5: 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:36: 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:5538:5: 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:36: 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:5539:5: 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:36: 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:5539:5: 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:36: 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:5540:5: 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:36: 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:5540:5: 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:36: 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:5541:5: 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:36: 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:5541:5: 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:36: 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:5542:5: 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:36: 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:5542:5: 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:36: 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:5543:5: 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:36: 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:5543:5: 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:36: 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:5544:5: 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:36: 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:5544:5: 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:36: 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:5545:5: 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:36: 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:5545:5: 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:36: 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:5546:5: 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:36: 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:5546:5: 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:36: 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:5547:5: 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:36: 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:5547:5: 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:36: 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:5548:5: 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:36: 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:5548:5: 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:36: 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:5549:5: 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:36: 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:5549:5: 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:36: 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:5550:5: 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:36: 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:5550:5: 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:36: 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:5551:5: 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:36: 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:5551:5: 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:36: 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:5552:5: 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:36: 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:5552:5: 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:36: 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:5553:5: 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:36: 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:5553:5: 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:36: 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:5554:5: 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:36: 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:5554:5: 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:36: 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:5555:5: 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:36: 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:5555:5: 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:36: 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:5561:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (s = strchr (t,'=')) { ^ imap4r1.c:5563:7: 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:36: 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:5563:7: 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:36: 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:5570:7: 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:36: 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:5570:7: 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:36: 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:5573:2: 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:36: 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:5573:2: 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:36: 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_reform_sequence': imap4r1.c:5650:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (s = sequence; t = strpbrk (s,",:"); ) switch (*t++) { ^ `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c: In function 'pop3_valid': pop3.c:177:4: 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:4: 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:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:229:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:230:7: 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))) ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:230:7: 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))) ^ In file included from env_unix.h:58:0, from osdep.h:64, 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_list': pop3.c:245:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:245:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:250:3: 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)) { ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:250:3: 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)) { ^ In file included from env_unix.h:58:0, from osdep.h:64, 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_lsub': pop3.c:276:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = sm_read (tmp,&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ pop3.c:276:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] In file included from env_unix.h:58:0, from osdep.h:64, 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:276:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (tmp,&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:58:0, from osdep.h:64, 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:279:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = sm_read (tmp,&sdb)); ^ pop3.c: In function 'pop3_open': pop3.c:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (LOCAL->loser = mb.loser) strcat (tmp,"/loser"); ^ pop3.c: In function 'pop3_capa': pop3.c:501:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (args = strchr (t,' ')) *args++ = '\0'; ^ pop3.c:502:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:5: 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:512:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr(args,' ')){/* separate time from possible USER */ ^ pop3.c:518:2: 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:2: 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:4: 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:4: 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:5: 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:5: 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:523:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr(args,' ')){/* separate time from possible USER */ ^ pop3.c:529:7: 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:7: 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:5: 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:5: 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:6: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:786:6: 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:1782: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:844:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (elt->private.msg.header.text.size = pop3_cache (stream,elt)) ^ pop3.c: In function 'pop3_expunge': pop3.c:949:4: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:950:4: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:951:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] LONGT) { /* build selected sequence if needed */ ^ pop3.c: In function 'pop3_header': pop3.c:849:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = (unsigned char *) ^ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_rename': unix.c:418:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (s,'/')) { ^ unix.c: In function 'unix_open': unix.c:468:3: 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:468:3: 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:480:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ unix.c:530:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^ unix.c: In function 'unix_header': unix.c:626:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:640:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c:653:3: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^ In file included from unix.c:45:0: mail.h:1726:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ unix.c: In function 'unix_text_work': unix.c:703:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:731:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ unix.c:734:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ unix.c: In function 'unix_ping': unix.c:788:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:375: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:789:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_expunge': unix.c:846:5: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:847:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from unix.c:45:0: mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:849:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] unix_parse (stream,&lock,LOCK_EX)) { ^ unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^ unix.c:860:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ unix.c: In function 'unix_copy': unix.c:902:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:903:2: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:909:7: 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:909:7: 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:916:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:917:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:921:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:922:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:926:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:927:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:937:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] mailbox); ^ In file included from /usr/include/features.h:375: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:938:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:947:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:948:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:957:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:64: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:965:6: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 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:966:6: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 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:967:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:64: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:981:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1007:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_append': unix.c:1051:5: 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:1051:5: 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:1093:5: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^ unix.c: In function 'unix_collect_msg': unix.c:1196:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ unix.c: In function 'unix_append_msgs': unix.c:1257:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (x = tmp; x = strchr (x,'\r'); --j) memmove (x,x+1,j-(x-tmp)); ^ unix.c: In function 'unix_parse': unix.c:1462:5: 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:375: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:1463:5: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1473:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:375: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:1474:5: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1483:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (i = sbuf.st_size - LOCAL->filesize) { ^ unix.c:1486:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ unix.c:1495:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c:1500:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (char *) s); ^ In file included from /usr/include/features.h:375: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:1501:2: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1550:4: 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:375: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:1551:4: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1555:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from osdep.h:41, from unix.c:46: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from unix.c:46: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: 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:41:0, from unix.c:46: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ unix.c:1578:9: 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); ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from osdep.h:41, from unix.c:46: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from unix.c:46: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1633:4: 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:375:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ unix.c:1663:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:1668:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,prevuid + 1); ^ In file included from /usr/include/features.h:375: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:1686:5: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1742:8: 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:1743:5: 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:1744:5: 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:1745:5: 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:1746:5: 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:1747:5: 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:1770:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ unix.c:1770:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ unix.c:1796:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c: In function 'unix_xstatus': unix.c:2015:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) ^ unix.c:2037:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (n = elt->user_flags) do { ^ unix.c: In function 'unix_rewrite': unix.c:2082:3: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2090:2: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2098:5: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] size = unix_pseudo (stream,LOCAL->buf); ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2101:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = unix_extend (stream,size)) { ^ unix.c:2118:7: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2118:7: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2135:8: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2149:4: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2170:9: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2170:9: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ 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:2255:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:2256:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_extend': unix.c:2277:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ unix.c:2282:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:64: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:2288:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:375: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:2289:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_write': unix.c:2311:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { ^ unix.c:2327:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = min (i,f->protect - f->filepos)) { ^ unix.c: In function 'mbox_valid': unix.c:2461:3: 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:2461:3: 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:2476:3: 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:2476:3: 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:2605:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sysinbox ()); ^ In file included from /usr/include/features.h:375: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:2606:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2618:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:2619:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2626:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sysinbox (),size,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:375: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:2627:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2644:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] size,stream->mailbox,sysinbox ()); ^ In file included from /usr/include/features.h:375: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:2648:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_open': unix.c:519:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^ unix.c: In function 'unix_header': unix.c:630:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^ unix.c:640:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c: In function 'unix_text_work': unix.c:707:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^ unix.c: In function 'unix_copy': unix.c:956:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ unix.c:982:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ unix.c: In function 'unix_append': unix.c:1152:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ unix.c: In function 'unix_rewrite': unix.c:2139:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ unix.c:2239:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ unix.c: In function 'unix_extend': unix.c:2285:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c: In function 'mbox_ping': unix.c:2611:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (sfd,s = (char *) fs_get (size + 1),size); ^ unix.c:2621:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2629:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2640:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^ `cat CCTYPE` -c `cat CFLAGS` mbx.c mbx.c: In function 'mbx_isvalid': mbx.c:233:8: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_SH) || ^ mbx.c:307:3: 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:3: 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:480:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (tmp,'/')) { ^ mbx.c:506:3: 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:3: 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:3: 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:3: 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:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:678:8: 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:1782: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:825:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (ret = mbx_parse (stream)) { ^ mbx.c:829:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elt = mbx_elt (stream,i,LOCAL->expok)) { ^ mbx.c:856:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^ In file included from /usr/include/features.h:375: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:857:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1624: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:4: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:890:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) { ^ In file included from mbx.c:41:0: mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:890:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] mail_sequence (stream,sequence)) : LONGT) { ^ mbx.c:895:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (nexp = mbx_rewrite (stream,&reclaimed,sequence ? -1 : 1)) { ^ mbx.c:896:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^ In file included from /usr/include/features.h:375: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:897:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:900:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ In file included from /usr/include/features.h:375: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:901:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1624: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:938:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = hdrlen + txtlen) { ^ mbx.c:940:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mbx.c:41:0: mail.h:1714:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:941:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:41:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:945:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fANSWERED * elt->answered) + (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:375: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:947:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:41:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:947:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:64: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:963:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:964:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mbx.c:41:0: mail.h:1624: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:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1000:2: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1009:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:1010:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1014:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:1015:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1019:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:1020:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1032:7: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date(LOCAL->buf,elt);/* build target header */ ^ In file included from mbx.c:41:0: mail.h:1714:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:1035:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = stream->user_flags[find_rightmost_bit (&j)]) ^ mbx.c:1037:6: 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:6: 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:1038:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^ In file included from osdep.h:41:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1042:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft)),cu ? ++dstream->uid_last : 0); ^ In file included from /usr/include/features.h:375: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:1044:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { ^ In file included from osdep.h:41:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1044:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { ^ In file included from osdep.h:64: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:1044:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { ^ mbx.c:1047:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = write (fd,LOCAL->buf,j) >= 0; ^ In file included from osdep.h:64: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:1058:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1059:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1065:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%08lx",dstream->uid_last); ^ In file included from /usr/include/features.h:375: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:1066:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (fd,LOCAL->buf,8); ^ In file included from osdep.h:64: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:7: 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:7: 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:2: 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:1716: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:1274:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^ In file included from osdep.h:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1277:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf + 15,NIL,16); ^ In file included from osdep.h:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1281:8: 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:8: 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:5: 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:41:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1285:7: 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:1295:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^ In file included from osdep.h:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1312:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1312:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1312:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1321:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1321:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:5: 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:5: 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:5: 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:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1369:5: 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:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1385:5: 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:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1419:7: 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:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c: In function 'mbx_read_flags': mbx.c:1502:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:375: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:1503:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:66: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:1510:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1511:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:66: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:1517:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.special.text.size,(char *) LOCAL->buf); ^ In file included from /usr/include/features.h:375: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:1518:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:66: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:1522:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf+9,NIL,16); ^ In file included from osdep.h:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1531:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^ In file included from osdep.h:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c: In function 'mbx_update_header': mbx.c:83:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1547:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->buf; ^ mbx.c:1558:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^ In file included from /usr/include/features.h:375: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:1563:9: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] HDRSIZE - CYGKLUDGEOFFSET) > 0) break; ^ In file included from osdep.h:64: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:1586:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:375: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:1587:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:66: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:1594:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1595:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:66: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:1601:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.special.text.size,(char *) LOCAL->buf); ^ In file included from /usr/include/features.h:375: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:1602:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:66: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:1607:9: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^ In file included from osdep.h:40:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1610:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft) + fOLD),elt->private.uid); ^ In file included from /usr/include/features.h:375: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:1615:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^ In file included from osdep.h:64: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:1644:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*size = elt->private.msg.header.text.size) return ret; ^ 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:1736:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m = (elt = mbx_elt (stream,i,NIL))->private.special.offset - ppos) { ^ mbx.c:1761:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:64: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:1776:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (m = (LOCAL->filesize -= delta) - pos) { ^ mbx.c:1795:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (elt = mbx_elt (stream,i,T)) { ^ mbx.c: In function 'mbx_header': mbx.c:709:10: 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:12: 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:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mbx.c:1060:15: 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:17: 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:8: 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:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mbx.c:1781:15: 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_rename': mmdf.c:557:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (s,'/')) { ^ mmdf.c: In function 'mmdf_open': mmdf.c:607:3: 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:607:3: 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:619:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mmdf.c:669:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^ mmdf.c: In function 'mmdf_header': mmdf.c:765:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:779:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c:792:3: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^ In file included from mmdf.c:33:0: mail.h:1726:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:842:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:870:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ mmdf.c:873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ mmdf.c: In function 'mmdf_ping': mmdf.c:927:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:375: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:928:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_expunge': mmdf.c:985:5: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:986:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mmdf.c:33:0: mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:988:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] mmdf_parse (stream,&lock,LOCK_EX)) { ^ mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^ mmdf.c:999:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1038:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1039:2: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1044:7: 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:1044:7: 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:1051:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:1052:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1056:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:1057:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1061:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:1062:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1072:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] mailbox); ^ In file included from /usr/include/features.h:375: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:1073:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1082:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1083:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1092:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:64: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:1100:6: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 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:1101:6: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 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:1102:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:64: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:1117:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1143:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_append': mmdf.c:1188:5: 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:1188:5: 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:1230:5: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^ mmdf.c: In function 'mmdf_collect_msg': mmdf.c:1332:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ mmdf.c: In function 'mmdf_append_msgs': mmdf.c:1394:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (x = tmp; x = strpbrk (x,"\01\r"); --j) memmove (x,x+1,j-(x-tmp)); ^ mmdf.c: In function 'mmdf_parse': mmdf.c:1591:5: 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:375: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:1592:5: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1602:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:375: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:1603:5: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1612:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (i = sbuf.st_size - LOCAL->filesize) { ^ mmdf.c:1615:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mmdf.c:1624:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1629:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (char *) s); ^ In file included from /usr/include/features.h:375: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:1634:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1639:6: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1656:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1692:6: 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:375: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:1693:6: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1710:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from osdep.h:41, from mmdf.c:34: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from mmdf.c:34: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: 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:41:0, from mmdf.c:34: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mmdf.c:1742:9: 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); ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from osdep.h:41, from mmdf.c:34: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from mmdf.c:34: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1797:4: 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:375:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mmdf.c:1827:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:1832:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,prevuid + 1); ^ In file included from /usr/include/features.h:375: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:1850:5: 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:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1906:8: 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:1907:5: 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:1908:5: 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:1909:5: 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:1910:5: 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:1911:5: 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:1934:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ mmdf.c:1934:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ mmdf.c:1958:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1983:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c: In function 'mmdf_xstatus': mmdf.c:2178:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) ^ mmdf.c:2200:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (n = elt->user_flags) do { ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2245:3: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2253:2: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2261:5: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] size = mmdf_pseudo (stream,LOCAL->buf); ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2264:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = mmdf_extend (stream,size)) { ^ mmdf.c:2281:7: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2281:7: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2298:8: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2312:4: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2333:9: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2333:9: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ 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:2401:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:2402:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2423:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ mmdf.c:2428:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:64: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:2434:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:375: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:2435:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_write': mmdf.c:2457:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { ^ mmdf.c:2473:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = min (i,f->protect - f->filepos)) { ^ mmdf.c: In function 'mmdf_open': mmdf.c:658:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^ mmdf.c: In function 'mmdf_header': mmdf.c:769:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^ mmdf.c:779:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:846:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1091:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:1118:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mmdf.c: In function 'mmdf_append': mmdf.c:1288:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2302:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:2385:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2431:12: 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:3: 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:3: 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); ^ tenex.c: In function 'tenex_rename': tenex.c:315:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_EX|LOCK_NB)) { ^ tenex.c:324:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ ^ tenex.c:350:3: 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:350:3: 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:427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ tenex.c:433:3: 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:433:3: 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:500:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:501:8: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:511:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); ^ tenex.c: In function 'tenex_flags': tenex.c:538:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:539:8: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c: In function 'tenex_header': tenex.c:564:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:574:5: 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:67:0, from tenex.c:47: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ tenex.c: In function 'tenex_text': tenex.c:609:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:632:2: 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:67: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:772:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = hdrlen + txtlen) { ^ tenex.c:774:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from tenex.c:46:0: mail.h:1714:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ tenex.c:775:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:41:0, from tenex.c:47: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:779:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:375: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:781:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:41:0, from tenex.c:47: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:781:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:64: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:797:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:798:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from tenex.c:46:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_expunge': tenex.c:833:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:834:7: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:895:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:64: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:913:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) pos,(unsigned long) LOCAL->filesize,delta); ^ In file included from /usr/include/features.h:375: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:914:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from tenex.c:46:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:918:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:375: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:920:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from tenex.c:46:0: mail.h:1624: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:961:3: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ tenex.c:176:5: note: expected 'char *' but argument is of type 'unsigned char *' int tenex_isvalid (char *name,char *tmp) ^ tenex.c:968:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:969:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:973:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:974:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:978:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:979:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:982:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:983:2: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:986:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:987:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:1009:2: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:64: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:1014:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1015:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_append': tenex.c:1072:5: 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:1072:5: 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:1122:7: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ tenex.c: In function 'tenex_parse': tenex.c:1244:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1244:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1244:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1253:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1253:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1253:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1276:2: 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:40:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c:1300:5: 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:40:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_read_flags': tenex.c:1378:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1379:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:66: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:1387:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:40:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_update_status': tenex.c:1416:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:375: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:1421:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:64: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:1456:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ tenex.c: In function 'tenex_fast': tenex.c:516:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); ^ tenex.c: In function 'tenex_header': tenex.c:567:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length = i); ^ tenex.c:572:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^ tenex.c: In function 'tenex_text': tenex.c:614:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,i); ^ tenex.c:629:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^ tenex.c: In function 'tenex_snarf': tenex.c:799:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ tenex.c: In function 'tenex_expunge': tenex.c:890:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ tenex.c:917:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ tenex.c: In function 'tenex_copy': tenex.c:1008:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ tenex.c:1016:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ tenex.c: In function 'tenex_append': tenex.c:1150:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:7: 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:3: 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:3: 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); ^ mtx.c: In function 'mtx_rename': mtx.c:308:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_EX|LOCK_NB)) { ^ mtx.c:317:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ ^ mtx.c:343:3: 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:343:3: 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:421:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mtx.c:424:3: 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:424:3: 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:487:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:488:8: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c: In function 'mtx_header': mtx.c:511:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mtx.c: In function 'mtx_text': mtx.c:546:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mtx.c: In function 'mtx_snarf': mtx.c:683:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = hdrlen + txtlen) { ^ mtx.c:685:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mtx.c:41:0: mail.h:1714:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mtx.c:686:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:41:0, from mtx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:690:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:375: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:692:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:41:0, from mtx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:692:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:64: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:708:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:709:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mtx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_expunge': mtx.c:744:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:745:7: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:806:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:64: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:823:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) pos,(unsigned long) LOCAL->filesize,delta); ^ In file included from /usr/include/features.h:375: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:824:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mtx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:828:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:375: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:830:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mtx.c:41:0: mail.h:1624: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:871:3: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ mtx.c:169:5: note: expected 'char *' but argument is of type 'unsigned char *' int mtx_isvalid (char *name,char *tmp) ^ mtx.c:878:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:879:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:883:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:884:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:888:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:889:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:892:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:893:2: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:896:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:897:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:919:2: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:64: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:924:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:925:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_append': mtx.c:982:5: 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:982:5: 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:1032:7: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtx.c: In function 'mtx_parse': mtx.c:1132:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1132:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1132:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1141:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1141:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1141:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1164:2: 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:40:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c:1188:5: 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:40:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_read_flags': mtx.c:1266:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1267:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:66: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:1275:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:40:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_update_status': mtx.c:1304:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:375: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:1309:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:64: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:515:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length); ^ mtx.c: In function 'mtx_snarf': mtx.c:710:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ mtx.c: In function 'mtx_expunge': mtx.c:801:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mtx.c:827:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ mtx.c: In function 'mtx_copy': mtx.c:918:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mtx.c:926:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mtx.c: In function 'mtx_append': mtx.c:1053:15: 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:218:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (pattern,'.')) *++s = '\0'; ^ news.c:234:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { ^ news.c:234:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] news.c:237:7: 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:64, 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:7: 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:64, 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:2: 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:64, 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:2: 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:64, 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:243:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (t = strtok_r (NIL,"\n",&r)); ^ news.c: In function 'news_canonicalize': news.c:286:34: warning: value computed is not used [-Wunused-value] for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ news.c: In function 'news_open': news.c:368:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = strchr (s,'.')) *s = '/'; ^ news.c:370:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:44: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:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:44: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_select': news.c:409:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) if (!isdigit (c)) return NIL; ^ news.c: In function 'news_fast': news.c:456:6: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:457:6: 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:1782: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:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:474:7: 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:1782: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:495:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:500:7: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^ In file included from /usr/include/fcntl.h:296:0, from osdep.h:46, 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:10: 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:10: 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:292:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (k = t->tm_yday - k) i += ((k < 0) == (abs (k) == 1)) ? -24*60 : 24*60; ^ phile.c:305:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ phile.c:309:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (pw = getpwuid (sbuf.st_uid)) strcpy (tmp,pw->pw_name); ^ phile.c:321:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = phile_type (buf->data,buf->size,&j)) { ^ phile.c:327:7: 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:67: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:8: 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:3: 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:3: 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:7: 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:191:7: warning: pointer targets in passing argument 2 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:195:7: 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:7: 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:254:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (v = strpbrk (s," \t")) { ^ mh.c:256:4: 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:4: 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_dirfmttest': mh.c:327:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) if (!isdigit (c)) return NIL; ^ mh.c: In function 'mh_scan': mh.c:346:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (test,'/')) *++s = '\0'; ^ mh.c:359:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strpbrk (test,"%*")) { ^ mh.c:366:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (file,'/')) { ^ mh.c:374:5: 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:374:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^ In file included from mh.c: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:5: 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:64, 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:5: 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:64, 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:404:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = sm_read (tmp,&sdb)); /* until no more subscriptions */ ^ mh.c: In function 'mh_list_work': mh.c:428:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dp = opendir (curdir)) { /* open directory */ ^ mh.c:429:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (d = readdir (dp)) /* scan, ignore . and numeric names */ ^ mh.c:435:4: 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:64, 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:4: 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:64, 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:4: 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:64, 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:4: 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:64, 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_delete': mh.c:513:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dirp = opendir (tmp)) { /* open directory */ ^ mh.c:516:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (d = readdir (dirp)) if (mh_dirfmttest (d->d_name)) { ^ mh.c: In function 'mh_rename': mh.c:553:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (mh_file (tmp1,newname),'/')) { ^ mh.c: In function 'mh_open': mh.c:587:5: 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:587:5: warning: pointer targets in passing argument 2 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:592:6: 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:6: 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:6: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:639:6: 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:1782: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:662:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:667:7: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^ In file included from /usr/include/fcntl.h:296:0, from osdep.h:46, 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:5: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:44: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:5: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:44: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:886:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = (void *) names) fs_give ((void **) &s); ^ mh.c:899:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:375: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:903:5: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] (long) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) ^ In file included from /usr/include/fcntl.h:296:0, from osdep.h:46, 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:926:4: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] 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:934:6: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:42:0, from mh.c:32: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c:937:6: warning: too many arguments for format [-Wformat-extra-args] s,strerror (errno)); ^ mh.c: In function 'mh_expunge': mh.c:981:4: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:982:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) { ^ In file included from mh.c:31:0: mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:982:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] mail_sequence (stream,sequence)) : LONGT) { ^ mh.c:987:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:988:2: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:42:0, from mh.c:32: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c:990:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:375: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:991:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:31:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mh.c:1009:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:375: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:1010:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:31:0: mail.h:1624: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:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1042:7: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1045:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:1046:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^ In file included from /usr/include/fcntl.h:296:0, from osdep.h:46, 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:5: 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:1106:5: warning: pointer targets in passing argument 2 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:1107:5: 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:5: 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:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:44: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:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:44: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:1135:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = (void *) names) fs_give ((void **) &s); ^ mh.c:1146:7: 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:1716: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_select': mh.c:1198:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) if (!isdigit (c)) return NIL; ^ mh.c: In function 'mh_file': mh.c:1228:3: 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:3: 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:1228:3: 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:3: 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_canonicalize': mh.c:1261:34: warning: value computed is not used [-Wunused-value] for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ mh.c: In function 'mh_path': mh.c:248:12: 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:3: 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:3: 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_dirfmttest': mx.c:242:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *name++) if (!isdigit (c)) return NIL; ^ mx.c: In function 'mx_scan_contents': mx.c:277:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:44: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:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:44: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:289:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (a = (void *) names) fs_give ((void **) &a); ^ mx.c: In function 'mx_create': mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^ mx.c: In function 'mx_delete': mx.c:395:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dirp = opendir (tmp)) { /* open directory */ ^ mx.c:398:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (d = readdir (dirp)) if (mx_select (d)) { ^ mx.c: In function 'mx_rename': mx.c:439:5: 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:5: 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:441:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (mx_file (tmp1,newname),'/')) { ^ mx.c:462:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:44: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:7: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:44: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:469:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (a = (void *) names) fs_give ((void **) &a); ^ mx.c: In function 'mx_open': mx.c:518:3: 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:3: 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:7: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:574:8: 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:1782: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:591:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:593:3: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/sys/stat.h:454: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:648:5: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^ In file included from mx.c: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:649:5: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^ In file included from mx.c: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:5: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:44: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:5: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:44: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:752:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = (void *) names) fs_give ((void **) &s); ^ mx.c:767:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); ^ In file included from /usr/include/features.h:375: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:771:5: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] (long) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) ^ In file included from /usr/include/fcntl.h:296:0, from osdep.h:46, 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:794:4: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] 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:801:6: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:42:0, from mx.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c:804:6: warning: too many arguments for format [-Wformat-extra-args] s,strerror (errno)); ^ mx.c: In function 'mx_expunge': mx.c:848:5: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:849:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mx.c:34:0: mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:850:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] mx_lockindex (stream)) { /* lock the index */ ^ mx.c:855:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^ In file included from /usr/include/features.h:375: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:856:2: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:42:0, from mx.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c:858:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:375: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:859:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mx.c:34:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c:875:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:375: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:876:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mx.c:34:0: mail.h:1624: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:913:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:375: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:914:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mx.c:34:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c:921:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:922:9: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:940:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] >= 0)) { ^ mx.c:944:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mx.c:949:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = elt->user_flags) do ^ mx.c:950:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = stream->user_flags[find_rightmost_bit (&j)]) ^ mx.c:960:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = mx_append_msg (astream,tmp,elt,&st,dest)) { ^ 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:5: 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:5: 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:7: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mx.c: In function 'mx_select': mx.c:1117:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) if (!isdigit (c)) return NIL; ^ mx.c: In function 'mx_lockindex': mx.c:1173:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ ^ mx.c:1189:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (t = ++s,'\n')) { ^ mx.c: In function 'mx_header': mx.c:636:10: 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:10: 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:15: 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:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:44: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:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:44: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:334:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (a = (void *) names) fs_give ((void **) &a); ^ mix.c: In function 'mix_delete': mix.c:469:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) ^ mix.c:478:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dirp = opendir (tmp)) { /* open directory */ ^ mix.c:481:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (d = readdir (dirp)) if (mix_dirfmttest (d->d_name)) { ^ mix.c: In function 'mix_rename': mix.c:527:5: 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:5: 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:529:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strrchr (tmp1,'/')) { ^ mix.c:554:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); ^ In file included from osdep.h:44: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:567:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (a = (void *) names) fs_give ((void **) &a); ^ mix.c: In function 'mix_open': mix.c:606:3: 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:3: 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:611:3: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign] 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:613:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 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:616:4: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] ((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:619:4: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] ((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:627:5: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 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:628:5: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] 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:630:7: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] MIXSORTCACHE)); ^ 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:634:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (silent = stream->silent) LOCAL->internal = T; ^ mix.c: In function 'mix_header': mix.c:719:11: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ 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); ^ mix.c:735:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:735:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:735:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ mix.c:735:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:735:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:735:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ mix.c:735:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:735:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:735:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:735:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:735:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:735:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:41: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:752:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ mix.c:752:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:752:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mix.c:752:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:752:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from osdep.h:41, from mix.c:31: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mix.c:752:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ In file included from /usr/include/string.h:633:0, from osdep.h:41, from mix.c:31: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mix.c:752:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ mix.c:752:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:752:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mix.c:752:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:752:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] mix.c:709:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^ mix.c: In function 'mix_text': mix.c:782:11: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ 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:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:831:8: 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:1782: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:963:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (snarfok = mail_append_full (stream,"INBOX",flags,date,&msg)) { ^ mix.c:973:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); ^ In file included from /usr/include/features.h:375: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:974:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:989:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] (LOCAL->internal ? NIL : LONGT))) { ^ 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:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1034:3: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1037:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] LOCAL->internal ? NIL : LONGT)) { ^ mix.c:1052:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:44: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:7: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:44: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:1086:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.spare.data); ^ In file included from /usr/include/features.h:375: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:1087:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1096:6: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 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:1098:9: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^ In file included from osdep.h:42:0, from mix.c:31: /usr/include/unistd.h:1015:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^ mix.c:1098:9: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^ In file included from osdep.h:42:0, from mix.c:31: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mix.c:1101:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] cur->name,strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1102:8: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1114:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (a = (void *) names) fs_give ((void **) &a); ^ mix.c:1123:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ret = mix_index_update (stream,idxf,NIL)) { ^ 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:1227:3: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 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:1231:5: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat (LOCAL->buf,&sbuf)) { ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/sys/stat.h:454:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mix.c:1232:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1233:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1236:5: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] 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:1240:7: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] else if (ret = !truncate (LOCAL->buf,burp->set.last)) ^ In file included from osdep.h:42:0, from mix.c:31: /usr/include/unistd.h:1015:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^ mix.c:1240:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (ret = !truncate (LOCAL->buf,burp->set.last)) ^ mix.c:1243:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1244:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1249:3: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || ^ In file included from /usr/include/fcntl.h:296:0, from osdep.h:46, 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:1252:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1253:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1257:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1258:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1263:3: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] 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:1268:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1268:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1268:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ mix.c:1268:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1268:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1268:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ mix.c:1268:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1268:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1268:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1268:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1268:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1268:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:41: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:1270:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] set->first); ^ In file included from /usr/include/features.h:375: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:1271:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1311:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:375: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:1312:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c: In function 'mix_burp_check': mix.c:1341:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] file,size,set->last); ^ mix.c:1344:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (set = set->next); ^ mix.c: In function 'mix_copy': mix.c:1361:3: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign] 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:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1380:7: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1386:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] LONGT : NIL) { ^ mix.c:1398:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) 0); ^ In file included from /usr/include/features.h:375: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:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1408:5: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if (msgf = mix_data_open (astream,&fd,&size,newsize)) { ^ mix.c: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:1408:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgf = mix_data_open (astream,&fd,&size,newsize)) { ^ mix.c:1422:12: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ 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:1437:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = elt->user_flags) do ^ mix.c:1461:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] mix_index_update (astream,idxf,LONGT))) { ^ 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:5: 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:5: 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:1525:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] NIL : mix_create (NIL,"INBOX")) ^ mix.c:1545:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] LONGT : NIL) { ^ mix.c:1556:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) 0); ^ In file included from /usr/include/features.h:375: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:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1561:7: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { ^ mix.c: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:1561:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { ^ mix.c:1569:4: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mix.c:1576:8: 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:1716: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:1750:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (s = mix_meta_slurp (stream,&i)) { ^ mix.c:1757:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strstr (t = s,"\015\012")) { ^ mix.c:1786:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (k = t,' ')) *t++ = '\0'; ^ mix.c:1831:7: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] 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:1974:10: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] curfile = file),&sbuf)) { ^ 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:2057:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i,LOCAL->statusseq); ^ In file included from /usr/include/features.h:375: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:2058:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:30:0: mail.h:1624:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:2069:9: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] "status")) && *s && (*s++ == ':') && ^ 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:2204:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); ^ In file included from /usr/include/features.h:375: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:2205:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:2206:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] stream->uid_validity,stream->uid_last,LOCAL->newmsg); ^ In file included from /usr/include/features.h:375: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:2207:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); ^ In file included from osdep.h:41:0, from mix.c:31: /usr/include/string.h:395: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:2222:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; ^ In file included from osdep.h:64: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:2417:3: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] 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:2435:7: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] LOCAL->newmsg = mix_modseq (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:2458:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (msgf = fdopen (*fd,"r+b")) fseek (msgf,*size,SEEK_SET); ^ mix.c: In function 'mix_sortcache_open': mix.c:2500:10: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] "sortcache")) && *s && ^ 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:2522:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = mail_msgno (stream,uid)) { ^ 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_sortcache_update': mix.c:2701:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (sl = s->references) /* count length of references */ ^ mix.c:2709:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] s->message_id ? strlen (s->message_id) + 1 : 0,j); ^ mix.c:2709:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=] mix.c:2709:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=] mix.c:2709:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' [-Wformat=] mix.c:2709:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=] mix.c: In function 'mix_read_record': mix.c:2756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (buf,'\012')) { ^ mix.c: In function 'mix_copy': mix.c:1482:12: 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:14: 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:15: 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:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (idxf),sbuf.st_size); ^ mix.c:2304:26: 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:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (statf),sbuf.st_size); ^ mix.c:2386:26: 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:26: 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:15: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] else fchmod (fd,sbuf.st_mode); ^ `cat CCTYPE` -c `cat CFLAGS` maildir.c maildir.c: In function 'maildir_file_path': maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:272:6: 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); ^ maildir.c:272:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:272:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:272:6: 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:41: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:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:274:6: 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); ^ maildir.c:274:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:274:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:274:6: 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:41: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:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:276:6: 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); ^ maildir.c:276:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:276:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:276:6: 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:41: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:27: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ maildir.c:316:27: 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:1782: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:3: 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:1070:24: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] elt->private.msg.header.text.size); ^ In file included from osdep.h:67: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:3: 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:5: 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:5: 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:5: 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:5: 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:26: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ maildir.c:1324:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT; ^ In file included from maildir.c:13:0: mail.h:1782: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:3: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ maildir.c:1372:4: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ maildir.c:1386:2: 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:67: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:5: 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:1716: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:1732:5: 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:64, 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:1732:5: 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:64, 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:1793:4: 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:64, 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:1793:4: 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:64, 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:1810:9: 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:64, 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:1810:9: 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:64, 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:1873:18: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) ^ maildir.c:1873:3: 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:64, 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:1873:3: 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:64, 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:1879:4: 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:64, 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:1879:4: 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:64, 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:2170:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s = strrchr(tmp2, '/')) ^ maildir.c: In function 'courier_list_dir': maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2380:3: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2380:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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:41:0, from maildir.c:17: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2380:3: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2380:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2380:3: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2380:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:2380:3: 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); ^ maildir.c:2380:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^ maildir.c:2380:3: note: expected 'const char *' but argument is of type 'unsigned char *' maildir.c:2380:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ maildir.c:2380:3: 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:41: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_can_assign_uid': maildir.c:2490:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(tmp, "w")){ ^ maildir.c:2446:44: warning: unused variable 'p' [-Wunused-variable] char tmp[MAILTMPLEN], tmp2[MAILTMPLEN], *p, *s; ^ maildir.c:2445:17: warning: unused variable 't' [-Wunused-variable] unsigned long t; ^ maildir.c: In function 'maildir_write_uid': maildir.c:2592: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:2623: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:2640:18: warning: unused variable 'deleteuid' [-Wunused-variable] int createuid, deleteuid = 0; ^ maildir.c:2640:7: warning: unused variable 'createuid' [-Wunused-variable] int createuid, deleteuid = 0; ^ maildir.c: In function 'maildir_text_work': maildir.c:907:10: 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:7: 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:11: 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:12: 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:14: 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.20/imap/c-client' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/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.20/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:107:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (suffix = strchr (tmp,',')) suffix[0] = '\0'; ^ mtest.c:120:3: 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:128:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = sm_read (tmpx,&sdb)) { ^ mtest.c:131:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = sm_read (tmpx,&sdb)); ^ mtest.c: In function 'mm': mtest.c:161:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (arg = strchr (cmd,' ')) *arg++ = '\0'; ^ mtest.c:162:5: 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:201:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = sm_read (tmp,&sdb)) { ^ mtest.c:204:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (s = sm_read (tmp,&sdb)); ^ mtest.c: In function 'overview_header': mtest.c:386:5: 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:1716:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtest.c:401:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = elt->user_flags) { ^ mtest.c: In function 'header': mtest.c:439:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = cache->user_flags) { ^ mtest.c: In function 'display_body': mtest.c:476:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (par = body->parameter) do ^ mtest.c:478:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (par = par->next); ^ mtest.c: In function 'status': mtest.c:533:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = imap_cap (stream)->auth) { ^ mtest.c:536:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (auth = mail_lookup_auth (find_rightmost_bit (&i) + 1)) { ^ mtest.c:582:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = imap_cap (stream)->extlevel) { ^ mtest.c: In function 'mm_login': mtest.c:722:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (user,'\n')) *s = '\0'; ^ 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:3: 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:375:0, from /usr/include/stdio.h:27, from mtest.c:32: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mtest.c:813:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (stream = smtp_open (hostlist,debug)) { ^ mtest.c:820:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (stream = nntp_open (newslist,debug)) { ^ mtest.c: In function 'prompt': mtest.c:606:9: 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:11: 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.20/imap/mtest' cd ipopd;make make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/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:7: 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); ^ ipop2d.c: In function 'c_helo': ipop2d.c:299:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (u,'*')) *s++ = '\0'; ^ ipop2d.c: In function 'c_fold': ipop2d.c:358:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = (stream = mail_open (stream,t,NIL)) ? stream->nmsgs : 0) { ^ ipop2d.c: In function 'c_retr': ipop2d.c:432:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = mail_fetch_text (stream,msg[current],NIL,&i,FT_RETURNSTRINGSTRUCT)) ^ `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:5: 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:5: 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:7: 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); ^ ipop3d.c:195:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = ssl_start_tls (NIL)) fs_give ((void **) &s); ^ ipop3d.c:197:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = !mail_parameters (NIL,GET_DISABLEPLAINTEXT,NIL)) ^ ipop3d.c:222:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (initial = strtok (NIL,"\015\012")) { ^ ipop3d.c:275:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = ssl_start_tls (pgmname)) { ^ ipop3d.c:291:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (t,':')) { ^ ipop3d.c: In function 'pass_login': ipop3d.c:664:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (user,'*')) *t++ ='\0'; ^ ipop3d.c: In function 'mbxopen': ipop3d.c:780:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (j = stream->nmsgs) { /* if mailbox non-empty */ ^ `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.20/imap/ipopd' cd imapd;make make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/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:3: 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:64, 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:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (proxy,'\n')) *s = '\0'; ^ imapd.c:338:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (proxy,'\n')) *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:7: 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:7: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:381:3: 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:1862: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:5: 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); ^ imapd.c:410:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,'\012')) { ^ imapd.c:410:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:410:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,'\012')) { ^ imapd.c:410:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (cmdbuf,'\012')) { ^ imapd.c:416:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) { ^ imapd.c:416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:416:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) { ^ imapd.c:416:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (cmdbuf,' ')) { ^ imapd.c:426:7: 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:375: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:7: 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:1862: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))) { ^ imapd.c:456:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] arg = strchr (s+4,' '); /* find argument */ ^ imapd.c:456:2: 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 */ ^ imapd.c:460:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] arg = strchr (s,' '); /* find argument */ ^ imapd.c:460:2: 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:7: 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:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:474:4: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:481:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *cl = cpystr (tcp_clienthost ()); ^ imapd.c:484:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (cl,' ')) { ^ imapd.c:484:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:484:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (cl,' ')) { ^ imapd.c:484:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (cl,' ')) { ^ imapd.c:488:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:491:8: 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); ^ imapd.c:499:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:499:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:499:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:499:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:499:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:499:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:499:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:504:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:504:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:504:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:504:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:504:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:504:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:504:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:516:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:516:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:516:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:516:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:516:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:516:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:516:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:538:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:538:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:538:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:538:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:538:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:538:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:548:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:548:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:548:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:548:4: 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:4: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1825: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:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ imapd.c:564:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ imapd.c:565:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:575:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:575:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395: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:4: 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); ^ imapd.c:605:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:605:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:605:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:605:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:605:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:605:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:605:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:605:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:605:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:605:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:609:4: 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:3: 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:4: 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); ^ imapd.c:624:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:624:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:624:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:624:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:626:6: 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:64, 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:6: 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:64, 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:6: 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:64, 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:640:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:640:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:640:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:640:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:640:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:640:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:640:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:640:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:640:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:640:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:642:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (lsterr = ssl_start_tls (pgmname)) response = lose; ^ imapd.c:653:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:653:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:653:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:653:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:653:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:653:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:653:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:653:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:653:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:653:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:654:4: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:654:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350: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:6: 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); ^ imapd.c:662:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:662:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:662:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:662:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:662:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:662:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:662:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:662:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:662:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:664:4: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:664:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350: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; ^ imapd.c:671:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:671:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:671:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:671:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:671:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:671:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:671:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:671:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:671:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:671:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:672:8: 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:375:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:674:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++) ^ imapd.c:675:10: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:676:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:678:5: 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:375:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:678:5: 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:375:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:680:8: 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:1693: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:8: 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:1693:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:682:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:682:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:682:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:682:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:682:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:684:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:684:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:684:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:684:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:684:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:684:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:684:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:684:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:690:6: 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:1693: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:6: 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:1693:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:701:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:711:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:711:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:711:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:711:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:711:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:711:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:711:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:712:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:712:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:712:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:712:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:712:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:712:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:712:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:6: 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:1700:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options); ^ imapd.c:722:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:722:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:722:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:722:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:722:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:722:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:722:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:722:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:722:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:722:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:738:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:738:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:738:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:738:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:738:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:738:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:738:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:738:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:738:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:740:4: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:740:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350: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:4: 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:1701:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ imapd.c:751:4: 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:1701:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ imapd.c:758:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:758:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:758:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:758:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:758:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:760:4: 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:4: 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,')')) && ^ imapd.c:768:6: 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; ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:768:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350: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; ^ imapd.c:773:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:773:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:773:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:773:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:773:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:773:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:773:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:773:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:773:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:773:3: 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 */ ^ imapd.c:780:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:780:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:780:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:780:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:780:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:780:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:780:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:780:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:781:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:781:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:781:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:781:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:781:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:782:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:782:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:782:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:782:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:782:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:783:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:783:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:784:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:784:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:784:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:784:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:784:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:785:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:785:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:785:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:785:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:785:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:786:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:786:3: 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:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:786:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:786:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:786:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:788:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (s = strtok_r (NIL," ",&sstate)); ^ imapd.c:788:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (s = strtok_r (NIL," ",&sstate)); ^ imapd.c:792:8: 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); ^ imapd.c:798:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if (slst = mail_sort (stream,cs,spg,pgm,uid ? SE_UID:NIL)) { ^ imapd.c:815:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:815:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:815:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:815:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:815:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:815:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:815:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:815:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:815:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:815:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:820:4: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok_r (arg," ",&sstate)) && ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:820:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350: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:6: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign] if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1762:13: note: expected 'char *' but argument is of type 'unsigned char *' THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset, ^ imapd.c:828:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { ^ imapd.c:841:9: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:841:9: 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:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:841:9: 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:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:841:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:841:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:841:9: 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:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:841:9: 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:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:841:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:841:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:841:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:906:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = snarf (&arg)) charset = cpystr (s); ^ imapd.c:906:6: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 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:1024:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1024:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1024:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1024:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1024:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1024:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1024:4: 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:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1024:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1024:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1024:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1025:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:1025:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1025:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:1025:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1025:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1025:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1025:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1029:4: 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:4: 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:4: 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); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1093:23: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign] #define DRIVER struct driver ^ imapd.c:1030:6: note: in expansion of macro 'DRIVER' 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:1637:9: note: expected 'char *' but argument is of type 'unsigned char *' DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose); ^ imapd.c:1041:3: 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:1652: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:3: 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:375:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:1050:3: 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:375:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:1052:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:1052:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1052:3: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:1052:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1052:3: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:1052:3: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:1052:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:1052:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1052:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:1052:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1052:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:1052:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:1054:3: 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:1652:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:1066:6: 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:8: 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:375: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:8: 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:1652:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:1071:6: 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:1652:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:1077:8: 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:8: 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); ^ imapd.c:1098:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1098:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1098:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1098:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1098:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1108:6: 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:1705:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af, ^ imapd.c:1123:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1123:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1123:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1123:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1123:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1129:4: 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:4: 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:6: 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:6: 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:6: 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:8: 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:1642:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1135:6: 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:1642:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1135:6: 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:1642:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1141:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1141:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1141:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1141:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1141:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1141:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1141:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1141:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1141:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1141:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1147:4: 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:4: 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:6: 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:6: 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:6: 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:6: 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:1641: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:6: 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:1641: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:6: 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:1641:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:1156:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1156:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1156:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1156:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1156:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1156:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1156:2: 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:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1156:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1156:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1156:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1162:4: 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:4: 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:6: 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:6: 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:6: 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:6: 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:6: 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:1643:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1164:6: 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:1643:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1171:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1171:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1171:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1171:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1171:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1171:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1171:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1171:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1171:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1171:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1173:4: 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)) && ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:1173:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350: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)) && ^ imapd.c:1180:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:1180:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1180:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:1180:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1180:4: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:1180:4: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:1180:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:1180:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1180:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:1180:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1182:4: 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); ^ imapd.c:1185:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1185:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1185:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1185:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1185:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1185:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1185:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1185:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1185:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1185:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1186:8: 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:1643:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1187:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1187:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1187:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1187:6: 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:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1187:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1187:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1187:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1187:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1190:8: 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:1642:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1199:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1199:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1199:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1199:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1199:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1199:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1199:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1199:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1199:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1199:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1201:3: 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:3: 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])) ^ imapd.c:1207:6: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] t = strtok_r (ucase (arg)," ",&sstate); ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:1207:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350: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); ^ imapd.c:1209:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1209:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1209:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1209:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1209:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1209:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1209:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1209:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1210:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1210:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1210:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1210:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1210:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1211:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1211:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1211:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1211:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1211:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1212:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1212:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1212:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1212:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1212:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1213:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1213:8: 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:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1213:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1213:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1213:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1216:3: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1219:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = strtok_r (NIL," ",&sstate)); ^ imapd.c:1219:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (t = strtok_r (NIL," ",&sstate)); ^ imapd.c:1222:6: 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:6: 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"; ^ imapd.c:1226:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1226:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1226:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1226:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1226:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1226:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1226:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1226:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1226:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1226:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1227:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1227:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1227:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1227:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1227:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1227:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1227:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1231:8: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1235:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1235:3: 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:375: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:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1237:3: 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:375: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:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1241:3: 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:375: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:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1244:3: 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:375: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:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1247:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] stream->uid_validity); ^ In file included from /usr/include/features.h:375: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:8: 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:375:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:1251:8: 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:8: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1254:6: 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:8: 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:375: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:8: 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:1650:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^ imapd.c:1258:6: 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:1650:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^ imapd.c:1265:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1265:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1265:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1265:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1265:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1265:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1265:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1265:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1265:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1265:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1269:6: 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:6: 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:1644:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1274:4: 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:4: 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:4: 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:1644:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1280:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1284:6: 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:6: 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:6: 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:6: 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:1645:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1290:4: 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:1645:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1295:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1295:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1295:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1295:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1295:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1295:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1295:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1295:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1295:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1295:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1304:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (n = ns[i]) { ^ imapd.c:1324:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = n->param) do { ^ imapd.c:1331:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (p = p->next); ^ imapd.c:1333:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (n = n->next); ^ imapd.c:1346:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1346:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1346:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1346:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1346:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1346:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1346:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1346:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1346:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1346:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1349:4: 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:1646:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_create (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1354:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1354:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1354:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1354:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1354:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1354:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1354:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1354:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1354:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1354:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1358:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1358:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1358:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1358:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1358:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1358:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1358:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1359:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1359:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1359:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1359:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1359:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1359:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1359:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1361:6: 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:1647:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_delete (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1367:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1367:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1367:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1367:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1367:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1367:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1367:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1367:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1367:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1367:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1371:6: 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:6: 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"; ^ imapd.c:1373:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1373:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1373:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1373:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1373:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1373:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1373:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1373:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1373:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1373:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1374:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1374:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1374:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1374:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1374:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1374:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1374:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1376:6: 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:1648:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ imapd.c:1376:6: 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:1648:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ imapd.c:1383:2: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1383:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1383:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1383:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1383:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1383:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1383:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1383:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1383:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1383:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1416:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (i * IDLETIMER) / 60); ^ In file included from /usr/include/features.h:375: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:3: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1422:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] donefake = nmsgs + 1,recent + 1); ^ In file included from /usr/include/features.h:375: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:3: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1432:3: 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:7: 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:375: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:7: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1447:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] nmsgs,recent); ^ In file included from /usr/include/features.h:375: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:5: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1467:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (i = (litplus.size > MAILTMPLEN) ? MAILTMPLEN : litplus.size) { ^ imapd.c:1471:6: 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:1859:6: note: expected 'char *' but argument is of type 'unsigned char *' long PSINR (char *s,unsigned long n); ^ imapd.c:1480:2: 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:1482:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (tmp,'\012')) { ^ imapd.c:1482:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1482:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (tmp,'\012')) { ^ imapd.c:1482:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (tmp,'\012')) { ^ imapd.c:1487:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1493:8: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:1508:2: 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:375: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:2: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1512:2: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1515:4: 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:375: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:4: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1525:2: 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:375: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:2: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1529:6: 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:6: 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:1529:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ In file included from /usr/include/features.h:375: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:4: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1546:4: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1560:2: 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:375: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:2: 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:1862:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1586:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (lgoh = (logouthook_t) mail_parameters (NIL,GET_LOGOUTHOOK,NIL)) ^ imapd.c: In function 'staint': imapd.c:1936:3: 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:7: 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:7: 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:5: 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:2137:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*size = i) break; /* got atom if non-empty */ ^ imapd.c:2157:5: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c: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:5: 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:5: 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) ^ imapd.c:2180:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (t,'\012')) return flush (); ^ imapd.c:2180:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2182:5: 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'; ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:2182:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imapd.c:2184:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2190:2: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2195:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*del = *t) { /* have a delimiter? */ ^ imapd.c: In function 'snarf_list': imapd.c:2294:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = *t) { /* have a delimiter? */ ^ imapd.c: In function 'parse_stringlist': imapd.c:2324:5: 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:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = *s) { /* need to reload strtok state? */ ^ imapd.c:2336:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = *s) { /* need to reload strtok state? */ ^ imapd.c: In function 'parse_criterion': imapd.c:2407:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2407:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:2407:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2407:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1123:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:2407:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1134:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:2407:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2407:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:2407:5: 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:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2423:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2423:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2423:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2423:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2423:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2423:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2423:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2423:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2424:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2424:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2424:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2424:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2424:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2428:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2428:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2430:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2430:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2430:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2430:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2430:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2432:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2432:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2432:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2432:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2432:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2436:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2436:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2436:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2436:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2436:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2440:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2440:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2440:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2440:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2440:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2441:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2441:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2441:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2441:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2441:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2444:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2444:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2444:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2444:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2444:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2445:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2445:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2445:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2445:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2445:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2449:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2449:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2453:2: 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:1797:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ imapd.c:2453:2: 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:1797:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ imapd.c:2460:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2460:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2460:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2460:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2460:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2460:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2460:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2460:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2464:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2464:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2464:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2464:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2464:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2468:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2468:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2468:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2468:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2468:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2469:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2469:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2469:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2469:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2469:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2477:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2477:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2477:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2477:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2477:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2478:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2478:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2478:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2478:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2478:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2480:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2480:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2480:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2480:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2480:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2488:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2488:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2488:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2488:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2488:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2492:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2492:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2492:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2492:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2492:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2495:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2495:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2495:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2495:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2495:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2496:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2496:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2496:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2496:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2496:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2498:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2498:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2498:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2498:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2498:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2500:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2500:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2500:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2500:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2500:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2502:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2502:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2502:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2502:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2502:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2504:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2504:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2504:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2504:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2504:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2506:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2506:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2506:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2506:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2506:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2510:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2510:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2510:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2510:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2510:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2512:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2512:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2512:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2512:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2512:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2517:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2517:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2517:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2517:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2517:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2526:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2526:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2526:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2526:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2526:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2527:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2527:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2527:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2527:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2527:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2528:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2528:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2528:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2528:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2528:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2529:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2529:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2529:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2529:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2529:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2530:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2530:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2530:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2530:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2530:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2532:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2532:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2532:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2532:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2532:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2535:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2535:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2535:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2535:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2535:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c: In function 'crit_string': imapd.c:2698:3: 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; ^ imapd.c: In function 'fetch_work': imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 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); ^ imapd.c:2755:3: 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); ^ imapd.c:2755:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2755:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2760:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (list = (*t == '(')) t++; /* skip open paren */ ^ imapd.c:2762:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strtok_r (t," ",&sstate)) do { ^ imapd.c:2762:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strtok_r (t," ",&sstate)) do { ^ imapd.c:2763:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2768:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2768:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2768:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2768:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2768:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2768:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2768:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2768:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2771:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2771:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2771:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2771:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2771:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2772:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2772:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2772:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2772:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2772:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2773:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2773:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2773:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2773:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2773:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2774:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2774:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2774:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2774:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2774:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2774:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2774:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2778:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2778:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2778:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2778:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2778:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2778:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2778:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2782:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2782:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2782:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2782:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2782:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2782:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2782:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2786:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2786:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2786:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2786:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2786:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2786:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2786:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2790:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2790:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2790:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2790:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2790:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2791:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2791:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2791:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2791:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2791:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2791:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2791:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2796:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2796:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2796:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2796:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2796:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2796:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2796:5: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2796:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2796:5: 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:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2796:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2796:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2796:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2797:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2797:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2797:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2797:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2797:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2797:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2797:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2797:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2797:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2797:7: 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:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2797:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2797:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2797:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2798:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2798:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2798:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2798:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2798:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2798:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2798:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2798:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2798:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2838:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2838:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2838:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2838:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2838:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2838:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2838:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2838:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2838:6: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2851:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2851:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2851:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2851:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2851:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2851:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2851:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2851:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2851:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2856:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2856:6: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2856:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2856:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2856:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2856:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2856:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2856:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2856:6: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:2858:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2858:8: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2858:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2858:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2858:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2858:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2858:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2858:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2858:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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)) || ^ imapd.c:2871:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2871:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2871:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2871:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2871:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2871:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2871:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2871:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2871:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:41: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:5: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2896:7: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2905:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sstate = v + 1; /* reset strtok mechanism */ ^ imapd.c:2913:4: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] strtok_r (v," ",&sstate); ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:2913:4: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imapd.c:2924:7: 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); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: imapd.c: In function 'fetch_body_part_binary': ../c-client/mail.h:764:21: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] #define BODY struct mail_bodystruct ^ imapd.c:3070:5: note: in expansion of macro 'BODY' 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:1712:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ imapd.c:3083:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cst.data = rfc822_base64 (st.data,st.size,&cst.size)) break; ^ imapd.c:3091:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cst.data = rfc822_qprint (st.data,st.size,&cst.size)) break; ^ imapd.c: In function 'fetch_flags': imapd.c:3287:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (u = elt->user_flags) do /* any user flags? */ ^ imapd.c:3288:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = stream->user_flags[find_rightmost_bit (&u)]) put_flag (&c,t); ^ 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:5: 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 'pbodystructure': imapd.c:3481:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (part = body->nested.part) ^ imapd.c: In function 'pbody': imapd.c:3566:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (part = body->nested.part) ^ imapd.c: In function 'pparam': imapd.c:3620:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (param = param->next) PBOUT (' '); ^ imapd.c: In function 'paddr': imapd.c:3646:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (a = a->next); /* until end of address */ ^ imapd.c: In function 'pset': imapd.c:3665:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cur = cur->next) PBOUT (','); ^ imapd.c: In function 'pastringlist': imapd.c:3805:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (s = s->next); ^ imapd.c: In function 'pnstringorlist': imapd.c:3822:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while (s = s->next); ^ imapd.c: In function 'ptext': imapd.c:3880:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = txt->data) while (i && ((PBOUT ((c = *s++) ? c : 0x80) != EOF))) --i; ^ imapd.c: In function 'pthread': imapd.c:3897:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = thr->next) { /* any subsequent nodes? */ ^ imapd.c: In function 'pcapability': imapd.c:3950:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = ssl_start_tls (NIL)) fs_give ((void **) &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:2: 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:1783:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c:4139:2: 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:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c:4145:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mail_elt (stream,i)->spare = mail_elt (stream,i)->sequence) { ^ imapd.c: In function 'proxy_append': imapd.c:4200:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = elt->user_flags) do ^ imapd.c: In function 'append_msg': imapd.c:4232:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = ad->flags) fs_give ((void **) &ad->flags); ^ imapd.c:4233:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = ad->date) fs_give ((void **) &ad->date); ^ imapd.c:4234:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = ad->msg) fs_give ((void **) &ad->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:3: 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:3: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:4268:5: 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) ^ imapd.c:4269:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr (ad->arg,'\012')) { ^ imapd.c:4269:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:4271:7: 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'; ^ In file included from /usr/include/string.h:633:0, from ../c-client/osdep.h:41, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/bits/string2.h:1172:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imapd.c:4271:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imapd.c:4273:7: 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:41:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:4279:4: 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:40:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c: In function 'mm_login': imapd.c:4649:3: 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:375:0, from /usr/include/stdio.h:27, from imapd.c:28: /usr/include/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c: In function 'main': imapd.c:956:7: warning: 'juid' may be used uninitialized in this function [-Wmaybe-uninitialized] if (juid == (iuid - (i-j))) { /* in sequence of UIDs */ ^ imapd.c:956:26: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] if (juid == (iuid - (i-j))) { /* in sequence of UIDs */ ^ `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.20/imap/imapd' cd mailutil;make make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c mailutil.c: In function 'main': mailutil.c:288:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] (debugp ? OP_DEBUG : NIL))) { ^ mailutil.c:299:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] (debugp ? OP_DEBUG : NIL))) { ^ mailutil.c:379:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (t = strchr (tmp+1,'\n')) *t = '\0'; ^ mailutil.c:387:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *t1++) { /* swap delimiters then */ ^ mailutil.c:400:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] (rwcopyp ? NIL : OP_READONLY))) { ^ mailutil.c: In function 'prune_criteria': mailutil.c:456:7: 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:30: ../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:598:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (tmp,'\n')) *s = '\0'; ^ mailutil.c:627:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 0; i < NUSERFLAGS; ++i) if (t = source->user_flags[i]) { ^ mailutil.c: In function 'mm_login': mailutil.c:898:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = strchr (username,'\n')) *s = '\0'; ^ mailutil.c: In function 'mbxcopy': mailutil.c:597:8: 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:896:11: 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.20/imap/mailutil' cd mlock;make || true make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:60:3: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^ mlock.c: In function 'main': mlock.c:75:3: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) ^ mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] chdir (dir); ^ mlock.c:113:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) ^ mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (lock); /* time out lock if enough time has passed */ ^ mlock.c:123:7: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^ mlock.c:125:5: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^ mlock.c:132:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^ mlock.c:138:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] i = link (hitch,lock) ? errno : 0; ^ mlock.c:161:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^ mlock.c:169:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^ `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/mlock' cd dmail;make || true make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c dmail.c: In function 'file_string_setpos': dmail.c:118:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s->cursize = min (s->chunksize,SIZE (s))) { ^ dmail.c: In function 'main': dmail.c:160:5: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^ dmail.c: In function 'deliver': dmail.c:227:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (mailbox = strchr (user,'+')) { ^ dmail.c:229:5: 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: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); ^ dmail.c: In function 'mm_notify': dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:41:0, from ../c-client/c-client.h:42, from dmail.c:34: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:565:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:565:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:41:0, from ../c-client/c-client.h:42, from dmail.c:34: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:565:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:565:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:565:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:565:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:34: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:565:3: 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:565:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c: In function 'file_string_setpos': dmail.c:121:11: 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:442:13: 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.20/imap/dmail' cd tmail;make || true make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c tmail.c: In function 'file_string_setpos': tmail.c:118:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s->cursize = min (s->chunksize,SIZE (s))) { ^ tmail.c: In function 'main': tmail.c:163:9: 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:33: ../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:163:9: 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:33: ../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:168:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^ tmail.c: In function 'getusername': tmail.c:603:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*t = strchr (s,'+')) { /* have a mailbox specifier? */ ^ tmail.c:608:5: 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:33: ../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 'mm_notify': tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:41:0, from ../c-client/c-client.h:42, from tmail.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:41:0, from ../c-client/c-client.h:42, from tmail.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: 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:33: ../c-client/misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c: In function 'file_string_setpos': tmail.c:121:11: 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:561:13: 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.20/imap/tmail' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap' make[1]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap' /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/alpine-2.20' Making all in m4 make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/m4' Making all in po make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/po' Making all in pith make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith' gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c help_h_gen.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c help_c_gen.c /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -L/usr/lib -Wl,-z,relro -o help_h_gen help_h_gen.o libtool: link: gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z -Wl,relro -o help_h_gen help_h_gen.o -L/usr/lib -pthread /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -L/usr/lib -Wl,-z,relro -o help_c_gen help_c_gen.o ./help_h_gen < pine.hlp > helptext.h libtool: link: gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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.20/pith' Making all in osdep make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith/osdep' gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c bldpath.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c canaccess.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c canonicl.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c collate.c 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 $"; ^ 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 $"; ^ 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c color.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c coredump.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c creatdir.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c debugtime.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c domnames.c 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 $"; ^ color.c: In function 'qs_add': color.c:241:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ color.c: In function 'qs_remove_trailing_spaces': color.c:299:14: warning: unused variable 'rl' [-Wunused-variable] QSTRING_S *rl = cl; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c err_desc.c color.c: In function 'fix_qstring': color.c:435:47: warning: unused variable 'pqstring' [-Wunused-variable] QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; ^ color.c:435:31: warning: unused variable 'nqstring' [-Wunused-variable] QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; ^ color.c: In function 'isaword': color.c:838:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return i <= j && is_cletter(word[i]) ? ^ color.c: In function 'do_raw_quote_match': color.c:938:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (pl && value_is_space(pbuf)) && !PLine[strlen(pbuf)]) ? 1 : 0; ^ color.c:920:39: warning: unused variable 'buf' [-Wunused-variable] char nbuf[NSTRING], pbuf[NSTRING], buf[NSTRING]; ^ color.c: In function 'do_quote_match': color.c:1017:11: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] c = buf && buf[0] ? strlen(buf) : 0; ^ color.c:1018:10: warning: the address of 'nbuf' will always evaluate as 'true' [-Waddress] n = nbuf && nbuf[0] ? strlen(nbuf) : 0; ^ color.c:1019:10: warning: the address of 'pbuf' will always evaluate as 'true' [-Waddress] p = pbuf && pbuf[0] ? strlen(pbuf) : 0; ^ color.c: In function 'is_indent': color.c:116:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ((c) == '-' ) && \ ^ color.c:1234:31: note: in expansion of macro 'allowed_after_digit' if(allowed_after_digit(now(word,k),word,k)){ ^ color.c:1190:42: warning: unused variable 'digit' [-Wunused-variable] int i = 0, finished = 0, c, nxt, j, k, digit = 0, bdigits = -1, alpha = 0; ^ color.c: In function 'add_allowed_qstr': color.c:1301:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ color.c: 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 $"; ^ color.c: In function 'fix_qstring': color.c:572:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c fgetpos.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 -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c filesize.c 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c fnexpand.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c hostname.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c lstcmpnt.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mimedisp.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pipe.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pw_stuff.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c rename.c pipe.c: In function 'process_reap': pipe.c:744:5: warning: passing argument 2 of 'waitpid' from incompatible pointer type [enabled by default] while (((rv = waitpid(pid, &wstatus, wflags)) < 0) && (errno != ECHILD)); ^ In file included from ../../include/system.h:115:0, from pipe.c:19: /usr/include/sys/wait.h:137:16: note: expected 'int *' but argument is of type 'union wait *' extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); ^ pipe.c: 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 $"; ^ pipe.c: In function 'open_system_pipe': pipe.c:323:10: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); /* alloc pipe to write child */ ^ pipe.c:329:10: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); /* alloc pipe to read child */ ^ 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c tempfile.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c temp_nam.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c writ_dir.c 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 $"; ^ 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 $"; ^ 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.20/pith/osdep' Making all in charconv make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith/charconv' gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c filesys.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c utf8.c utf8.c: In function 'wcellwidth': utf8.c:95:7: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] return(wcwidth((wchar_t) ucs)); ^ 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 $"; ^ utf8.c: In function 'utf8_snprintf': utf8.c:1269:47: warning: variable 'modifier' set but not used [-Wunused-but-set-variable] int min_field_width, field_precision, modifier; ^ utf8.c:1262:13: warning: variable 'start_of_specifier' set but not used [-Wunused-but-set-variable] char *start_of_specifier; ^ utf8.c: 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:240: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.20/pith/charconv' make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith' gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c ablookup.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c abdlc.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c addrbook.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c addrstring.c 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 $"; ^ 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 $"; ^ 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 $"; ^ 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 $"; ^ ablookup.c: In function 'address_in_abook': ablookup.c:466:8: warning: 'positive_match' may be used uninitialized in this function [-Wmaybe-uninitialized] if(positive_match){ ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c adrbklib.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c bldaddr.c 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, ^ 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 $"; ^ In file included from bldaddr.c:39:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ adrbklib.c: 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 $"; ^ bldaddr.c: In function 'expand_address': bldaddr.c:877:19: warning: 'adr2' may be used uninitialized in this function [-Wmaybe-uninitialized] if(adr2 == NULL){ ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c charset.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c color.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 $"; ^ color.c: In function 'color_a_quote': color.c:161:25: warning: unused variable 'j' [-Wunused-variable] int countem = 0, i, j = 0; ^ color.c: 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c conf.c charset.c: In function 'conversion_table': charset.c:848:10: warning: 'fc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(fc == totab[j]){ ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c context.c conf.c: In function 'init_pinerc': conf.c:1033:36: warning: unused variable 'db' [-Wunused-variable] char buf[MAXPATH+1], *p, *db; ^ conf.c: In function 'write_pinerc': conf.c:6062:28: 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(slpath, sizeof(slpath), "%s/%s", filename, slink); ^ conf.c:6066:28: 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(slpath, sizeof(slpath), "%s/%s", ps_global->home_dir, slink); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c copyaddr.c conf.c: At top level: 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 $"; ^ In file included from conf.c:32:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c detoken.c adrbklib.c: In function 'adrbk_sort': adrbklib.c:4730:16: warning: 'hi' may be used uninitialized in this function [-Wmaybe-uninitialized] long i, j, hi, count; ^ 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 $"; ^ In file included from detoken.c:27:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c detach.c detoken.c: In function 'detoken_src': detoken.c:159:11: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] char *ret, *str1, *str2; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c editorial.c 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c escapes.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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c filter.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c flag.c conf.c: In function 'read_pinerc': conf.c:5439:10: warning: 'lvalue' may be used uninitialized in this function [-Wmaybe-uninitialized] *l = lvalue; ^ conf.c:5343:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] && !expand_variables(tmp_20k_buf, SIZEOF_20KBUF, value, ^ conf.c:5522:43: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] prc->pinerc_written = name_file_mtime(filename); ^ 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); ^ 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 $"; ^ In file included from flag.c:30:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ flag.c: In function 'flag_search': flag.c:344:16: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->sequence = 0; ^ 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:7854: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:7854:2: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^ 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:8813: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:8813:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^ filter.c: In function 'html_putc': conf.c: In function 'write_pinerc': 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:8885:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^ conf.c:6018:8: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] lval[i+1] ? "," : "", NEWLINE); ^ 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:8885:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^ conf.c:5998:32: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] || (!var->is_list && pval[0] == '\0')){ ^ conf.c:5794:4: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] if((p = last_cmpnt(filename)) != NULL){ ^ filter.c: In function 'gf_quote_test': filter.c:11297:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SECOND_LINE_QUOTE_TEST(line, f); ^ filter.c:11300:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] FIRST_LINE_QUOTE_TEST(line, f); ^ filter.c:11312:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] SECOND_LINE_QUOTE_TEST(line, f); ^ filter.c:11315:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] FIRST_LINE_QUOTE_TEST(line, f); ^ filter.c:11324:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] GF_ADD_QUOTED_LINE(f, line+i); ^ filter.c:188:42: warning: value computed is not used [-Wunused-value] GF_IP_INIT(F), GF_EIB_INIT(F)) ? 1 : 0) ^ filter.c:11330:2: note: in expansion of macro 'GF_FLUSH' GF_FLUSH(f->next); ^ filter.c: 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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c folder.c filter.c: In function 'html_element_comment': filter.c:7687:13: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(p = buf, sizeof(buf)); ^ folder.c: In function 'folder_name_decoded': folder.c:1409:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s == NULL) s = (unsigned char *) cpystr(mailbox); ^ In file included from ../pith/headers.h:30:0, from folder.c:19: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ folder.c: In function 'folder_name_encoded': folder.c:1419:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = (char *) utf8_to_mutf7(mailbox); ^ folder.c:1420:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s == NULL) s = cpystr(mailbox); ^ In file included from ../pith/headers.h:30:0, from folder.c:19: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ folder.c:1420:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s == NULL) s = cpystr(mailbox); ^ folder.c: At top level: 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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c handle.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c help.c 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]){ ^ help.c: 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 $"; ^ conf.c: In function 'set_variable': conf.c:6553: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:6619:39: warning: 'prc' may be used uninitialized in this function [-Wmaybe-uninitialized] prc->outstanding_pinerc_changes = 1; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c helpindx.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c hist.c folder.c: In function 'get_recent_in_folder': folder.c:2602:12: warning: 'uns' may be used uninitialized in this function [-Wmaybe-uninitialized] *unseen = uns; ^ folder.c:2599:9: warning: 'nw' may be used uninitialized in this function [-Wmaybe-uninitialized] *new = nw; ^ folder.c:2605:11: warning: 'tot' may be used uninitialized in this function [-Wmaybe-uninitialized] *total = tot; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c icache.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c imap.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c init.c 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; ^ imap.c: At top level: 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 $"; ^ In file included from imap.c:32:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ 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 : "?"), ^ init.c: 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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c keyword.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c ldap.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c list.c ldap.c: In function 'ldap_lookup': ldap.c:575:11: warning: the address of 'pwd' will always evaluate as 'true' [-Waddress] if(pwd && pwd[0]) ^ ldap.c: 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailcap.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailcmd.c 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 $"; ^ 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; ^ mailcmd.c: In function 'move_read_msgs_using_rules': mailcmd.c:2696: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:2785: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:2811:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i = 0; v = incoming_startup_rules(i); i++) ^ mailcmd.c: At top level: 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 $"; ^ ldap.c: In function 'ldap_lookup': ldap.c:617:15: warning: 'srch_res' may be used uninitialized in this function [-Wmaybe-uninitialized] int srch_res, args, slen, flen; ^ 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; ^ In file included from mailcmd.c:42:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailindx.c mailindx.c: In function 'reset_index_format': mailindx.c:382: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)){ ^ mailindx.c: In function 'build_header_work': mailindx.c:1646:20: warning: unused variable 'branch' [-Wunused-variable] unsigned long branch; ^ mailindx.c: In function 'format_index_index_line': mailindx.c:3029:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(color = hdr_color(itokens[itokensinv[cdesc->ctype].ctype].name, NULL, ps_global->index_token_colors)){ ^ mailindx.c: In function 'fetch_firsttext': mailindx.c:3912:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] buf, PROCESS_SP, idata, 4)){ ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c maillist.c mailindx.c:3907:18: warning: unused variable 'env' [-Wunused-variable] ENVELOPE *env; ^ mailindx.c: In function 'subj_str': mailindx.c:5441:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule_result = find_value("_SUBJECT_", origsubj, PROCESS_SP, idata, 4)){ ^ mailindx.c:5386:52: warning: unused variable 'i' [-Wunused-variable] int depth = 0, mult = 2, collapsed, i, we_clear = 0; ^ mailindx.c:5386:41: warning: unused variable 'collapsed' [-Wunused-variable] int depth = 0, mult = 2, collapsed, i, we_clear = 0; ^ mailindx.c: In function 'setup_threading_display_style': mailindx.c:6609:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i = 0; v = thread_disp_styles(i); i++) ^ mailindx.c: In function 'find_value': mailindx.c:6637:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule = get_rulelist_from_code(V_REPLACE_RULES, ps_global->rule_list)){ ^ mailindx.c: At top level: 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 $"; ^ In file included from mailindx.c:28:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ In file included from mailindx.c:44:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ 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 $"; ^ 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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailview.c 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; ^ mailview.c:1122:15: warning: unused variable 'q' [-Wunused-variable] char *p, *q; ^ 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) || ^ 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; ^ mailview.c: At top level: 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 mailview.c:39:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ mailcmd.c: In function 'expunge_and_close': mailcmd.c:1329:40: 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))) ^ mailview.c: In function 'pine_fetch_header': mailview.c:3485:10: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] *m++ = *p++; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c margin.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mimedesc.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; ^ 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 $"; ^ 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) || ^ mailindx.c: In function 'fetch_firsttext': mailindx.c:3812:7: warning: 'pelt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(pelt && pelt->firsttext != NULL) ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mimetype.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c msgno.c msgno.c: In function 'msgno_exclude_deleted': 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 $"; ^ msgno.c:274:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence); ^ In file included from ../pith/headers.h:27:0, from msgno.c:19: ../pith/../c-client/mail.h:1782:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ msgno.c: At top level: 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c newmail.c 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)); ^ 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; ^ 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; ^ newmail.c: 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c news.c 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 $"; ^ 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)) ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pattern.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pipe.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 $"; ^ In file included from pattern.c:30:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ 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 $"; ^ 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); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c readfile.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c remote.c 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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c reply.c 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 $"; ^ reply.c: In function 'same_subject': reply.c:94:4: warning: pointer targets in passing argument 1 of 'rfc1522_decode_to_utf8' differ in signedness [-Wpointer-sign] s1 = (char *) rfc1522_decode_to_utf8(u, 6*len + 1, s); ^ In file included from ../pith/../pith/indxtype.h:23:0, from ../pith/reply.h:43, from reply.c:20: ../pith/../pith/../pith/charset.h:49:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *rfc1522_decode_to_utf8(unsigned char *, size_t, char *); ^ reply.c:95:4: warning: pointer targets in passing argument 1 of 'rfc1522_decode_to_utf8' differ in signedness [-Wpointer-sign] s2 = (char *) rfc1522_decode_to_utf8(v, 6*len + 1, t); ^ In file included from ../pith/../pith/indxtype.h:23:0, from ../pith/reply.h:43, from reply.c:20: ../pith/../pith/../pith/charset.h:49:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *rfc1522_decode_to_utf8(unsigned char *, size_t, char *); ^ reply.c: In function 'forward_subject': reply.c:2426:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule = get_result_rule(V_FORWARD_RULES,FOR_COMPOSE, env)){ ^ reply.c: At top level: 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 $"; ^ In file included from reply.c:47:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ In file included from reply.c:51:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ 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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c rfc2231.c reply.c: In function 'get_reply_data': reply.c:1883:19: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->recent ? (mc->seen ? "R" : "N") : (mc->seen) ? "R" : "U", ^ 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 $"; ^ 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) ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c rules.c rules.c: In function 'context_for_function': rules.c:168:10: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ 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: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' [-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:3: 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:30: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:5: 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:30: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: rules.c: 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 pattern.c:21:0: pattern.c: In function 'sub_write_patterns': ../pith/conf.h:851:66: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ pattern.c:3334:23: note: 'var' was declared here struct variable *var; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c save.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c search.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c sequence.c 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 $"; ^ In file included from save.c:29:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c send.c save.c: In function 'save_get_fldr_from_env': save.c:289:10: warning: 'bufp' may be used uninitialized in this function [-Wmaybe-uninitialized] if(bufp && *bufp){ ^ 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++) ^ send.c: In function 'post_handoff': send.c:5658:5: 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:24, from send.c:19: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ send.c:5658: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:5661: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)){ ^ send.c: At top level: 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 $"; ^ In file included from send.c:47:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ pattern.c: In function 'parse_intvl': pattern.c:1890:4: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized] (*next)->imin = left; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c sort.c 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; ^ 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 $"; ^ 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[] = { ^ save.c: In function 'save': save.c:637:18: warning: 'dummy_msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] mail_flag(dstn_stream, ulong2string(dummy_msgno), ^ save.c:670:20: warning: 'au' may be used uninitialized in this function [-Wmaybe-uninitialized] mail_parameters(NIL, SET_APPENDUID, (void *) au); ^ save.c:549:20: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] newlen = strlen(user_flag_name) + 1; ^ 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; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c state.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c status.c pattern.c: In function 'match_pattern': pattern.c:4842:19: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->searched = T; ^ 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 $"; ^ 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 $"; ^ 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[] = { ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c store.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c stream.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 $"; ^ stream.c: In function 'streams_died': stream.c:3279:6: warning: pointer targets in passing argument 1 of 'pretty_fn' differ in signedness [-Wpointer-sign] short_str(pretty_fn(folder) ? pretty_fn(folder) : "?", ^ In file included from stream.c:36:0: ../pith/folder.h:90:10: note: expected 'char *' but argument is of type 'unsigned char *' char *pretty_fn(char *); ^ stream.c:3279:6: warning: pointer targets in passing argument 1 of 'pretty_fn' differ in signedness [-Wpointer-sign] short_str(pretty_fn(folder) ? pretty_fn(folder) : "?", ^ In file included from stream.c:36:0: ../pith/folder.h:90:10: note: expected 'char *' but argument is of type 'unsigned char *' char *pretty_fn(char *); ^ stream.c:3285:6: warning: pointer targets in passing argument 1 of 'pretty_fn' differ in signedness [-Wpointer-sign] short_str(pretty_fn(folder) ? pretty_fn(folder) : "?", ^ In file included from stream.c:36:0: ../pith/folder.h:90:10: note: expected 'char *' but argument is of type 'unsigned char *' char *pretty_fn(char *); ^ stream.c:3285:6: warning: pointer targets in passing argument 1 of 'pretty_fn' differ in signedness [-Wpointer-sign] short_str(pretty_fn(folder) ? pretty_fn(folder) : "?", ^ In file included from stream.c:36:0: ../pith/folder.h:90:10: note: expected 'char *' but argument is of type 'unsigned char *' char *pretty_fn(char *); ^ stream.c:3296:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] folder = STREAMNAME(m); ^ stream.c: At top level: 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 $"; ^ In file included from stream.c:37:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c string.c string.c: In function 'collspaces': string.c:149:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(*string = *p++) ^ 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: 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 $"; ^ 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:480:5: warning: 'second' may be used uninitialized in this function [-Wmaybe-uninitialized] p = utf8_count_back_width(src, src+strlen(src), second, &got_width); ^ 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; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c strlst.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c takeaddr.c 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 -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c tempfile.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c text.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c thread.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)){ ^ 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': 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; ^ 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; ^ thread.c: At top level: 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 $"; ^ In file included from thread.c:30:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c adjtime.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c url.c 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; ^ 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 $"; ^ text.c: In function 'delete_quotes': text.c:638:8: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] lp += len; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c util.c 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; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c helptext.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c smkeys.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c smime.c smkeys.c: In function 'resort_certificates': smkeys.c:288:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(t = s = cl->name; t = strstr(s, ".crt"); s = t+1); ^ smkeys.c: 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 $"; ^ smime.c: In function 'setup_pwdcert': smime.c:295:9: warning: the address of 'pathkey' will always evaluate as 'true' [-Waddress] if((pathkey && *pathkey) || text){ ^ smime.c: In function 'do_detached_signature_verify': smime.c:2840:3: warning: pointer targets in passing argument 2 of 'mail_body_section' differ in signedness [-Wpointer-sign] b->nested.part = mail_body_section(body, section)->nested.part; ^ In file included from ../pith/headers.h:27:0, from smime.c:28: ../pith/../c-client/mail.h:1711:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body_section (BODY *b, unsigned char *section); ^ smime.c: 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 $"; ^ smime.c: In function 'setup_pwdcert': smime.c:295:30: warning: 'text' may be used uninitialized in this function [-Wmaybe-uninitialized] if((pathkey && *pathkey) || text){ ^ smime.c: In function 'smime_validate_extra_test': smime.c:2716:7: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] int result, i, j, flag; ^ smime.c: In function 'smime_expunge_cert': smime.c:524:78: 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)); ^ smime.c: In function 'do_fiddle_smime_message': smime.c:2809: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:2764:39: note: 'bodytext' was declared here char newSec[100], *mimetext, *bodytext; ^ smime.c:2809:14: warning: 'mimetext' may be used uninitialized in this function [-Wmaybe-uninitialized] result = smime_validate_extra_test(mimetext, mimelen, bodytext, bodylen, p7, flag); ^ smime.c:2764: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.20/pith' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pith' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pith' Making all in pico make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/pico' Making all in osdep make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/pico/osdep' gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c altedit.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c chkpoint.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c color.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c filesys.c 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 $"; ^ 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 $"; ^ 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c fsync.c 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); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c getkey.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mouse.c 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c newmail.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c popen.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c raw.c 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 $"; ^ 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 $"; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c read.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c shell.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c signals.c 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 $"; ^ shell.c: In function 'bktoshell': shell.c:108:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system((shell = (char *)getenv("SHELL")) ? shell : "/bin/csh"); ^ 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 $"; ^ shell.c:109:12: warning: 'dummy' may be used uninitialized in this function [-Wmaybe-uninitialized] rtfrmshell(dummy); /* fixup tty */ ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c spell.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c terminal.c 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 $"; ^ 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; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c truncate.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c tty.c 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 $"; ^ 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 $"; ^ 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 $"; ^ 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.20/pico/osdep' make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/pico' gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c attach.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c basic.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c bind.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c browse.c basic.c: In function 'gotobop': basic.c:365:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] && !qstr2[i] && !qstr[j]) ^ 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; ^ basic.c: 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 $"; ^ bind.c: In function 'wscrollw': bind.c:290:10: warning: 'cont' may be used uninitialized in this function [-Wmaybe-uninitialized] if(cont) ^ attach.c: In function 'ParseAttach': attach.c:1072:60: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] strncpy(sz, (lblsz) ? lblsz : prettysz(attsz), sizeof(sz)); ^ attach.c: At top level: 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 $"; ^ browse.c: In function 'FileBrowse': browse.c:1681:10: warning: the address of 'pat' will always evaluate as 'true' [-Waddress] if(pat && pat[0]) ^ browse.c: 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 $"; ^ browse.c: In function 'p_chdir': browse.c:2712:12: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(mp->dname); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c buffer.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c composer.c attach.c: In function 'ParseAttach': attach.c:741:13: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] *off += j - 1; ^ composer.c: In function 'LineEdit': composer.c:2101:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ch = GetAccent()) ^ composer.c: 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 $"; ^ browse.c: In function 'getfcells': browse.c:1886:16: warning: 'tcp' may be used uninitialized in this function [-Wmaybe-uninitialized] ncp->prev = tcp; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c display.c display.c: In function 'mlreplyd': display.c:1769:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = GetAccent()) ^ display.c: 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 $"; ^ browse.c: In function 'FileBrowse': browse.c:1571:19: warning: 'flen' may be used uninitialized in this function [-Wmaybe-uninitialized] new->fname[flen] = '\0'; ^ attach.c: In function 'SyncAttach': attach.c:623:11: warning: 'bld' may be used uninitialized in this function [-Wmaybe-uninitialized] free((void *)bld); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c file.c 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 $"; ^ file.c: In function 'insfile': file.c:116:11: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] int retval, bye = 0, msg = 0; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c fileio.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c line.c 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 $"; ^ 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 $"; ^ line.c: In function 'lalloc': line.c:92:16: warning: 'lp' may be used uninitialized in this function [-Wmaybe-uninitialized] lp->l_used = used; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pico.c display.c: In function 'update': display.c:511:28: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] j = wp->w_ntrows - (j-i); /* we chose new top line! */ ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c random.c 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 $"; ^ 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)), ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c region.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c search.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c window.c search.c: In function 'forwsearch': search.c:390:42: warning: the address of 'defpat' will always evaluate as 'true' [-Waddress] utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, bsearch); ^ search.c: 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c word.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c main.c word.c: In function 'fillpara': word.c:660:19: warning: unused variable 'qstr2' [-Wunused-variable] UCS *qstr, qstr2[NSTRING], c; ^ word.c: In function 'fpnewline': word.c:1193:6: warning: unused variable 'ww' [-Wunused-variable] int ww; ^ word.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 $"; ^ main.c: In function 'main': main.c:250:8: warning: the address of 'opertree' will always evaluate as 'true' [-Waddress] if(opertree && opertree[0]){ ^ main.c: 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c utf8stub.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pilot.c 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 $"; ^ 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 $"; ^ 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 -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 libtool: link: gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 -pthread libtool: link: gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 -pthread make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pico' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pico' Making all in alpine make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/alpine' Making all in osdep make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/alpine/osdep' gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c chnge_pw.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c debuging.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c diskquot.non.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c execview.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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c fltrname.c 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 $"; ^ chnge_pw.c: In function 'change_passwd': chnge_pw.c:59:11: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd_buf); ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c jobcntrl.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c print.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c termin.gen.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c termin.unx.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c termout.gen.c 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 $"; ^ print.c: In function 'open_printer': print.c:226:5: warning: 'lastprinter' may be used uninitialized in this function [-Wmaybe-uninitialized] : 0; ^ termin.gen.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: termin.gen.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; ^ In file included from termin.gen.c:37:0: ../../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 termin.gen.c:63: ../../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ 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 $"; ^ 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 $"; ^ In file included from ../mailcmd.h:26:0, from termin.unx.c:60: ../../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ termin.unx.c: In function 'pre_screen_config_opt_enter': termin.unx.c:754:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, string_size, stdin); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c termout.unx.c 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 $"; ^ rm -f libpineosd.a /usr/bin/ar cru libpineosd.a chnge_pw.o debuging.o diskquot.non.o execview.o fltrname.o jobcntrl.o print.o termin.gen.o termin.unx.o termout.gen.o termout.unx.o ranlib libpineosd.a make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine/osdep' make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/alpine' gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c addrbook.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c adrbkcmd.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c after.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c alpine.c after.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: after.c 138 2006-09-22 22:12:03Z mikes@u.washington.edu $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c arg.c 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; ^ 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", ^ addrbook.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from addrbook.c:29: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ alpine.c: In function 'main': alpine.c:152:18: warning: unused variable 'args_for_debug' [-Wunused-variable] char *args_for_debug = NULL, *init_pinerc_debugging = NULL; ^ adrbkcmd.c: In function 'single_entry_delete': adrbkcmd.c:6471:23: warning: variable 'pab' set but not used [-Wunused-but-set-variable] PerAddrBook *pab; ^ alpine.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from alpine.c:34: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ adrbkcmd.c: At top level: 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 mailcmd.h:26:0, from adrbkcmd.c:32: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ arg.c: In function 'process_debug_str': arg.c:927:20: warning: unused variable 'p' [-Wunused-variable] char **list, **p; ^ arg.c:927:12: warning: unused variable 'list' [-Wunused-variable] char **list, **p; ^ arg.c:926:12: warning: unused variable 'error' [-Wunused-variable] char *error = NULL; ^ arg.c:925:12: warning: unused variable 'q' [-Wunused-variable] char *q = debug_str; ^ arg.c:924:12: warning: unused variable 'new_style_debug_arg' [-Wunused-variable] int new_style_debug_arg = 0; ^ arg.c:923:12: warning: unused variable 'commas' [-Wunused-variable] int commas = 0; ^ arg.c:922:12: warning: unused variable 'i' [-Wunused-variable] int i, usage = 0; ^ arg.c: At top level: 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 $"; ^ arg.c:70: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:76: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: In function 'pine_args': arg.c:685:13: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir, sizeof(path)); ^ arg.c:729:13: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir, sizeof(path)); ^ 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; ^ adrbkcmd.c: In function 'view_abook_entry': adrbkcmd.c:349:21: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] as.old_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){ ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c busy.c busy.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: signal.c 138 2006-09-22 22:12:03Z mikes@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; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c colorconf.c addrbook.c: In function 'resync_screen': addrbook.c:6220:19: 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) ^ In file included from context.h:22:0, from conftype.h:24, from colorconf.h:21, from colorconf.c:21: colorconf.c: In function 'color_text_tool': ../pith/conf.h:847: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:1113:13: note: in expansion of macro 'APVAL' apval = APVAL(&v, ew); ^ 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:22:0, from conftype.h:24, from colorconf.h:21, from colorconf.c:21: colorconf.c: In function 'color_edit_screen': ../pith/conf.h:847: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); ^ colorconf.c: At top level: 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 $"; ^ In file included from colorconf.c:31:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ adrbkcmd.c: In function 'ab_forward': adrbkcmd.c:4654:15: warning: 'abe' may be used uninitialized in this function [-Wmaybe-uninitialized] if(abe->addr.addr && abe->addr.addr[0] ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c confscroll.c addrbook.c: In function 'addr_book': addrbook.c:3397:18: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] as.old_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){ ^ adrbkcmd.c: In function 'ab_export': adrbkcmd.c:4473:32: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] filename, error_description(orig_errno)); ^ 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; ^ confscroll.c: At top level: 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 confscroll.c:31: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ In file included from confscroll.c:54:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ 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 : ""; ^ confscroll.c: In function 'text_pretty_value': confscroll.c:3958: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:3962:6: 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:4015:26: warning: 'lvalexc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(the_list && the_list[0] && !strcmp(the_list[0], INHERIT)) ^ confscroll.c: In function 'update_option_screen': confscroll.c:3201:9: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] char *p; ^ adrbkcmd.c: In function 'convert_to_remote_config': adrbkcmd.c:2727:13: warning: 'sigs' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(!(abooks || sigs)) ^ adrbkcmd.c:2727:13: warning: 'abooks' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c context.c 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 $"; ^ In file included from mailcmd.h:26:0, from context.c:27: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c dispfilt.c dispfilt.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: dispfilt.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c flagmaint.c context.c: In function 'context_config_shuffle': context.c:661:12: warning: 'other_ctxt' may be used uninitialized in this function [-Wmaybe-uninitialized] other_var = other_ctxt->var.v; ^ 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 $"; ^ In file included from flagmaint.c:25:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c folder.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c help.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c imap.c 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 ^ folder.c:4909:6: warning: the address of 'nickname' will always evaluate as 'true' [-Waddress] if(nickname && nickname[0]){ ^ 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 $"; ^ In file included from mailcmd.h:26:0, from help.c:25: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ folder.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from folder.c:40: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ imap.c: In function 'mm_notify': imap.c:147: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:241:17: warning: variable 'tm_now' set but not used [-Wunused-but-set-variable] struct tm *tm_now; ^ imap.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from imap.c:33: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ imap.c: In function 'mm_diskerror': imap.c:1192:12: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("csh"); ^ imap.c: In function 'read_passfile': imap.c:2391:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tmp2, sizeof(tmp2), fp); ^ imap.c: In function 'preserve_prompt': imap.c:2790:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ confscroll.c: In function 'text_toolit': confscroll.c:2304:27: warning: 'incr' may be used uninitialized in this function [-Wmaybe-uninitialized] numval = MIN(numval + incr, hirange); ^ confscroll.c:2297:39: warning: 'hirange' may be used uninitialized in this function [-Wmaybe-uninitialized] _("Maximum value is %s"), comatose(hirange)); ^ confscroll.c:2280:39: warning: 'lowrange' may be used uninitialized in this function [-Wmaybe-uninitialized] _("Minimum value is %s"), comatose(lowrange)); ^ confscroll.c:2391:7: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] (*alval)[previndex] = swap_val; ^ confscroll.c:2230:37: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] if(((*cl)->varmem > 0 || lval[1]) ^ confscroll.c:1881:16: warning: 'apval' may be used uninitialized in this function [-Wmaybe-uninitialized] if(apval && *apval) ^ confscroll.c:2045:9: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] ? (!*pval) ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c init.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 $"; ^ folder.c: In function 'use_color_for_folder': folder.c:2181:4: warning: 'test2' may be used uninitialized in this function [-Wmaybe-uninitialized] : (fp->isdir ? test1 : (fp->isfolder? test2 : 0)); ^ folder.c:2181:4: warning: 'test1' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c kblock.c confscroll.c: In function 'radiobutton_tool': confscroll.c:2837:5: warning: 'old_cs' may be used uninitialized in this function [-Wmaybe-uninitialized] if(old_cs != ps->color_style){ ^ confscroll.c:2862:5: warning: 'old_uc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!old_uc && pico_usingcolor()){ ^ kblock.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: kblock.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c keymenu.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c ldapconf.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c listsel.c keymenu.c: In function 'output_keymenu': keymenu.c:2876:6: warning: variable 'e' set but not used [-Wunused-but-set-variable] int e; ^ keymenu.c:3000:5: warning: the address of 'this_label' will always evaluate as 'true' [-Waddress] && this_label && !strcmp(this_label,last_time->label) ^ keymenu.c: In function 'print_inverted_label': keymenu.c:3991:8: warning: the address of 'prename' will always evaluate as 'true' [-Waddress] if(prename) ^ keymenu.c:3994:8: warning: the address of 'namepart' will always evaluate as 'true' [-Waddress] if(namepart){ ^ keymenu.c:4001:8: warning: the address of 'labelpart' will always evaluate as 'true' [-Waddress] if(labelpart){ ^ keymenu.c: At top level: 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 keymenu.c:21: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ ldapconf.c: In function 'dir_init_display': ldapconf.c:642:33: 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(subtitle, sizeof(subtitle), "%s%s:%d", ^ ldapconf.c:647:33: 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(subtitle, sizeof(subtitle), "%s%s", ^ ldapconf.c: In function 'dir_config_add': ldapconf.c:846:33: 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(subtitle, sizeof(subtitle), "%s%s:%d", ^ ldapconf.c:851:33: 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(subtitle, sizeof(subtitle), "%s%s", ^ ldapconf.c: In function 'dir_config_edit': ldapconf.c:1118:33: 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(subtitle, sizeof(subtitle), "%s%s:%d", ^ ldapconf.c:1123:33: 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(subtitle, sizeof(subtitle), "%s%s", ^ In file included from context.h:22:0, from conftype.h:24, from ldapconf.h:21, from ldapconf.c:20: ldapconf.c: In function 'dir_edit_screen': ../pith/conf.h:847: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:1213:13: note: in expansion of macro 'APVAL' apval = APVAL(&server_var, ew); ^ ../pith/conf.h:847: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:1220:13: note: in expansion of macro 'APVAL' apval = APVAL(&base_var, ew); ^ ../pith/conf.h:847: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:1228:10: note: in expansion of macro 'APVAL' apval = APVAL(&port_var, ew); ^ ../pith/conf.h:847: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:1238:13: note: in expansion of macro 'APVAL' apval = APVAL(&binddn_var, ew); ^ ../pith/conf.h:847: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:1245:13: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^ ../pith/conf.h:847: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:1252:13: note: in expansion of macro 'APVAL' apval = APVAL(&srch_type_var, ew); ^ ../pith/conf.h:847: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:1263:13: note: in expansion of macro 'APVAL' apval = APVAL(&srch_rule_var, ew); ^ ../pith/conf.h:847: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:1274:10: note: in expansion of macro 'APVAL' apval = APVAL(&time_var, ew); ^ ../pith/conf.h:847: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:1285:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_var, ew); ^ ../pith/conf.h:847: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:1295:13: note: in expansion of macro 'APVAL' apval = APVAL(&mailattr_var, ew); ^ ../pith/conf.h:847: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:1304:13: note: in expansion of macro 'APVAL' apval = APVAL(&cnattr_var, ew); ^ ../pith/conf.h:847: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:1313:13: note: in expansion of macro 'APVAL' apval = APVAL(&snattr_var, ew); ^ ../pith/conf.h:847: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:1322:13: note: in expansion of macro 'APVAL' apval = APVAL(&gnattr_var, ew); ^ ../pith/conf.h:847: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:1331:13: note: in expansion of macro 'APVAL' apval = APVAL(&cust_var, ew); ^ ../pith/conf.h:847: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:1772:10: note: in expansion of macro 'APVAL' apval = APVAL(&server_var, ew); ^ ../pith/conf.h:847: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:1776:10: note: in expansion of macro 'APVAL' apval = APVAL(&base_var, ew); ^ ../pith/conf.h:847: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:1780:10: note: in expansion of macro 'APVAL' apval = APVAL(&port_var, ew); ^ ../pith/conf.h:847: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:1784:10: note: in expansion of macro 'APVAL' apval = APVAL(&binddn_var, ew); ^ ../pith/conf.h:847: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:1788:10: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^ ../pith/conf.h:847: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:1792:10: note: in expansion of macro 'APVAL' apval = APVAL(&srch_type_var, ew); ^ ../pith/conf.h:847: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:1796:10: note: in expansion of macro 'APVAL' apval = APVAL(&srch_rule_var, ew); ^ ../pith/conf.h:847: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:1800:10: note: in expansion of macro 'APVAL' apval = APVAL(&time_var, ew); ^ ../pith/conf.h:847: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:1804:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_var, ew); ^ ../pith/conf.h:847: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:1808:10: note: in expansion of macro 'APVAL' apval = APVAL(&cust_var, ew); ^ ../pith/conf.h:847: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:1812:10: note: in expansion of macro 'APVAL' apval = APVAL(&mailattr_var, ew); ^ ../pith/conf.h:847: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:1816:10: note: in expansion of macro 'APVAL' apval = APVAL(&snattr_var, ew); ^ ../pith/conf.h:847: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:1820:10: note: in expansion of macro 'APVAL' apval = APVAL(&gnattr_var, ew); ^ ../pith/conf.h:847: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:1824:10: note: in expansion of macro 'APVAL' apval = APVAL(&cnattr_var, ew); ^ ldapconf.c: At top level: 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 $"; ^ In file included from ldapconf.c:31:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailcmd.c folder.c: In function 'add_new_folder': folder.c:4893:7: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] (*alval)[offset+1] = NULL; ^ folder.c:4890:11: warning: 'apval' may be used uninitialized in this function [-Wmaybe-uninitialized] *apval = cpystr(add_folder); ^ mailcmd.c: In function 'save_prompt': mailcmd.c:2773:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule = get_result_rule(V_SAVE_RULES, FOR_SAVE, env)){ ^ ldapconf.c: In function 'dir_config_shuffle': ldapconf.c:1039:9: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] if(b->next->next->next) ^ ldapconf.c:1038:6: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] a->next->next->next = b->next->next->next; ^ ldapconf.c:1004:10: warning: 'new_num' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (i == new_num) ^ mailcmd.c: In function 'broach_folder': mailcmd.c:5636:10: warning: pointer targets in passing argument 1 of 'optionally_enter' differ in signedness [-Wpointer-sign] (char *) prompt, ekey, help, &flags); ^ In file included from headers.h:57:0, from mailcmd.c:31: osdep/termin.gen.h:30:5: note: expected 'char *' but argument is of type 'unsigned char *' int optionally_enter(char *, int, int, int, char *, ESCKEY_S *, HelpType, int *); ^ mailcmd.c: In function 'cmd_delete_this_thread': mailcmd.c:9722:33: warning: unused variable 'nxthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nxthrd; ^ mailcmd.c: In function 'cmd_delete_thread': mailcmd.c:9750:33: warning: unused variable 'nxthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nxthrd; ^ mailcmd.c:9749:49: warning: unused variable 'save_kolapsed' [-Wunused-variable] unsigned long rawno, top, orig_top, topnxt, save_kolapsed; ^ mailcmd.c:9749: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:9790:32: warning: unused variable 'msgno' [-Wunused-variable] unsigned long rawno, orig, msgno; ^ mailcmd.c:9790:26: warning: unused variable 'orig' [-Wunused-variable] unsigned long rawno, orig, msgno; ^ mailcmd.c:9789:33: warning: unused variable 'nthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nthrd; ^ mailcmd.c:9788:28: warning: unused variable 'done' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^ mailcmd.c: In function 'collapse_thread': mailcmd.c:9849:20: warning: unused variable 'rv' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^ mailcmd.c:9849:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^ mailcmd.c: In function 'expand_this_thread': mailcmd.c:9924:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (thrd->toploose) ^ mailcmd.c:9888:32: warning: unused variable 'msgno' [-Wunused-variable] unsigned long rawno, orig, msgno; ^ mailcmd.c:9887:33: warning: unused variable 'nthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nthrd; ^ mailcmd.c:9886:28: warning: unused variable 'done' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^ mailcmd.c: In function 'expand_thread': mailcmd.c:9948:19: warning: variable 'orig' set but not used [-Wunused-but-set-variable] unsigned long orig, orig_top, top; ^ mailcmd.c:9946:20: warning: unused variable 'rv' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^ mailcmd.c:9946:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^ mailcmd.c: At top level: 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 mailcmd.c:32: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ In file included from mailcmd.c:76:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ mailcmd.c: In function 'get_export_filename': mailcmd.c:4537:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] (void)getcwd(dir2, sizeof(dir2)); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailindx.c mailindx.c: In function 'index_lister': mailindx.c:1078:20: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] PINETHRD_S *thrd = NULL; ^ mailindx.c: In function 'top_ent_calc': mailindx.c:2780:18: warning: unused variable 'branch' [-Wunused-variable] unsigned long branch; ^ mailindx.c:2851:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream,thrd)) ^ mailindx.c:2853:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(next = get_next(stream,thrd)) ^ mailindx.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from mailindx.c:21: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ mailcmd.c: In function 'cmd_flag': mailcmd.c:1939:4: warning: 'use_maint_screen' may be used uninitialized in this function [-Wmaybe-uninitialized] if(use_maint_screen){ ^ 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:57, from mailindx.c:19: mailindx.c: In function 'index_scroll_to_pos': osdep/../../pith/../pith/../pith/../pith/msgno.h:35:35: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] (p)->select[(p)->sel_cur] = (m); \ ^ mailindx.c:2515:16: note: 'k' was declared here long i, j, k; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailpart.c folder.c: In function 'group_subscription': folder.c:5112:9: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] if(f){ ^ mailpart.c: In function 'write_attachment': mailpart.c:1295:39: warning: variable 'we_cancel' set but not used [-Wunused-but-set-variable] int r, rflags = GER_NONE, we_cancel = 0; ^ mailpart.c: In function 'display_attachment': mailpart.c:2116:8: warning: the address of 'sender_filename' will always evaluate as 'true' [-Waddress] if(sender_filename){ ^ mailpart.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from mailpart.c:36: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ mailpart.c: In function 'write_attached_msg': mailpart.c:1540:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno((FILE *)store->txt), (off_t) start_of_append); ^ mailpart.c: In function 'write_attachment_to_file': mailpart.c:1483:16: warning: 'orig_size' may be used uninitialized in this function [-Wmaybe-uninitialized] our_truncate(file, (flags & GER_APPEND) ? (off_t) orig_size : (off_t) 0); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c mailview.c 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:57, from mailindx.c:19: mailindx.c: In function 'index_lister': osdep/../../pith/../pith/../pith/../pith/msgno.h:35:35: warning: 'new_cur' may be used uninitialized in this function [-Wmaybe-uninitialized] (p)->select[(p)->sel_cur] = (m); \ ^ mailindx.c:827:13: note: 'new_cur' was declared here int new_cur; ^ mailindx.c:469:4: warning: 'paint_status' may be used uninitialized in this function [-Wmaybe-uninitialized] if(paint_status) ^ mailindx.c:511:12: warning: 'cur_col' may be used uninitialized in this function [-Wmaybe-uninitialized] MoveCursor(cur_row, cur_col); ^ 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 mailcmd.h:26:0, from mailview.c:29: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ mailpart.c: In function 'display_vcard_att': mailpart.c:2837:47: warning: 'cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] while(!errstr && (cmd == MC_RESIZE || cmd == MC_FULLHDR)); ^ mailcmd.c: In function 'save_prompt': mailcmd.c:2918:25: warning: 'preindex' may be used uninitialized in this function [-Wmaybe-uninitialized] ekey[preindex].label = (pre == NoPreserve) ? "Preserve Order" : "Any Order"; ^ mailcmd.c:2915:25: warning: 'delindex' may be used uninitialized in this function [-Wmaybe-uninitialized] ekey[delindex].label = (del == NoDel) ? "Delete" : "No Delete"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c newuser.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pattern.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c pipe.c 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c print.c 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 $"; ^ In file included from print.c:26:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c radio.c 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 $"; ^ In file included from mailcmd.h:26:0, from radio.c:24: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ radio.c: In function 'pre_screen_config_want_to': radio.c:77:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(rep, WANT_TO_BUF, stdin); ^ mailcmd.c: In function 'cmd_export': mailcmd.c:3829:14: warning: 'start_of_append' may be used uninitialized in this function [-Wmaybe-uninitialized] our_truncate(full_filename, (off_t)start_of_append); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c remote.c mailcmd.c:3842:37: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] filename, error_description(orig_errno)); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c 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, ^ remote.c: 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 $"; ^ 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); ^ 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:1147:16: warning: unused variable 'which_help' [-Wunused-variable] unsigned which_help; ^ reply.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from reply.c:46: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ In file included from reply.c:66:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c roleconf.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c send.c In file included from context.h:22:0, from conftype.h:24, from roleconf.h:20, from roleconf.c:20: roleconf.c: In function 'role_config_edit_screen': ../pith/conf.h:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:851: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:847: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:851: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:851: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:851: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:851: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:847: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:847: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:847: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:847: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:847: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:845: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:845: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:845: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:845: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:845: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:845: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:849: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:849: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:849: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:849: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:847: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); ^ ../pith/conf.h:845: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); ^ ../pith/conf.h:847: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:847: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:851: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:851: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); ^ ../pith/conf.h:851: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:851: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:851: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:851: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:851: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:851: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:851: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:851: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:851: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:851: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:851: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:847: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); ^ mailcmd.c: In function 'cmd_expunge': mailcmd.c:3432:9: warning: 'prefilter_del_count' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(!prefilter_del_count) ^ ../pith/conf.h:851: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:847: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:851: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:851: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:851: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:847: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:847: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:847: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:847: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:851: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:851: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); ^ ../pith/conf.h:851: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); ^ send.c: In function 'pine_send': ../pith/conf.h:851: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:2118: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++) ^ send.c:3698:17: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] if(fcc_result && folder) ^ send.c: In function 'choose_a_priority': send.c:5137:16: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, cnt; ^ roleconf.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from roleconf.c:30: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ send.c: At top level: 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 send.c:38: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ In file included from send.c:67:0: ../pith/rules.h:95:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^ reply.c: In function 'reply': reply.c:369:15: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] reply_seed(pine_state, outgoing, env, saved_from, ^ mailcmd.c: In function 'process_cmd': mailcmd.c:605:31: warning: 'topthrd' may be used uninitialized in this function [-Wmaybe-uninitialized] j = count_lflags_in_thread(stream, topthrd, msgmap, MN_NONE); ^ send.c: In function 'build_address': send.c:6585:33: warning: 'csum' may be used uninitialized in this function [-Wmaybe-uninitialized] (pt->affector->who == BP_To && csum != pt->affector->cksumval)){ ^ send.c: In function 'build_addr_lcc': send.c:6928:34: warning: 'csum' may be used uninitialized in this function [-Wmaybe-uninitialized] (pt->affector->who == BP_Lcc && csum != pt->affector->cksumval)){ ^ send.c:6836:34: warning: 'csum' may be used uninitialized in this function [-Wmaybe-uninitialized] (pt->affector->who == BP_Lcc && csum != pt->affector->cksumval)){ ^ reply.c: In function 'forward': reply.c:1905:34: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] outgoing->sparep = env && env->from ? copyaddr(env->from) : NULL; ^ reply.c:1842:31: warning: 'msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] && (body = forward_body(ps->mail_stream, env, orig_body, msgno, ^ send.c: In function 'filter_message_text': send.c:5472:12: warning: 'readthis_so' may be used uninitialized in this function [-Wmaybe-uninitialized] errstr = gf_filter(cmd, key ? filter_session_key() : NULL, ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c setup.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c signal.c setup.c: In function 'inbox_path_text_tool': setup.c:671:22: warning: variable 'apval' set but not used [-Wunused-but-set-variable] char **apval; ^ setup.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from setup.c:29: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ signal.c: In function 'do_suspend': signal.c:767:12: warning: variable 'now' set but not used [-Wunused-but-set-variable] time_t now; ^ signal.c: At top level: 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 $"; ^ In file included from mailcmd.h:26:0, from signal.c:37: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ send.c: In function 'pine_simple_send': send.c:1663:40: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] char *part2 = fcc_result ? "" : "NOT "; ^ setup.c: In function 'option_screen': setup.c:466:25: warning: 'ctmpb' may be used uninitialized in this function [-Wmaybe-uninitialized] ctmpa->varnamep = ctmpb; ^ setup.c:364:18: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] for(i = 0; lval[i]; i++){ ^ setup.c:308:24: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] decode_sort(pval, &thread_def_sort, &thread_def_sort_rev, 1); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c status.c 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 $"; ^ In file included from mailcmd.h:26:0, from status.c:32: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c takeaddr.c send.c: In function 'pine_send': send.c:3683:45: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] else if((editor_result & COMP_SUSPEND) && fcc_result){ ^ send.c:3557:29: warning: 'pf_ourhdrs' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_ourhdrs->localcopy = 1; ^ send.c:3463:28: warning: 'pf_ourrep' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_ourrep->writehdr = 1; ^ send.c:3449:28: warning: 'pf_curpos' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_curpos->localcopy = 1; ^ send.c:3438:26: warning: 'pf_mbox' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_mbox->localcopy = 1; ^ send.c:3421:25: warning: 'pf_uid' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_uid->localcopy = 1; ^ send.c:3398:25: warning: 'pf_err' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_err->localcopy = 1; ^ send.c:3536:33: warning: 'pf_nntp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_nntp_server->writehdr = 1; ^ send.c:3498:33: warning: 'pf_smtp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_smtp_server->localcopy = 1; ^ send.c:2875:29: warning: 'he_fcc' may be used uninitialized in this function [-Wmaybe-uninitialized] he_to->next_affected = he_fcc; ^ send.c:2874:29: warning: 'he_to' may be used uninitialized in this function [-Wmaybe-uninitialized] he_lcc->affected_entry = he_to; ^ 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 $"; ^ In file included from mailcmd.h:26:0, from takeaddr.c:36: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c titlebar.c takeaddr.c: In function 'use_this_addrbook': takeaddr.c:949:25: warning: 'the_only_pab' may be used uninitialized in this function [-Wmaybe-uninitialized] PerAddrBook *pab, *the_only_pab; ^ titlebar.c: In function 'format_titlebar': titlebar.c:411:14: warning: variable 'thd_len' set but not used [-Wunused-but-set-variable] ss_len, thd_len, is_context, avail, extra; ^ titlebar.c: 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 $"; ^ titlebar.c: In function 'update_titlebar_message': titlebar.c:936:10: warning: 'curnum' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(buf, sizeof(buf), "%*.*s", num_len, num_len, comatose(curnum)); ^ 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); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c smime.c takeaddr.c: In function 'take_without_edit': takeaddr.c:2433:10: warning: 'total_to_copy' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(tmp, sizeof(tmp), "Saved %d %s to \"%.*s\"", ^ smime.c: In function 'smime_manage_certs_init': smime.c:1371:16: warning: unused variable 't' [-Wunused-variable] char *s, *t; ^ smime.c:1371:12: warning: unused variable 's' [-Wunused-variable] char *s, *t; ^ smime.c:1308:14: warning: variable 'ext' set but not used [-Wunused-but-set-variable] char *ext; ^ smime.c: At top level: 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 $"; ^ In file included from smime.c:37:0: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^ ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^ smime.c: In function 'output_cert_info': smime.c:500:27: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] X509_NAME_entry_count(x->cert_info->issuer)-1); ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c newmail.c newmail.c: In function 'new_mail_mess': newmail.c:156:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", ^ newmail.c:157:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? "rom " : "", ^ newmail.c:158:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? from : "", ^ newmail.c:196:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", ^ newmail.c:197:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? "rom " : "", ^ newmail.c:198:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? from : ""); ^ newmail.c: 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 $"; ^ gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c date.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c rpdump.c gcc -std=gnu99 -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -c rpload.c 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 $"; ^ rpdump.c: In function 'opt_enter': rpdump.c:759:11: 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:12: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(rep, sizeof(rep), stdin); ^ 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 $"; ^ rpload.c: In function 'opt_enter': rpload.c:998:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, field_len, stdin); ^ /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard `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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard `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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 libtool: link: gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 -pthread libtool: link: gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 -pthread roleconf.c: In function 'role_text_tool': roleconf.c:7219:24: 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:24: 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 -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard `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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 libtool: link: gcc -std=gnu99 -pthread -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -lcrypto -lssl -ldl -ltinfo -llber -lpam -lkrb5 -pthread make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine' make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20' make[1]: Leaving directory `/builddir/build/BUILD/alpine-2.20' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oKJwlF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm ++ dirname /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm + cd alpine-2.20 + rm -rf /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm + make install DESTDIR=/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lcrypto -lssl -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.20/imap' make build EXTRACFLAGS='-DTLSV1_2 -I/usr/include/openssl -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lpam -lldap -lcrypto -lssl -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.20/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.20/imap/c-client' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/c-client' sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/mtest' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/mtest' cd ipopd;make make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/ipopd' make[3]: Nothing to be done for `ipopd'. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/ipopd' cd imapd;make make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/imapd' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/imapd' cd mailutil;make make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/mailutil' make[3]: `mailutil' is up to date. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/mailutil' cd mlock;make || true make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/mlock' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/mlock' cd dmail;make || true make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/dmail' make[3]: `dmail' is up to date. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/dmail' cd tmail;make || true make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/imap/tmail' make[3]: `tmail' is up to date. make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap/tmail' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap' make[1]: Leaving directory `/builddir/build/BUILD/alpine-2.20/imap' /usr/bin/make install-recursive make[1]: Entering directory `/builddir/build/BUILD/alpine-2.20' Making install in m4 make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/m4' make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/m4' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/m4' Making install in po make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share if test "alpine" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/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.20-2.el7.arm/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/po' Making install in pith make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith' /usr/bin/make install-recursive make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith' Making install in osdep make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith/osdep' make[5]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/pith/osdep' make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pith/osdep' Making install in charconv make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith/charconv' make[5]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/pith/charconv' make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pith/charconv' make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/pith' make[5]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/pith' make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pith' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pith' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pith' Making install in pico make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/pico' Making install in osdep make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/pico/osdep' make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/pico/osdep' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pico/osdep' make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/pico' make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/pico' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c pico pilot '/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin' libtool: install: /usr/bin/install -c pico /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/pico libtool: install: /usr/bin/install -c pilot /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/pilot make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pico' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pico' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/pico' Making install in alpine make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20/alpine' /usr/bin/make install-recursive make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20/alpine' Making install in osdep make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/alpine/osdep' make[5]: Entering directory `/builddir/build/BUILD/alpine-2.20/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.20/alpine/osdep' make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine/osdep' make[4]: Entering directory `/builddir/build/BUILD/alpine-2.20/alpine' make[5]: Entering directory `/builddir/build/BUILD/alpine-2.20/alpine' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c alpine rpdump rpload '/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin' libtool: install: /usr/bin/install -c alpine /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/alpine libtool: install: /usr/bin/install -c rpdump /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/rpdump libtool: install: /usr/bin/install -c rpload /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/rpload make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine' make[4]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20/alpine' make[2]: Entering directory `/builddir/build/BUILD/alpine-2.20' make[3]: Entering directory `/builddir/build/BUILD/alpine-2.20' make[3]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/man/man1' /usr/bin/install -c -m 644 doc/alpine.1 doc/pico.1 doc/pilot.1 doc/rpdump.1 doc/rpload.1 '/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/man/man1' make[3]: Leaving directory `/builddir/build/BUILD/alpine-2.20' make[2]: Leaving directory `/builddir/build/BUILD/alpine-2.20' make[1]: Leaving directory `/builddir/build/BUILD/alpine-2.20' + mkdir -p /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/etc + touch /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/etc/pine.conf + touch /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/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 50000000 /builddir/build/BUILD/alpine-2.20 extracting debug info from /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/pico extracting debug info from /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/alpine extracting debug info from /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/rpdump extracting debug info from /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/pilot extracting debug info from /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/bin/rpload /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 25361 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: alpine-2.20-2.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JDtaIR + umask 022 + cd /builddir/build/BUILD + cd alpine-2.20 + DOCDIR=/builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/doc/alpine-2.20 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/doc/alpine-2.20 + cp -pr README /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/doc/alpine-2.20 + cp -pr LICENSE /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/doc/alpine-2.20 + cp -pr README.fedora /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm/usr/share/doc/alpine-2.20 + exit 0 Provides: alpine = 2.20-2.el7 alpine(armv7hl-32) = 2.20-2.el7 config(alpine) = 2.20-2.el7 re-alpine = 2.20-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libcom_err.so.2 libcrypto.so.10 libcrypto.so.10(libcrypto.so.10) libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libgcc_s.so.1(GCC_3.5) libgssapi_krb5.so.2 libgssapi_krb5.so.2(gssapi_krb5_2_MIT) libkrb5.so.3 libkrb5.so.3(krb5_3_MIT) liblber-2.4.so.2 libldap-2.4.so.2 libpam.so.0 libpam.so.0(LIBPAM_1.0) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libssl.so.10 libssl.so.10(libssl.so.10) libtinfo.so.5 rtld(GNU_HASH) Conflicts: pine Processing files: alpine-debuginfo-2.20-2.el7.armv7hl Provides: alpine-debuginfo = 2.20-2.el7 alpine-debuginfo(armv7hl-32) = 2.20-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm Wrote: /builddir/build/RPMS/alpine-2.20-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/alpine-debuginfo-2.20-2.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C6FebN + umask 022 + cd /builddir/build/BUILD + cd alpine-2.20 + rm -rf /builddir/build/BUILDROOT/alpine-2.20-2.el7.arm + exit 0 Child return code was: 0 LEAVE do -->