Mock Version: 2.6 Mock Version: 2.6 Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/epel8-build-23287298-2231444/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/alpine-2.24-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'], chrootPath='/var/lib/mock/epel8-build-23287298-2231444/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/alpine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.URVFxQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alpine-2.24 + /usr/bin/xz -dc /builddir/build/SOURCES/alpine-2.24.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd alpine-2.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (alpine-2.24-useragent.patch): + echo 'Patch #1 (alpine-2.24-useragent.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/tech-notes/config.html patching file doc/tech-notes/tech-notes.txt Hunk #1 succeeded at 6630 (offset 1 line). patching file pith/pine.hlp Hunk #1 succeeded at 37314 (offset 2491 lines). Patch #2 (alpine-2.23-gcc10.patch): + echo 'Patch #2 (alpine-2.23-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pith/smime.c Hunk #1 succeeded at 46 (offset 1 line). + install -m644 -p /builddir/build/SOURCES/README.fedora . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mqbXZc + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + touch imap/ip6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug=no --without-tcl --with-c-client-target=lfd --with-smtp-msa=/usr/sbin/sendmail --with-npa=/usr/bin/inews --with-passfile=.alpine.passfile --with-simple-spellcheck=hunspell --with-interactive-spellcheck=hunspell --with-system-pinerc=/etc/pine.conf --with-system-fixed-pinerc=/etc/pine.conf.fixed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu configure: Configuring for alpine 2.24 (powerpc64le-redhat-linux-gnu) checking for ppc64le-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none ./configure: line 4586: AX_PROG_CC_FOR_BUILD: command not found checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-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 ppc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ppc64le-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for ppc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for ppc64le-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) 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 ./configure: line 15004: hostname: command not found checking option: debugging is enabled... no checking option: optimization is enabled... yes checking option: mouse support enabled... yes checking option: quotas enabled... no checking option: From changing enabled... yes checking option: background post enabled... yes checking option: keyboard lock enabled... yes checking option: from encoding enabled... no checking for passwd... /usr/bin/passwd checking for hunspell... /usr/bin/hunspell checking for hunspell... /usr/bin/hunspell configure: --with-passfile definition overrides OS-Specific password caching configure: Excluding TCL Support, and thus Web Alpine Support checking for setupterm in -ltinfo... yes checking for library containing dlopen... -ldl checking if OpenSSL is LibreSSL... no checking Openssl library version >= 1.0.0c... yes checking Openssl library version >= 1.1.0... yes checking for library containing OpenSSL_version_num... -lcrypto checking for library containing OPENSSL_init_ssl... -lssl checking for ber_alloc in -llber... yes checking for library containing ldap_initialize... -lldap configure: * * * Including LDAP Support checking for library containing crypt... -lcrypt 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 buildSmbNtlmAuthRequest... no configure: NOT including NTLM Support: ntlm library not found checking for library containing regcomp... none required checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for pthread support... checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no yes checking for library containing nanosleep... none required checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for size_t... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for union wait... no checking for stdint.h... (cached) yes checking for stdint.h... (cached) yes checking argument pointer type of qsort compare function and base... void checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strcoll... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... yes checking for memcpy... yes checking for strtol... yes checking for strtoul... yes checking for select... yes checking for poll... yes checking for qsort... yes checking for getuid... yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... yes checking for tmpfile... yes checking for uname... yes checking for rename... yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... yes checking for wait4... yes checking for waitpid... yes checking for wait... yes checking for srandom... yes checking for popen... yes checking for pclose... yes checking for fsync... yes checking for truncate... yes checking for listen... yes checking for wcwidth... yes checking for mbstowcs... yes checking for wcrtomb... yes checking for putenv... yes checking for setenv... yes checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing bind... none required checking for sigaction... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... yes checking for library containing syslog... none required configure: * * * S/MIME support enabled configure: * * * 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 + /usr/bin/make -O -j8 'EXTRACFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection' touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5" EXTRAAUTHENTICATORS="gss " EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private " BUNDLED="no" if test ! -L c-client ; then ln -s imap/c-client c-client ; fi make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/imap' make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24/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[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' 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 ' BUNDLED='no' BUILDTYPE=lnpno IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make[3]: 'ip6' is up to date. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' Building c-client for lnpno... echo `cat SPECIALS` SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private > c-client/SPECIALS cd c-client;make lnpno EXTRACFLAGS='-I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L'\ EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss '\ 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 BUNDLED='no' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lcrypt" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/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 '-I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' -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 -lcrypt -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -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 http.o json.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 bea oa2 make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/imap/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c sh -c '(test nopwd != none) && echo "int pith_ssl_encryption_version(char *);" >> linkage.h || true' 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_std.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 `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` utf8aux.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` http.c `cat CCTYPE` -c `cat CFLAGS` json.c `cat CCTYPE` -c `cat CFLAGS` pop3.c `cat CCTYPE` -c `cat CFLAGS` unix.c `cat CCTYPE` -c `cat CFLAGS` mbx.c `cat CCTYPE` -c `cat CFLAGS` mmdf.c `cat CCTYPE` -c `cat CFLAGS` tenex.c `cat CCTYPE` -c `cat CFLAGS` mtx.c `cat CCTYPE` -c `cat CFLAGS` news.c `cat CCTYPE` -c `cat CFLAGS` phile.c `cat CCTYPE` -c `cat CFLAGS` mh.c `cat CCTYPE` -c `cat CFLAGS` mx.c `cat CCTYPE` -c `cat CFLAGS` mix.c `cat CCTYPE` -c `cat CFLAGS` maildir.c 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 http.o json.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.24/imap/c-client' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' echo lnpno > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. In file included from env_unix.c:258, from osdep.c:47: pmatch.c: In function 'pmatch_full': pmatch.c:41:43: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; ^ In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ In file included from auths.c:1, from env_unix.c:262, from osdep.c:47: kerb_mit.c: In function 'kerberos_login': kerb_mit.c:103:31: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^~~~ In file included from osdep.c:41: 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, from env_unix.c:262, from osdep.c:47: kerb_mit.c:103:24: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^~~~~~~~~~~~ In file included from env_unix.h:58, from osdep.h:68, 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, from env_unix.c:262, from osdep.c:47: auth_gss.c: In function 'auth_gssapi_server': auth_gss.c:404:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Failed to acquire credentials for %s",buf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ auth_gss.c:56:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ auth_gss.c:411:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ auth_gss.c:56:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ auth_gss.c:419:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ auth_gss.c:56:43: note: in definition of macro 'SERVER_LOG' #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) ^ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:202:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0) ^ auth_md5.c:205:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); ^ auth_md5.c:207:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lusr = *s ? lcase (cpystr (user)) : NIL; ^~~~~~~~~~~~~ In file included from osdep.c:41: 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, from env_unix.c:262, from osdep.c:47: auth_md5.c:208:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; ^ auth_md5.c:209:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) ^ auth_md5.c:211:45: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:211:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:213:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:213:38: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.c:41: 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, from env_unix.c:262, from osdep.c:47: auth_md5.c:214:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:214:41: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^~~~ In file included from osdep.h:44, from osdep.c:28: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ In file included from auths.c:4, from env_unix.c:262, from osdep.c:47: auth_md5.c:217:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!ret && lret) ret = cpystr (lret); ^~~~ In file included from osdep.c:41: 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:7, from env_unix.c:262, from osdep.c:47: auth_bea.c: In function 'auth_oauthbearer_client': auth_bea.c:102:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (RefreshToken && oauth2.param[OA2_RefreshToken].value ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && strcmp(RefreshToken, oauth2.param[OA2_RefreshToken].value) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from auths.c:8, from env_unix.c:262, from osdep.c:47: auth_oa2.c: In function 'auth_oauth2_client': auth_oa2.c:130:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (RefreshToken && oauth2.param[OA2_RefreshToken].value ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && strcmp(RefreshToken, oauth2.param[OA2_RefreshToken].value) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auth_oa2.c:45:9: warning: unused variable 'u' [-Wunused-variable] char *u; ^ In file included from osdep.c:47: env_unix.c: In function 'pwuser': env_unix.c:671:33: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] struct passwd *pw = getpwnam (user); ^~~~ In file included from osdep.c:39: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ In file included from osdep.c:47: env_unix.c:675:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^~~~ In file included from osdep.c:41: 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: env_unix.c:675:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^~~~~~~~~~~~~ In file included from osdep.c:41: 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: env_unix.c:675:24: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:39: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ In file included from osdep.c:47: env_unix.c: In function 'valpwd': env_unix.c:701:16: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] ret = pwuser (user); /* validated, get passwd entry for user */ ^~~~ env_unix.c:668:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c:706:26: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if ((pw = pwuser (user)) != NULL) {/* can get user? */ ^~~~ env_unix.c:668:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^~~~~~ env_unix.c:709:44: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) ^ env_unix.c:668: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:740:58: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); ^~~~ env_unix.c:668: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:758:28: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] return pw_login (pwuser (user),authuser,user,NIL,argc,argv); ^~~~ env_unix.c:668: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:797:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:797:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:800:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:800:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c: In function 'mailboxfile': env_unix.c:1085:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ~~~~^~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1085:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1095:64: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ~^~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1095:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1119:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ~^~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1119:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1133:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1133:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1147:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ~~~~^~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1147:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c: In function 'dorc': env_unix.c:1598:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1598:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1612:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1612:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1613:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1613:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1614:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1614:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1616:26: 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: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1616:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1619:31: 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: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1619:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1623:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1623:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1626:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1626:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1637:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1637:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1638:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1638:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1639:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1639:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1640:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1640:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1642:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ~^~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1642:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1644:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1644:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1648:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ~^~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1648:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1659:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1659:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1663:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1663:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1667:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1667:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1671:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1671:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1673:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1673:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1675:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1675:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1679:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1679:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1683:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1683:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1687:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1687:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1691:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1691:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1695:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1695:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1699:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1699:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1701:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1701:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1704:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1704:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1706:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1706:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1708:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1708:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1710:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1710:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1712:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1712:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1714:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1714:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1716:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1716:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1718:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1718:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1720:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1720:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1722:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1722:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1724:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1724:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1726:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1726:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1728:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1728:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1730:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1730:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1732:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1732:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1734:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1734:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1736:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1736:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1739:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1739:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1741:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1741:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1743:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1743:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1745:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1745:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1747:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1747:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1749:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1749:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1751:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1751:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1753:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1753:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1755:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1755:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1757:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1757:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1759:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1759:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1761:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1761:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1763:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1763:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1765:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1765:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1767:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1767:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1769:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1769:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1771:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1771:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1773:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1773:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1775:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1775:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1779:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1779:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1781:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1781:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1784:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1784:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1791:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1791:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1793:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-container")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1793:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-container")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1795:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1795:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1797:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1797:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1799:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1799:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1801:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1801:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1803:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1803:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1804:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1804:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1806:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1806:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1808:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1808:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1810:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1810:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1813:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1813:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1815:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1815:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1817:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1817:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1819:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1819:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1823:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c:1823:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c: In function 'env_end': env_unix.c:1902:6: warning: the address of 'userFlags' will always evaluate as 'true' [-Waddress] if(userFlags){ ^~~~~~~~~ In file included from tcp_unix.c:26, from osdep.c:50: ip_unix.c: In function 'ip_stringtoaddr': ip_unix.c:130:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: 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, from osdep.c:50: ip_unix.c:130:22: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:35: /usr/include/netdb.h:660: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, from osdep.c:50: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:248:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, ^~~~~~~~~~~~~~~~~ In file included from osdep.c:41: 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, from osdep.c:50: ip_unix.c:248:17: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:35: /usr/include/netdb.h:660: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: tcp_unix.c: In function 'tcp_getline': tcp_unix.c:477:43: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] char *ret = tcp_getline_work (stream,&n,&contd); ^~~~~~ tcp_unix.c:60:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^~~~~~~~~~~~~~~~ tcp_unix.c:485:41: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] ret = tcp_getline_work (stream,&n,&contd); ^~~~~~ tcp_unix.c:60:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^~~~~~~~~~~~~~~~ tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1044:17: warning: unused variable 'sadrlen' [-Wunused-variable] size_t adrlen,sadrlen,len; ^~~~~~~ osdep.c: In function 'ssl_validate_cert': osdep.c:696:34: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^~~~ osdep.c:223:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:696:39: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:223:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:704:37: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (name->type = GEN_DNS) && (s = name->d.ia5->data) && ^ osdep.c:705:31: 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:223:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:705:36: 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:223:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^~~~~~~~~~~~~~~~~~~~~ osdep.c:656:17: warning: unused variable 't' [-Wunused-variable] char *s=NULL,*t,*ret = NIL; ^ osdep.c: In function 'ssl_getline': osdep.c:758:43: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] char *ret = ssl_getline_work (stream,&n,&contd); ^~~~~~ osdep.c:224: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:766:41: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] ret = ssl_getline_work (stream,&n,&contd); ^~~~~~ osdep.c:224:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size, ^~~~~~~~~~~~~~~~ In file included from osdep.c:47: env_unix.c: In function 'pw_login': env_unix.c:815:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:50: tcp_unix.c: In function 'tcp_name': tcp_unix.c:997:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] sprintf (tmp,"Reverse DNS resolution %s",adr); ^~ ~~~ In file included from /usr/include/stdio.h:873, from osdep.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:50: tcp_unix.c:1005:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] if (flag) sprintf (ret = tmp,"%s %s",t,adr); ^ In file included from /usr/include/stdio.h:873, from osdep.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mail.c: In function 'mail_parameters': mail.c:405:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ~^~~~~~ In file included from c-client.h:48, 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:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ~^~~~~~ In file included from c-client.h:48, 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:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ~^~~~~~ In file included from c-client.h:48, 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:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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:421:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ~^~~~~~ In file included from c-client.h:48, 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:421:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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:426:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ~^~~~~~ In file included from c-client.h:48, 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:426:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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:431:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ~^~~~~~ In file included from c-client.h:48, 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:431:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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:436:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ~^~~~~~ In file included from c-client.h:48, 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:436:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_valid_net_parse_work': mail.c:849:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from c-client.h:48, 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:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^~~~~~~~~ In file included from c-client.h:48, 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:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,v)); ^~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, 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:851:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from c-client.h:48, 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:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^~~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:853:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:853:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^~~~~~~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:855:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && ^ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c:855:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && ^~~~~~ In file included from c-client.h:48, 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:861:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from c-client.h:48, 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:861:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^~~~~~~~~~~ In file included from c-client.h:48, 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:862:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from c-client.h:48, 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:862:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^~~~~~~ In file included from c-client.h:48, 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:863:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from c-client.h:48, 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:863:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^~~~~~~~~~ In file included from c-client.h:48, 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:864:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from c-client.h:48, 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:864:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^~~~~~~~ In file included from c-client.h:48, 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:865:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from c-client.h:48, 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:865:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^~~~~~~ In file included from c-client.h:48, 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:866:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from c-client.h:48, 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:866:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^~~~~~~ In file included from c-client.h:48, 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:867:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^ In file included from c-client.h:48, 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:867:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^~~~~~~~~~ In file included from c-client.h:48, 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:867:65: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^ In file included from c-client.h:48, 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:867:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^~~~~ In file included from c-client.h:48, 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:869:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^ In file included from c-client.h:48, 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:869:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^~~~~~~~~~~~ In file included from c-client.h:48, 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:871:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^ In file included from c-client.h:48, 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:871:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^~~~~~~ In file included from c-client.h:48, 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:871:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^ In file included from c-client.h:48, 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:871:63: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^~~~~~~~~~~~ In file included from c-client.h:48, 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:873:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from c-client.h:48, 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:873:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^~~~~~~~ In file included from c-client.h:48, 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:875:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^ In file included from c-client.h:48, 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:875:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^~~~~ In file included from c-client.h:48, 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:877:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1") ^ In file included from c-client.h:48, 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:877:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1") ^~~~~~ In file included from c-client.h:48, 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:880:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_1") ^ In file included from c-client.h:48, 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:880:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_1") ^~~~~~~~ In file included from c-client.h:48, 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:883:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_2") ^ In file included from c-client.h:48, 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:883:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_2") ^~~~~~~~ In file included from c-client.h:48, 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:886:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_3") ^ In file included from c-client.h:48, 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:886:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s, "tls1_3") ^~~~~~~~ In file included from c-client.h:48, 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:889:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from c-client.h:48, 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:889:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^~~~~~~~~~~~~~~~~ In file included from c-client.h:48, 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:892:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from c-client.h:48, 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:892:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^~~~~~~~~~~~~~~ In file included from c-client.h:48, 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:895:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from c-client.h:48, 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:895:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^~~~~~ In file included from c-client.h:48, 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:896:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from c-client.h:48, 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:896:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^~~~~~ In file included from c-client.h:48, 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:897:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from c-client.h:48, 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:897:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^~~~~~ In file included from c-client.h:48, 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:898:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from c-client.h:48, 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:898:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^~~~~~ In file included from c-client.h:48, 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:899:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from c-client.h:48, 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:899:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^~~~~~~~ In file included from c-client.h:48, 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:900:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,s)); ^~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, 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:901:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from c-client.h:48, 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:901:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^~~~~~~ In file included from c-client.h:48, 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:902:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from c-client.h:48, 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:902:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^~~~~~~~~~ In file included from c-client.h:48, 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:903:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from c-client.h:48, 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:903:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^~~~~~~ In file included from c-client.h:48, 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:904:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from c-client.h:48, 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:904:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^~~~~~~~~~~ In file included from c-client.h:48, 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:906:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from c-client.h:48, 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:906:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_create': mail.c:1079:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from c-client.h:48, 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:1079:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_open': mail.c:1345:52: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ~^~~~~~ In file included from c-client.h:48, 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:1345:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^~~ In file included from c-client.h:48, 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:1577:48: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_uid_sequence (stream,sequence) && ^~~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1851: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:1593:44: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_sequence (stream,sequence) && ^~~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1850: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:1618:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ov.date = env->date; ^ mail.c: In function 'mail_fetch_header': mail.c:1836:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1780:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_fetch_text': mail.c:1927:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1780: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:1981:61: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(section && *section && (b = mail_body (stream,msgno,section)))) ^~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1780: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:2064:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return ""; ^~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1780: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:2124:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1780: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:2192:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return NIL; ^~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1780:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mail.c: In function 'mail_flag': mail.c:2414:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mail.c:2415:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^~~~~~~~ In file included from c-client.h:41, from mail.c:30: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mail.c: In function 'mail_append_multiple': mail.c:2704:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, 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:2704:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ mail.c: In function 'mail_body_section': mail.c:2823:21: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(i = strtoul (section,(char **) §ion,10)) || ^~~~~~~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_parse_date': mail.c:2971:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mail.c:2971:76: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from mail.c:27: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ mail.c:2971:64: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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:2977:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(m = strtoul (s,(char **) &s,10))) return NIL; ^ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2981:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2983:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2993:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && ~^~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2994:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (d = strtoul (s,(char **) &s,10)) && !*s) break; ^ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:2999:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (s) < (size_t) 5) return NIL; ^ In file included from osdep.h:44, from c-client.h:42, from mail.c:30: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mail.c:3027:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:3051:19: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] d = strtoul (s+1,(char **) &s,10); ~^~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:3053:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] m = strtoul (++s,(char **) &s,10); ^~~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:3054:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; ^~~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_uid_sequence': mail.c:3384:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10))) { ^~~~~~~~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:3395:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10))) { ^~~~~~~~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_filter': mail.c:3492:53: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) ^~~ In file included from c-client.h:48, from mail.c:30: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ mail.c: In function 'mail_search_msg': mail.c:3636:44: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] BODY *body = mail_body (stream,msgno,section); ^~~~~~~ mail.c:2859:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^~~~~~~~~ mail.c: In function 'mail_search_text': mail.c:3808:46: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] else if ((body = mail_body (stream,msgno,section)) && ^~~~~~~ mail.c:2859:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^~~~~~~~~ mail.c: In function 'mail_search_string': mail.c:3927:16: warning: unused variable 'sc' [-Wunused-variable] STRINGLIST **sc = st; ^~ mail.c: In function 'mail_search_keyword': mail.c:3975:50: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[i],&st->text)) { ~~~~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from mail.c:30: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ mail.c: In function 'mail_criteria': mail.c:4106:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^~~~~~~~~ In file included from c-client.h:48, 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:4197:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,(char *) s->text.data) && ^~~~~~~~~~~~~~~~~~~~~ mail.c:2953:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^~~~~~~~~~~~~~~ mail.c: In function 'mail_sort_loadcache': mail.c:4453:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (env) t = env->date; ^ mail.c:4469:38: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!(t && mail_parse_date (&telt,t) && ^ mail.c:2953:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^~~~~~~~~~~~~~~ mail.c: In function 'mail_sort_compare': mail.c:4772:29: 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, 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:4772:38: 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, 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:4775:29: 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, 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:4775:36: 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, 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:4778:29: 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, 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:4778:36: 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, 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:4781:29: 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, 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:4781:41: 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, from mail.c:30: misc.h:105:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_string (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~ mail.c: In function 'mail_thread_msgs': mail.c:4880:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^~~~ In file included from c-client.h:48, 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:4880:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ~^~~~~~ In file included from c-client.h:48, 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:4924:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ~~~~~~~^~~~~~~~~ In file included from c-client.h:48, 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:4924:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ~^~~~~~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mail.c: In function 'mail_thread_loadcache': mail.c:5246:58: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { ~~^~~~~~ mail.c:2953:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^~~~~~~~~~~~~~~ mail.c: In function 'mail_sequence': mail.c:5501:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10)) || ^~~~~~~~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c:5517:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10)) || ^~~~~~~~ In file included from osdep.h:43, from c-client.h:42, from mail.c:30: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mail.c: In function 'mail_parse_flags': mail.c:5572:25: 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, 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:5572:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^~~~~~ In file included from c-client.h:48, 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:5573:30: 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, 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:5573:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^~~~~~~~~ In file included from c-client.h:48, 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:5574:30: 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, 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:5574:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^~~~~~~~~ In file included from c-client.h:48, 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:5575:30: 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, 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:5575:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^~~~~~~~~~ In file included from c-client.h:48, 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:5576:30: 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, 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:5576:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^~~~~~~ In file included from c-client.h:48, 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:5586:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48, 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:5586:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48, 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:5636:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((!compare_cstring (smb.host,trustdns ? ~~~^~~~~ In file included from c-client.h:48, 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:5637:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((!compare_cstring (smb.host,trustdns ? ~~~~~~~~~~ (s = tcp_canonical (nmb.host)) : nmb.host) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from c-client.h:48, 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:5642:30: 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, 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:5642:39: 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, 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:6215:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ~~~~^~~~~~ In file included from c-client.h:48, 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:6215:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~ In file included from c-client.h:48, 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:6248:55: 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, 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:6248:62: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c: In function 'oauth2_json_reply': oauth2_aux.c:112:42: warning: pointer targets in passing argument 1 of 'xoauth2_server' differ in signedness [-Wpointer-sign] server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); ~~~~~~~~~~~~~^~~~~~~~~~ oauth2_aux.c:68:7: note: expected 'char *' but argument is of type 'unsigned char *' char *xoauth2_server(char *server, char *tenant) ^~~~~~~~~~~~~~ oauth2_aux.c:114:27: warning: pointer targets in passing argument 1 of 'http_post_param' differ in signedness [-Wpointer-sign] && ((s = http_post_param(server, params, status)) != NULL)){ ^~~~~~ In file included from oauth2_aux.c:23, from mail.c:6493: http.h:109:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *http_post_param(unsigned char *, HTTP_PARAM_S *, int *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c: In function 'mm_login_oauth2_c_client_method': oauth2_aux.c:161:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] jx = json_body_value(json, "device_code"); ^~~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:163:36: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] oauth2->devicecode.device_code = cpystr((char *) jx->value); ^ oauth2_aux.c:165:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] jx = json_body_value(json, "user_code"); ^~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:167:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] oauth2->devicecode.user_code = cpystr((char *) jx->value); ^ oauth2_aux.c:169:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] jx = json_body_value(json, "verification_uri"); ^~~~~~~~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:173:33: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:174:5: warning: enumeration value 'JValue' not handled in switch [-Wswitch] switch(jx->jtype){ ^~~~~~ oauth2_aux.c:174:5: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:174:5: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:181:33: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] if((jx = json_body_value(json, "interval")) != NULL) ^~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:182:5: warning: enumeration value 'JValue' not handled in switch [-Wswitch] switch(jx->jtype){ ^~~~~~ oauth2_aux.c:182:5: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:182:5: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:189:29: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] jx = json_body_value(json, "message"); ^~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:191:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] oauth2->devicecode.message = cpystr((char *) jx->value); ^ oauth2_aux.c:215:46: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] case HTTP_OK: jx = json_body_value(json, "access_token"); ^~~~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:219:36: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:220:5: warning: enumeration value 'JValue' not handled in switch [-Wswitch] switch(jx->jtype){ ^~~~~~ oauth2_aux.c:220:5: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:220:5: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:251:45: warning: pointer targets in passing argument 1 of 'xoauth2_server' differ in signedness [-Wpointer-sign] char *server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); ~~~~~~~~~~~~~^~~~~~~~~~ oauth2_aux.c:68:7: note: expected 'char *' but argument is of type 'unsigned char *' char *xoauth2_server(char *server, char *tenant) ^~~~~~~~~~~~~~ oauth2_aux.c:252:33: warning: pointer targets in passing argument 1 of 'http_get_param_url' differ in signedness [-Wpointer-sign] char *url = http_get_param_url(server, params); ^~~~~~ In file included from oauth2_aux.c:23, from mail.c:6493: http.h:119:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *); ^~~~~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:252:14: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] char *url = http_get_param_url(server, params); ^~~~~~~~~~~~~~~~~~ oauth2_aux.c:257:44: warning: pointer targets in passing argument 1 of 'ogac' differ in signedness [-Wpointer-sign] oauth2->param[OA2_Code].value = (*ogac)(url, method, oauth2, tryanother); ^~~ oauth2_aux.c:257:44: note: expected 'unsigned char *' but argument is of type 'char *' oauth2_aux.c:269:49: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] case HTTP_OK : jx = json_body_value(json, "refresh_token"); ^~~~~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:273:36: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] jx = json_body_value(json, "access_token"); ^~~~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:277:40: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:278:9: warning: enumeration value 'JValue' not handled in switch [-Wswitch] switch(jx->jtype){ ^~~~~~ oauth2_aux.c:278:9: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:278:9: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:285:36: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] jx = json_body_value(json, "expires_in"); ^~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:131:10: warning: unused variable 's' [-Wunused-variable] char *s = NULL; ^ oauth2_aux.c: In function 'oauth2deviceinfo_get_accesscode': oauth2_aux.c:318:56: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] oauth2->param[OA2_DeviceCode].value = cpystr(dcode->device_code); ~~~~~^~~~~~~~~~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from mail.c:6493: oauth2_aux.c:328:45: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] case HTTP_BAD : jx = json_body_value(json, "error"); ^~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:334:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(compare_cstring(error, "authorization_pending") == 0) ^~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:334:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(compare_cstring(error, "authorization_pending") == 0) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:336:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(compare_cstring(error, "authorization_declined") == 0) ^~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:336:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(compare_cstring(error, "authorization_declined") == 0) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:338:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(compare_cstring(error, "bad_verification_code") == 0) ^~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:338:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(compare_cstring(error, "bad_verification_code") == 0) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:340:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(compare_cstring(error, "expired_token") == 0) ^~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:340:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(compare_cstring(error, "expired_token") == 0) ^~~~~~~~~~~~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:347:45: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] case HTTP_OK : jx = json_body_value(json, "refresh_token"); ^~~~~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:351:31: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] jx = json_body_value(json, "access_token"); ^~~~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:355:35: warning: pointer targets in passing argument 2 of 'json_body_value' differ in signedness [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ In file included from oauth2_aux.c:24, from mail.c:6493: json.h:29:9: note: expected 'unsigned char *' but argument is of type 'char *' JSON_X *json_body_value(JSON_S *, unsigned char *); ^~~~~~~~~~~~~~~ In file included from mail.c:6493: oauth2_aux.c:356:6: warning: enumeration value 'JValue' not handled in switch [-Wswitch] switch(jx->jtype){ ^~~~~~ oauth2_aux.c:356:6: warning: enumeration value 'JDecimal' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JExponential' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JNumberError' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JObject' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JArray' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JBoolean' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JNull' not handled in switch [-Wswitch] oauth2_aux.c:356:6: warning: enumeration value 'JEnd' not handled in switch [-Wswitch] oauth2_aux.c:314:7: warning: unused variable 'done' [-Wunused-variable] int done = 0, status, rv; ^~~~ oauth2_aux.c: In function 'copy_xoauth2_info': oauth2_aux.c:407:33: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if(x->name) y->name = cpystr(x->name); ~^~~~~~ In file included from c-client.h:48, from mail.c:30: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from mail.c:6493: oauth2_aux.c:407:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if(x->name) y->name = cpystr(x->name); ^ mail.c: In function 'mail_parse_set': mail.c:4270:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] else cur = cur->next = mail_newsearchset (); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'compare_csizedtext': misc.c:488:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) ^ newsrc.c: In function 'newsrc_lsub': newsrc.c:173:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ newsrc.c:173:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^~~~~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ newsrc.c:176:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ newsrc.c:176:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from newsrc.c:36: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ smanager.c: In function 'sm_subscribe': smanager.c:42:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48, from smanager.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c:42:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48, from smanager.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c: In function 'sm_unsubscribe': smanager.c:75:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48, from smanager.c:30: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smanager.c:75:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ In file included from c-client.h:48, 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); ^~~~~~~~~~~~~~~ utf8.c:112:39: warning: missing braces around initializer [-Wmissing-braces] static const CHARSET utf8_csvalid[] = { ^ utf8.c:345:38: warning: missing braces around initializer [-Wmissing-braces] static const SCRIPT utf8_scvalid[] = { ^ utf8.c: In function 'utf8_script': utf8.c:381:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^~~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:381:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ~~~~~~~~~~~~~~~^~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_charset': utf8.c:398:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^~~~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:398:52: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ~~~~~~~~~~~~~~~^~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_cstext': utf8.c:584:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:584:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~~~~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_cstocstext': utf8.c:611:29: 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, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:611:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^~~~~~~~~~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_rmap': utf8.c:645:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^~~~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:645:59: 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, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'utf8_csvalidmap': utf8.c:1321:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c:1321:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^~~~~~~~~~~~~ In file included from c-client.h:48, from utf8.c:29: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ utf8.c: In function 'ucs4_decompose': utf8.c:2529:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ utf8aux.c: In function 'utf8_from_mutf7': utf8aux.c:413:24: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign] if (mail_utf7_valid (src)) return NIL; ^~~ In file included from c-client.h:41, from utf8aux.c:32: mail.h:1716:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_utf7_valid (char *mailbox); ^~~~~~~~~~~~~~~ utf8aux.c:418:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^~~ In file included from osdep.h:44, from c-client.h:42, from utf8aux.c:32: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ utf8aux.c:418:26: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^~~ In file included from c-client.h:48, from utf8aux.c:32: misc.h:85:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^~~~~~ utf8aux.c:418:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ dummy.c: In function 'dummy_valid': dummy.c:128:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (rname,"INBOX")) return &dummydriver; ^~~~~ In file included from dummy.c:36: 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:128:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (rname,"INBOX")) return &dummydriver; ^~~~~~~ In file included from dummy.c:36: 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:190:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^~~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dummy.c:190:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^~~~~~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, 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:229:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:36: 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:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^~~~~~~ In file included from dummy.c:36: 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:230:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^~~~~~~~~~~~~~~~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ dummy.c:230:12: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^~~~~~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, 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:232:29: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:58, from osdep.h:68, 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:232:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:235:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:58, from osdep.h:68, 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:235:21: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^~~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c: In function 'dummy_list_work': dummy.c:296:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:296:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from dummy.c:36: dummy.c:296:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from dummy.c:36: dummy.c:296:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~~~~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:310:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^~~~~~~~~~~~~~~~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ dummy.c:310:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^~~~~~~~~~~~~~~~~ In file included from env_unix.h:58, from osdep.h:68, 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:38: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:312:15: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:312:20: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^~~ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ In file included from dummy.c:36: dummy.c:321:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from dummy.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from dummy.c:36: dummy.c:321:23: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^~~~~~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:322:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:322:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:327:30: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:327:35: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:331:18: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:331:23: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:337:23: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:337:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:337:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ In file included from dummy.c:36: 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:337:60: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~~~~~ In file included from dummy.c:36: 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:464:12: warning: implicit declaration of function 'maildir_create'; did you mean 'mail_create'? [-Wimplicit-function-declaration] return maildir_create(stream, mailbox); ^~~~~~~~~~~~~~ mail_create dummy.c:466:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^~~~~~~ In file included from dummy.c:36: 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:466:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^~~~~~~ In file included from dummy.c:36: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ dummy.c: In function 'dummy_delete': dummy.c:531:5: warning: implicit declaration of function 'is_valid_maildir' [-Wimplicit-function-declaration] || is_valid_maildir(&mailbox)){ ^~~~~~~~~~~~~~~~ dummy.c:536:13: warning: implicit declaration of function 'maildir_delete'; did you mean 'mail_delete'? [-Wimplicit-function-declaration] return maildir_delete(stream, tmp); ^~~~~~~~~~~~~~ mail_delete dummy.c: In function 'dummy_rename': dummy.c:595:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) ^~~~ In file included from dummy.c:36: 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:595:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (rold,"INBOX") && stat (oldname,&sbuf)) ^~~~~~~ In file included from dummy.c:36: 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:626:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ~~~~~~^~~~~~~~~ In file included from dummy.c:36: 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:626:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^~~~~~~ In file included from dummy.c:36: 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:733:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from dummy.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ dummy.c:734:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); ^~~~~~~~ In file included from dummy.c:31: mail.h:1850: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:755:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from dummy.c:36: 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:755:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from dummy.c:36: 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:757:23: warning: operation on 'ts' may be undefined [-Wsequence-point] if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) ~~~~^~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_scan_contents': dummy.c:389:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_list_work': dummy.c:319:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf (path,"%s/",tmp); ^ In file included from /usr/include/stdio.h:873, from dummy.c:27: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dummy.c: In function 'dummy_delete': dummy.c:539:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] sprintf (tmp,"Can't delete - invalid name: %.80s",s); ^~~~~ fdstring.c: In function 'fd_string_setpos': fdstring.c:97:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read ((long) s->data,s->curpos,(size_t) s->cursize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:67:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (d->fd,s->chunk,(size_t) s->cursize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:163:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); /* coerce to uppercase */ ^~~ In file included from c-client.h:48, 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 from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); ^ rfc822.c:134:8: warning: unused variable 'PathP' [-Wunused-variable] long PathP = NIL; /* flag that a Path: was seen */ ^~~~~ rfc822.c: In function 'rfc822_parse_content': rfc822.c:379:37: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] s1 = (char *) rfc822_base64 (s, strlen(s), &k); ^ In file included from c-client.h:43, from rfc822.c:37: rfc822.h:102:7: note: expected 'unsigned char *' but argument is of type 'char *' void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); ^~~~~~~~~~~~~ rfc822.c:555:56: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ~~^~ In file included from c-client.h:48, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:555:47: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^~~~~~~~~~~~ In file included from c-client.h:43, from rfc822.c:37: rfc822.h:64:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_parse_content_header (BODY *body,char *name,char *s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_parse_content_header': rfc822.c:626:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^~~~~~~~~~ In file included from c-client.h:48, 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ rfc822.c:640:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] stl->text.data = (unsigned char *) ucase (cpystr (s)); ^~~~~~~~~~ In file included from c-client.h:48, from rfc822.c:37: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ rfc822.c:667:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^ In file included from c-client.h:48, 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:36: 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, from rfc822.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ rfc822.c:678:36: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ In file included from c-client.h:48, 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ rfc822.c:690:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^~~~~~~~~~~~~~ In file included from c-client.h:48, 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ rfc822.c:708:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^ In file included from c-client.h:48, 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:40: 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, from rfc822.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ rfc822.c:719:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ In file included from c-client.h:48, 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:752:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^~~~~~~~~~ In file included from c-client.h:48, 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ rfc822.c: In function 'rfc822_output_header': rfc822.c:1528:48: 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, from rfc822.c:37: rfc822.h:88:6: note: expected 'char *' but argument is of type 'unsigned char *' long rfc822_output_header_line (RFC822BUFFER *buf,char *type,long resent, ^~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.c: In function 'rfc822_output': rfc822.c:2409:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ ^~~ nntp.c: In function 'nntp_list': nntp.c:366:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: 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:366:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: 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:369:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: 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:369:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: nntp.c: In function 'nntp_lsub': nntp.c:401:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: nntp.c:401:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) ^~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from nntp.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ nntp.c: In function 'nntp_status': nntp.c:571:24: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,k,&status.recent,&status.unseen); ^~~~~ In file included from nntp.c:32: 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:580:20: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,i++,&status.recent,&status.unseen); ^~~~~ In file included from nntp.c:32: 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:752:12: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net_host (nstream->netstream) : mb.host)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: 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:875:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41, from nntp.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ nntp.c:876:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from c-client.h:41, from nntp.c:31: mail.h:1850: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:918:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from c-client.h:41, from nntp.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ nntp.c:918:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from c-client.h:41, from nntp.c:31: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ nntp.c: In function 'nntp_over': nntp.c:1021:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:1021:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from osdep.h:44, from c-client.h:42, from nntp.c:31: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ nntp.c: In function 'nntp_parse_overview': nntp.c:1067:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!elt->day) mail_parse_date (elt,ov->date); ~~^~~~~~ In file included from c-client.h:41, from nntp.c:31: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ nntp.c: In function 'nntp_search_msg': nntp.c:1336:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] (!mail_parse_date (&delt,ov->date) || ~~^~~~~~ In file included from c-client.h:41, from nntp.c:31: mail.h:1784: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:1553:33: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); ^ In file included from c-client.h:41, from nntp.c:31: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ nntp.c: In function 'nntp_extensions': nntp.c:1845:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from c-client.h:48, from nntp.c:31: 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:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^~~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: 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:1846:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from c-client.h:48, from nntp.c:31: 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:1846:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^~~~~~ In file included from c-client.h:48, from nntp.c:31: 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:1847:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from c-client.h:48, from nntp.c:31: 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:1847:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^~~~~ In file included from c-client.h:48, from nntp.c:31: 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:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from c-client.h:48, from nntp.c:31: 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:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^~~~~ In file included from c-client.h:48, from nntp.c:31: 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:1849:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from c-client.h:48, from nntp.c:31: 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:1849:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: 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:1850:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from c-client.h:48, from nntp.c:31: 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:1850:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^~~~~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: 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:1852:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from c-client.h:48, from nntp.c:31: 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:1852:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^~~~~~~~~~ In file included from c-client.h:48, from nntp.c:31: 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:1855:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^~~~ In file included from c-client.h:48, from nntp.c:31: 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:1855:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^~~~~~ In file included from c-client.h:48, from nntp.c:31: 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:1943:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if ((s = strstr (env->date," (")) != NULL) *s = NIL; ~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from nntp.c:31: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ nntp.c:1914:8: warning: unused variable 'retry' [-Wunused-variable] long retry = NIL; ^~~~~ nntp.c:1913:8: warning: unused variable 'error' [-Wunused-variable] long error = NIL; ^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:786:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) k,f); ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1122:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned char *) fs_get ((size_t) *size + 3), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) *size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtp.c: In function 'smtp_open_full': smtp.c:164:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ~~^~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:164:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:182:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^~~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:182:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ~~^~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c: In function 'smtp_auth': smtp.c:293:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ~~^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:293:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ~~^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c: In function 'smtp_ehlo': smtp.c:723:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:723:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:727:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:727:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^~~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:731:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:731:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:735:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:735:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:741:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:741:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:742:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:742:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:743:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:743:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:744:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:744:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:745:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:745:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:746:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:746:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:747:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:747:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:748:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:748:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:749:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:749:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:750:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:750:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:751:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:751:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:752:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:752:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:753:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:753:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:754:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:754:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^~~~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:755:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:755:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:757:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:757:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^~~~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:758:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c:758:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^~~~~~~~~~ In file included from c-client.h:48, from smtp.c:37: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ smtp.c: In function 'smtp_auth': smtp.c:349:9: warning: 'authsaved' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!authsaved) sprintf (tmp, "Client does not support AUTH=%.80s authenticator",mb->auth); ^ In file included from c-client.h:48, from imap4r1.c:41: imap4r1.c: In function 'imap_lsub': imap4r1.c:524:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from imap4r1.c:41: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: imap4r1.c:524:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) ^~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from imap4r1.c:41: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ imap4r1.c: In function 'imap_list_work': imap4r1.c:584:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:584:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:586:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:586:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:598:56: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:599:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c: In function 'imap_manage': imap4r1.c:701:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && ^~ imap4r1.c:722:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ret ? NIL : ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:906:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:907:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:907:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:908:31: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:912:31: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] preauthed = !strcmp (reply->key,"PREAUTH"); ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:1047:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ~~^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1047:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1057:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:1103:61: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:1107:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:1107:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c: In function 'imap_anon': imap4r1.c:1143:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (reply->tag,tag)) { ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1145:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1160:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:1183:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ~~^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1183:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ~~^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1227:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (compare_cstring (reply->tag,tag)) ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1228:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:1241:24: 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, from imap4r1.c:41: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imap4r1.c: In function 'imap_login': imap4r1.c:1304:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:1335:17: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:1340:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (reply->text),len))) { ~~~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:384: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:1409:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_fast': imap4r1.c:1450:45: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:1471:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:1524:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ov.date = env->date; ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1572:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1699:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1701:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:1931:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1941:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1950:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:1954:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2007:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2043:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2084:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2156:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2175:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2181:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:2217:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2280:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2287:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2296:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2383:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ~~~^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:2383:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_thread_work': imap4r1.c:2443:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2450:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:2458:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2482:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2507:36: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (mail_sequence (stream,sequence)) { ^~~~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ imap4r1.c:2535:27: 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, from imap4r1.c:41: mail.h:1690: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:2573:65: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && ^~~~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ imap4r1.c:2577:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2630:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2693:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2723:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ imap4r1.c:2727:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ imap4r1.c:2728:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ imap4r1.c:2729:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2925:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:2949:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_setid': imap4r1.c:3027:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:3051:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:3074:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690: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:3111:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3111:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3112:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3112:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3113:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3113:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:3266:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!map->date || mail_parse_date (&elt,map->date)) { ~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_send_literal': imap4r1.c:3392:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c: In function 'imap_search_x_gm_ext1': imap4r1.c:3606:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3612:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c:3647:22: 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, from imap4r1.c:41: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ imap4r1.c: In function 'imap_reply': imap4r1.c:3980:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3982:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:3987:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (tag && !compare_cstring (tag,reply->tag)) return reply; ^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_reply': imap4r1.c:4013:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ imap4r1.c:4019:43: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (LOCAL->reply.line); ^ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1691:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c:4020:50: 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:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:345:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ imap4r1.c:4020:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ imap4r1.c:4026:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4028:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { ^ imap4r1.c:4038:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:4039:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap4r1.c:4042:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ imap4r1.c:4043:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:4044:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.text = ""; ^ imap4r1.c: In function 'imap_fake': imap4r1.c:4064:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ imap4r1.c:4065:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ imap4r1.c:4066:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->reply.text = text; ^ imap4r1.c: In function 'imap_OK': imap4r1.c:4081:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4082:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,NIL); ~~~~~^~~~~~ imap4r1.c:240: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:4086:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4087:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,NIL); ~~~~~^~~~~~ imap4r1.c:240: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:4089:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4090:40: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,NIL); ~~~~~^~~~~~ imap4r1.c:240: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:4114:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] msgno = strtoul (reply->key,(char **) &s,10); ~~~~~^~~~~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4128:31: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ~~~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:345:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ imap4r1.c:4128:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:4129:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ ^ imap4r1.c:4132:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4134:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4136:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4144:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4144:52: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4155:33: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:345:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ imap4r1.c:4155:52: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ imap4r1.c:4159:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:4159:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4167:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ imap4r1.c:4173:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4214:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ imap4r1.c:4216:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ imap4r1.c:4218:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:139: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:4219:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ~^~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4229:32: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; ~~^~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:4229:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; ^ imap4r1.c:4234:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] md.first = strtoul (s+1,(char **) &s,10) + 1; ~^~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4277:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->rfc822_size = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4313:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4320:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4322:31: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ~~~~~~~~~~~^~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:345:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ imap4r1.c:4322:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ imap4r1.c:4325:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,stream->user_flags[i]); i++); ~~~~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4331:74: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imap4r1.c:4333:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while ((s = strtok_r (NIL," )",&r)) != NULL); ^ imap4r1.c:4334:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4336:44: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ~~~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:345:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ imap4r1.c:4336:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ imap4r1.c:4337:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (t,NIL,10)) != 0L) { ^ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4346:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] } while ((t = strtok_r (NIL," ",&r)) != NULL); ^ imap4r1.c:4348:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4356:44: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ~~~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:345:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ imap4r1.c:4356:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ imap4r1.c:4357:25: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] do if ((i = atol (t)) && (LOCAL->filter ? ^ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/stdlib.h:366:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^~~~~ imap4r1.c:4360:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); ^ imap4r1.c:4366:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4381:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4385:53: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:4385:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:4391:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:4391:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:4394:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4395:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (txt,"MESSAGES")) { ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4399:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"RECENT")) { ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4403:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UNSEEN")) { ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4407:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDNEXT")) { ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4411:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDVALIDITY")) { ^~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4420:53: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); ^ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ imap4r1.c:4428:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4428:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4430:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ~~~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:4430:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4434:35: warning: pointer targets in passing argument 1 of 'strtok_r' differ in signedness [-Wpointer-sign] if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { ~~~~~~~~~~~^~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:345:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, ^~~~~~~~ imap4r1.c:4434:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { ^ imap4r1.c:4435:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; ^~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4436:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; ^~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4437:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4438:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; ^~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4439:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; ^~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4440:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; ^~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4441:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4442:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4443:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4444:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4445:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4446:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4447:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4450:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) != NULL); ^ imap4r1.c:4464:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ imap4r1.c:4464:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ~~^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ imap4r1.c:4467:59: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign] if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); ^ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^~~~~~~ imap4r1.c:4468:38: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] else mm_list (stream,delimiter,s,i); ^ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1687:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^~~~~~~ imap4r1.c:4472:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4495:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4501:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ imap4r1.c:4503:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ac->rights = imap_parse_astring (stream,&s,reply,NIL); ^ imap4r1.c:4512:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,al); ^ imap4r1.c:4512:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4516:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:4516:32: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4520:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4524:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ imap4r1.c:4526:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4540:31: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,rl); ^ imap4r1.c:4540:31: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4545:29: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,NIL); ^ imap4r1.c:4545:29: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4563:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4567:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4573:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4573:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4585:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4596:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ imap4r1.c:4598:43: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4599:26: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] else if ((t = strchr (s,' ')) != NULL) t = s; ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ imap4r1.c:4599:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if ((t = strchr (s,' ')) != NULL) t = s; ^ imap4r1.c:4601:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:4602:29: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] else if ((t = strpbrk (s," )")) != NULL) t = s; ^ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ imap4r1.c:4602:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] else if ((t = strpbrk (s," )")) != NULL) t = s; ^ imap4r1.c:4607:30: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4607:30: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4626:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ID") && (s = reply->text)){ ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4627:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); ^~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4627:62: warning: pointer targets in passing argument 1 of 'imap_parse_idlist' differ in signedness [-Wpointer-sign] if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); ^ imap4r1.c:2955:9: note: expected 'char *' but argument is of type 'unsigned char *' IDLIST *imap_parse_idlist (char *text) ^~~~~~~~~~~~~~~~~ imap4r1.c:4629:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4644:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4644:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4655:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4655:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4656:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,T); ~~~~~^~~~~~ imap4r1.c:240: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:4657:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4658:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,T); ~~~~~^~~~~~ imap4r1.c:240: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:4659:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4660:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,T); ~~~~~^~~~~~ imap4r1.c:240: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:4661:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4663:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,BYE,T); ~~~~~^~~~~~ imap4r1.c:240: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:4665:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4666:42: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ~~~~~^~~~~~ imap4r1.c:275:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4667:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ~~~~~^~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ imap4r1.c:4669:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) ~~~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from imap4r1.c:41: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap4r1.c:4670:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ imap4r1.c:4670:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ~~^~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ imap4r1.c:4672:25: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] mm_list (stream,NIL,t,NIL); ^ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1687: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:4705:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4705:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); ^~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4706:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4706:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^~~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4714:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4714:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4715:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4715:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4717:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4717:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4719:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4719:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4721:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4721:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4729:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4729:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ ^~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4740:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4740:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4743:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4743:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4749:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4749:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4756:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4756:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4763:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4763:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4767:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4767:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4768:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4768:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4770:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:4770:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4812:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ imap4r1.c:4837:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ imap4r1.c:4849:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, ^ In file included from imap4r1.c:38: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4922:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ imap4r1.c:4924:12: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10))) { ^~~~~~~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:5010:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5017:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5019:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_address': imap4r1.c:5117:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5118:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5119:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5120:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_flags': imap4r1.c:5217:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ imap4r1.c:5225:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5225:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5226:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5226:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5227:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5227:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5228:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5228:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5229:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5229:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5230:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5230:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_user_flag': imap4r1.c:5258:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5258:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ~~~~~~~~~~~~~~~~~~^~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_parse_astring': imap4r1.c:5291:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from imap4r1.c:38: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ imap4r1.c:5291:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:5332:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (c) st = ++*txtptr; /* remember start of string */ ^ imap4r1.c:5387:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { ^~~~~~~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5419:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5420:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5421:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1691:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c: In function 'imap_cache': imap4r1.c:5489:39: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,seg))) { ^~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1780: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:5567:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) ^ imap4r1.c:5568:13: 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, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5586:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5607:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { ^ imap4r1.c:5608:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5620:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) ^ imap4r1.c:5621:13: 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, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5628:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5629:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5631:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { ^ imap4r1.c:5632:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ imap4r1.c:5648:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); ^~~~~~~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5669:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.lines = strtoul (*txtptr,(char **) txtptr,10); ^~~~~~~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5676:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5689:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_body_parameter': imap4r1.c:5736:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5742:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ ^ imap4r1.c:5768:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] ((*(s = *txtptr) == 'I') || (*s == 'i')) && ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5792:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c: In function 'imap_parse_language': imap4r1.c:5835:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5904:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do ^~~~~~~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c:5909:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5910:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5911:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ~~~~~^~~~~~ In file included from c-client.h:41, from imap4r1.c:41: mail.h:1691:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^~~~~~~ imap4r1.c:5916:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10); ^~~~~~~ In file included from osdep.h:43, from c-client.h:42, from imap4r1.c:41: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5950:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5950:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5952:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5952:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5954:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5954:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5955:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5955:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5957:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5957:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5958:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5958:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5959:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5959:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5960:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5960:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5961:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5961:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5962:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5962:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5963:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5963:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5964:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5964:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5965:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5965:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5966:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5966:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^~~~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5967:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5967:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5968:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5968:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5969:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5969:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^~~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5970:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5970:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5971:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5971:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5972:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5972:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5973:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5973:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5974:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5974:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5975:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5975:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5976:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5976:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5977:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5977:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5978:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5978:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; ^~~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5986:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5986:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5993:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5993:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5996:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c:5996:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^~~~~~~~~~~ In file included from c-client.h:48, from imap4r1.c:41: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ imap4r1.c: In function 'imap_auth': imap4r1.c:1255:8: warning: 'uasaved' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!uasaved) sprintf (tmp,"Client does not support AUTH=%.80s authenticator",mb->auth); ^ http.c: In function 'http_response_from_reply': http.c:143:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] s = strstr(stream->reply, "\r\n\r\n"); ~~~~~~^~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ http.c:143:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = strstr(stream->reply, "\r\n\r\n"); ^ http.c:149:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(p->vp->value, "chunked")) ~~~~~^~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:149:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(p->vp->value, "chunked")) ^~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:153:30: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if((s = strstr(stream->reply, "\r\n\r\n")) != NULL ~~~~~~^~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ http.c:153:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if((s = strstr(stream->reply, "\r\n\r\n")) != NULL ^ http.c:154:23: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] && (t = strstr(s + 4, "\r\n")) != NULL) ~~^~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ http.c:154:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] && (t = strstr(s + 4, "\r\n")) != NULL) ^ http.c: In function 'http_add_data_to_header': http.c:378:36: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] if(h->data) buffer_add(&h->data, ", "); ^~~~ http.c:103:6: note: expected 'unsigned char *' but argument is of type 'char *' void buffer_add(unsigned char **, unsigned char *); ^~~~~~~~~~ http.c: In function 'http_add_header_data': http.c:398:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if((h = strchr(hdata, ':'))){ ^~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ http.c:398:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if((h = strchr(hdata, ':'))){ ^ http.c:401:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(hname, hdata, h-hdata); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ http.c:401:20: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(hname, hdata, h-hdata); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ http.c:403:9: note: in expansion of macro 'valid_token_name' if(!valid_token_name(hname)) ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ http.c:413:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'a': if(!compare_cstring(hname+1, "ccept:")) /* RFC 7231, Section 5.3.2 */ ^~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:415:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-charset:")) /* RFC 7231, Section 5.3.3 */ ^~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:417:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-encoding:")) /* RFC 7231, Section 5.3.4 */ ^~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:419:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-language:")) /* RFC 7231, Section 5.3.5 */ ^~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:421:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-ranges:")) /* RFC 7233, Section 2.3 */ ^~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:423:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ge:")) /* RFC 7234, Section 5.1 */ ^~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:425:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "llow:")) /* RFC 7231, Section 7.4.1 */ ^~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:431:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'c': if(!compare_cstring(hname+1, "ache-control:")) /* RFC 7234, Section 5.2 */ ^~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:433:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "onnection:")) /* RFC 7230, Section 6.1 */ ^~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:435:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-disposition:")) /* RFC 6266 */ ^~~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:437:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-encoding:")) /* RFC 7231, Section 3.1.2.2 */ ^~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:439:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-language:")) /* RFC 7231, Section 3.1.3.2 */ ^~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:441:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-length:")) /* RFC 7230, Section 3.3.2 */ ^~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:443:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-location:")) /* RFC 7231, Section 3.1.4.2 */ ^~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:445:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-type:")) /* RFC 7231, Section 3.1.1.5 */ ^~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:451:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'd': if(!compare_cstring(hname+1, "ate:")) /* RFC 7231, Section 7.1.1.2 */ ^~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:457:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'e': if(!compare_cstring(hname+1, "tag:")) /* RFC 7232, Section 2.3 */ ^~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:459:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "xpect:")) /* RFC 7231, Section 5.1.1 */ ^~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:461:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "xpires:")) /* RFC 7234, Section 5.3 */ ^~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:467:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'f': if(!compare_cstring(hname+1, "rom:")) /* RFC 7231, Section 5.5.1 */ ^~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:473:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'h': if(!compare_cstring(hname+1, "ost:")) /* RFC 7230, Section 5.4 */ ^~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:479:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'l': if(!compare_cstring(hname+1, "ast-modified:")) /* RFC 7232, Section 2.2 */ ^~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:481:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ocation:")) /* RFC 7231, Section 7.1.2 */ ^~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:487:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'm': if(!compare_cstring(hname+1, "ax-forwards:")) /* RFC 7231, Section 5.1.2 */ ^~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:489:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ime-version:")) /* RFC 7231, Appendix A.1 */ ^~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:495:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'p': if(!compare_cstring(hname+1, "ragma:")) /* RFC 7234, Section 5.4 */ ^~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:497:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "roxy-authenticate:")) /* RFC 7235, Section 4.3 */ ^~~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:503:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'r': if(!compare_cstring(hname+1, "eferer:")) /* RFC 7231, Section 5.5.2 */ ^~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:505:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "etry-after:")) /* RFC 7231, Section 7.1.3 */ ^~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:511:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 's': if(!compare_cstring(hname+1, "erver:")) /* RFC 7231, Section 7.4.2 */ ^~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:517:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 't': if(!compare_cstring(hname+1, "e:")) /* RFC 7230, Section 4.3 */ ^~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:519:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "railer:")) /* RFC 7230, Section 4.4 */ ^~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:521:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ransfer-encoding:")) /* RFC 7230, Section 3.3.1 */ ^~~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:528:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'u': if(!compare_cstring(hname+1, "pgrade:")) /* RFC 7230, Section 6.7 */ ^~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:530:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ser-agent:")) /* RFC 7231, Section 5.5.3 */ ^~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:536:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'v': if(!compare_cstring(hname+1, "ia:")) /* RFC 7230, Section 5.7.1 */ ^~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:538:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ary:")) /* RFC 7231, Section 7.1.4 */ ^~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:544:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] case 'w': if(!compare_cstring(hname+1, "arning:")) /* RFC 7234, Section 5.5 */ ^~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:546:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if(!compare_cstring(hname+1, "ww-authenticate:")) /* RFC 7235, Section 4.1 */ ^~~~~~~~~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:387:7: warning: variable 'found' set but not used [-Wunused-but-set-variable] int found = 1; ^~~~~ http.c: In function 'http_parse_token_list': http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ http.c:573:7: note: in expansion of macro 'valid_token_name' if(!valid_token_name(s)) ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ http.c:581:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] rv->vp->value = cpystr(s); ^ In file included from c-client.h:48, from http.c:14: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ http.c: In function 'http_parse_token_parameter': http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ http.c:622:7: note: in expansion of macro 'valid_token_name' if(!valid_token_name(s)) ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ http.c:635:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] rv->vp->value = cpystr(s); ^ In file included from c-client.h:48, from http.c:14: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ http.c: In function 'valid_dquote_text': http.c:653:15: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] t = strchr(s+1, '\"'); ~^~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ http.c:653:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] t = strchr(s+1, '\"'); ^ http.c: In function 'http_remove_trailing_ows': http.c:670:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for(t = s; strlen(t) > 0 ;) ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:671:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:671:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:672:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] t[strlen(t)-1] = '\0'; ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c: In function 'http_parse_parameter': http.c:693:14: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] u = strchr(s, '='); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ http.c:693:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] u = strchr(s, '='); ^ http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ http.c:698:9: note: in expansion of macro 'valid_token_name' if(!valid_token_name(s) || !valid_parameter_value(u+1)) ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ http.c:698:56: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if(!valid_token_name(s) || !valid_parameter_value(u+1)) ^ http.c:120:40: note: in definition of macro 'valid_token_name' #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^ http.c:698:33: note: in expansion of macro 'valid_parameter_value' if(!valid_token_name(s) || !valid_parameter_value(u+1)) ^~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ http.c:701:27: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] p->attribute = cpystr(s); ^ In file included from c-client.h:48, from http.c:14: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ http.c:702:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] p->value = cpystr(u+1); ~^~ In file included from c-client.h:48, from http.c:14: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ http.c:120:39: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ http.c:711:9: note: in expansion of macro 'valid_token_name' if(!valid_token_name(s)) ^~~~~~~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ http.c:714:27: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] p->attribute = cpystr(s); ^ In file included from c-client.h:48, from http.c:14: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ http.c: In function 'http_get_param_url': http.c:731:51: warning: pointer targets in passing argument 1 of 'hex_escape_url_part' differ in signedness [-Wpointer-sign] enc_param.name = hex_escape_url_part(param[i].name, NULL); ~~~~~~~~^~~~~ http.c:104:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); ^~~~~~~~~~~~~~~~~~~ http.c:731:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] enc_param.name = hex_escape_url_part(param[i].name, NULL); ^ http.c:732:51: warning: pointer targets in passing argument 1 of 'hex_escape_url_part' differ in signedness [-Wpointer-sign] enc_param.value = hex_escape_url_part(param[i].value, NULL); ~~~~~~~~^~~~~~ http.c:104:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); ^~~~~~~~~~~~~~~~~~~ http.c:732:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] enc_param.value = hex_escape_url_part(param[i].value, NULL); ^ http.c:733:34: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&rv, i == 0 ? "?" : "&"); ~~~~~~~~~~~~~^~~~~ http.c:103:6: note: expected 'unsigned char *' but argument is of type 'char *' void buffer_add(unsigned char **, unsigned char *); ^~~~~~~~~~ http.c:734:30: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&rv, enc_param.name); ~~~~~~~~~^~~~~ http.c:103:6: note: expected 'unsigned char *' but argument is of type 'char *' void buffer_add(unsigned char **, unsigned char *); ^~~~~~~~~~ http.c:735:21: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&rv, "="); ^~~ http.c:103:6: note: expected 'unsigned char *' but argument is of type 'char *' void buffer_add(unsigned char **, unsigned char *); ^~~~~~~~~~ http.c:736:30: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&rv, enc_param.value); ~~~~~~~~~^~~~~~ http.c:103:6: note: expected 'unsigned char *' but argument is of type 'char *' void buffer_add(unsigned char **, unsigned char *); ^~~~~~~~~~ http.c: In function 'http_request_line': http.c:767:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; ^~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:767:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; ^~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:767:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; ^~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:770:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(line, "%s %s %s", method, target, version); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ http.c: In function 'http_add_header': http.c:783:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(name) + 2 + strlen(value) + 2 + 1; ^~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:783:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(name) + 2 + strlen(value) + 2 + 1; ^~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:784:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hlen = (*reqp)->header ? strlen((*reqp)->header) : 0; ~~~~~~~^~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:787:27: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf((*reqp)->header + hlen, "%s: %s\015\012", name, value); ~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ http.c: In function 'buffer_add': http.c:797:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = *bufp ? strlen(*bufp) : 0; ^~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:798:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fs_resize((void **) bufp, (len + strlen(text) + 1)*sizeof(char)); ^~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:800:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(*bufp, text); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ http.c:800:17: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(*bufp, text); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^~~~~ http.c: In function 'hex_escape_url_part': http.c:850:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; ^~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:855:32: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] || (addsafe != NULL && strchr(addsafe, *t) != NULL)) ^~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ http.c:856:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:856:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ~~^~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ http.c:858:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:858:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ~~^~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ http.c:859:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c: In function 'encode_url_body_part': http.c:868:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; ^~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:873:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%c", '+'); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:873:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%c", '+'); ~~^~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ http.c:875:39: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] || (addsafe != NULL && strchr(addsafe, *t) != NULL)) ^~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ http.c:876:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:876:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ~~^~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ http.c:878:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:878:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ~~^~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ http.c:879:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); ^ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c: In function 'http_valid_net_parse': http.c:905:20: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] s = strchr(url+i+1, '/'); ~~~~~^~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ http.c:905:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = strchr(url+i+1, '/'); ^ http.c:906:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = s ? s - url - i - 1 : strlen(url+i+1); ~~~~~^~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:907:31: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(mb->orighost, url+i+1, len); ~~~~~^~ In file included from /usr/include/features.h:428, from /usr/include/ctype.h:25, from http.c:11: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ http.c: In function 'http_open': http.c:933:5: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = strchr((char *) url + 7 + (mb.trysslflag ? 1 : 0) + 1, '/'); /* 7 = strlen("http://") + 1 */ ^ http.c:934:28: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] stream->url = cpystr(url); ^~~ In file included from c-client.h:48, from http.c:14: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ http.c: In function 'http_post_param': http.c:961:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ^~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ http.c:961:59: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ~~~~~~^~~~~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ In file included from http.c:17: http.h:73:26: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] #define HTTP_1_1_VERSION "HTTP/1.1" ^~~~~~~~~~ http.c:961:70: note: in expansion of macro 'HTTP_1_1_VERSION' http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ^~~~~~~~~~~~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ http.c:962:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ^~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:962:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ~~~~~~^~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:963:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); ^~~~~~~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ In file included from http.c:17: http.h:71:30: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.h:71:30: note: in definition of macro 'HTTP_MIME_URLENCODED' #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:966:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] enc_param.name = encode_url_body_part(param[i].name, NULL); ~~~~~~~~^~~~~ http.c:865:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_url_body_part(unsigned char *text, unsigned char *addsafe) ^~~~~~~~~~~~~~~~~~~~ http.c:966:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] enc_param.name = encode_url_body_part(param[i].name, NULL); ^ http.c:967:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] enc_param.value = encode_url_body_part(param[i].value, NULL); ~~~~~~~~^~~~~~ http.c:865:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_url_body_part(unsigned char *text, unsigned char *addsafe) ^~~~~~~~~~~~~~~~~~~~ http.c:967:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] enc_param.value = encode_url_body_part(param[i].value, NULL); ^ http.c:969:37: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, "&"); ^~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:970:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, enc_param.name); ~~~~~~~~~^~~~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:971:34: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, "="); ^~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:972:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, enc_param.value); ~~~~~~~~~^~~~~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:979:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] response = cpystr(s ? (char *) s : ""); ^ http.c: In function 'http_post_param2': http.c:1003:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ^~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ http.c:1003:59: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ~~~~~~^~~~~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ In file included from http.c:17: http.h:73:26: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] #define HTTP_1_1_VERSION "HTTP/1.1" ^~~~~~~~~~ http.c:1003:70: note: in expansion of macro 'HTTP_1_1_VERSION' http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ^~~~~~~~~~~~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ http.c:1004:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ^~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1004:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ~~~~~~^~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1005:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "User-Agent", "Alpine"); ^~~~~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1005:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "User-Agent", "Alpine"); ^~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1006:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); ^~~~~~~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ In file included from http.c:17: http.h:71:30: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.h:71:30: note: in definition of macro 'HTTP_MIME_URLENCODED' #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1009:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] enc_param.name = encode_url_body_part(param[i].name, NULL); ~~~~~~~~^~~~~ http.c:865:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_url_body_part(unsigned char *text, unsigned char *addsafe) ^~~~~~~~~~~~~~~~~~~~ http.c:1009:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] enc_param.name = encode_url_body_part(param[i].name, NULL); ^ http.c:1010:52: warning: pointer targets in passing argument 1 of 'encode_url_body_part' differ in signedness [-Wpointer-sign] enc_param.value = encode_url_body_part(param[i].value, NULL); ~~~~~~~~^~~~~~ http.c:865:1: note: expected 'unsigned char *' but argument is of type 'char *' encode_url_body_part(unsigned char *text, unsigned char *addsafe) ^~~~~~~~~~~~~~~~~~~~ http.c:1010:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] enc_param.value = encode_url_body_part(param[i].value, NULL); ^ http.c:1012:37: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, "&"); ^~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:1013:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, enc_param.name); ~~~~~~~~~^~~~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:1014:34: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, "="); ^~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:1015:43: warning: pointer targets in passing argument 2 of 'http_add_body' differ in signedness [-Wpointer-sign] http_add_body(&http_request, enc_param.value); ~~~~~~~~~^~~~~~ http.c:804:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^~~~~~~~~~~~~ http.c:1022:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] response = cpystr(s ? (char *) s : ""); ^ http.c: In function 'http_get': http.c:1058:45: warning: pointer targets in passing argument 1 of 'http_request_line' differ in signedness [-Wpointer-sign] http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); ^~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ http.c:1058:58: warning: pointer targets in passing argument 2 of 'http_request_line' differ in signedness [-Wpointer-sign] http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); ~~~~~~^~~~~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ In file included from http.c:17: http.h:73:26: warning: pointer targets in passing argument 3 of 'http_request_line' differ in signedness [-Wpointer-sign] #define HTTP_1_1_VERSION "HTTP/1.1" ^~~~~~~~~~ http.c:1058:69: note: in expansion of macro 'HTTP_1_1_VERSION' http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); ^~~~~~~~~~~~~~~~ http.c:765:1: note: expected 'unsigned char *' but argument is of type 'char *' http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^~~~~~~~~~~~~~~~~ http.c:1059:34: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ^~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1059:48: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ~~~~~~^~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1063:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] response = cpystr(s ? (char *) s : ""); ^ http.c: In function 'http_send': http.c:1095:29: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] ret = http_fake (stream,"http connection lost"); ^~~~~~~~~~~~~~~~~~~~~~ http.c:114:6: note: expected 'unsigned char *' but argument is of type 'char *' long http_fake (HTTPSTREAM *, unsigned char *); ^~~~~~~~~ http.c:1100:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(length, "%lu", strlen(req->body)); ~~~^~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ http.c:1101:29: warning: pointer targets in passing argument 2 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&req, "Content-Length", length); ^~~~~~~~~~~~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1101:47: warning: pointer targets in passing argument 3 of 'http_add_header' differ in signedness [-Wpointer-sign] http_add_header(&req, "Content-Length", length); ^~~~~~ http.c:775:1: note: expected 'unsigned char *' but argument is of type 'char *' http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^~~~~~~~~~~~~~~ http.c:1104:50: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&s, req->request); buffer_add(&s, "\015\012"); ^~~~~~~~~~ http.c:791:1: note: expected 'unsigned char *' but argument is of type 'char *' buffer_add(unsigned char **bufp, unsigned char *text) ^~~~~~~~~~ http.c:1105:49: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&s, req->header); buffer_add(&s, "\015\012"); ^~~~~~~~~~ http.c:791:1: note: expected 'unsigned char *' but argument is of type 'char *' buffer_add(unsigned char **bufp, unsigned char *text) ^~~~~~~~~~ http.c:1106:47: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&s, req->body); buffer_add(&s, "\015\012"); ^~~~~~~~~~ http.c:791:1: note: expected 'unsigned char *' but argument is of type 'char *' buffer_add(unsigned char **bufp, unsigned char *text) ^~~~~~~~~~ http.c:1107:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log(s, TCPDEBUG); ^ In file included from c-client.h:41, from http.c:14: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ http.c:1108:40: warning: pointer targets in passing argument 2 of 'net_soutr' differ in signedness [-Wpointer-sign] ret = net_soutr (stream->netstream,s) ^ In file included from c-client.h:41, from http.c:14: mail.h:1907:6: note: expected 'char *' but argument is of type 'unsigned char *' long net_soutr (NETSTREAM *stream,char *string); ^~~~~~~~~ http.c:1110:24: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] : http_fake (stream,"http connection broken in command"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:114:6: note: expected 'unsigned char *' but argument is of type 'char *' long http_fake (HTTPSTREAM *, unsigned char *); ^~~~~~~~~ http.c: In function 'http_status_line_get': http.c:1125:19: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if((s = strchr(status_line, ' ')) != NIL){ ^~~~~~~~~~~ In file included from osdep.h:44, from c-client.h:42, from http.c:14: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ http.c:1127:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] version = cpystr(status_line); ^~~~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ http.c: In function 'http_reply': http.c:1164:33: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&stream->reply, "\015\012"); ^~~~~~~~~~ http.c:791:1: note: expected 'unsigned char *' but argument is of type 'char *' buffer_add(unsigned char **bufp, unsigned char *text) ^~~~~~~~~~ http.c:1171:23: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] http_fake(stream, "Invalid status line received. Closing connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:114:6: note: expected 'unsigned char *' but argument is of type 'char *' long http_fake (HTTPSTREAM *, unsigned char *); ^~~~~~~~~ http.c:1182:33: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&stream->reply, "\015\012"); ^~~~~~~~~~ http.c:791:1: note: expected 'unsigned char *' but argument is of type 'char *' buffer_add(unsigned char **bufp, unsigned char *text) ^~~~~~~~~~ http.c:1198:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(p->vp->value, "chunked")) ~~~~~^~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:1198:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(p->vp->value, "chunked")) ^~~~~~~~~ In file included from c-client.h:48, from http.c:14: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ http.c:1209:34: warning: pointer targets in passing argument 2 of 'buffer_add' differ in signedness [-Wpointer-sign] buffer_add(&stream->reply, "\015\012"); ^~~~~~~~~~ http.c:791:1: note: expected 'unsigned char *' but argument is of type 'char *' buffer_add(unsigned char **bufp, unsigned char *text) ^~~~~~~~~~ http.c:1210:21: warning: pointer targets in passing argument 1 of 'strtol' differ in signedness [-Wpointer-sign] size = strtol((unsigned char *) stream->response, NIL, 16); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:43, from c-client.h:42, from http.c:14: /usr/include/stdlib.h:176:17: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern long int strtol (const char *__restrict __nptr, ^~~~~~ http.c:1221:23: warning: pointer targets in passing argument 2 of 'http_fake' differ in signedness [-Wpointer-sign] http_fake(stream, "Connection to HTTP server closed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:114:6: note: expected 'unsigned char *' but argument is of type 'char *' long http_fake (HTTPSTREAM *, unsigned char *); ^~~~~~~~~ At top level: http.c:21:13: warning: 'http_noparam_val' defined but not used [-Wunused-variable] static char http_noparam_val[] = "\1\2\3\4\5\6\7\10\12\13\14\15\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37\42\134\177"; ^~~~~~~~~~~~~~~~ pop3.c: In function 'pop3_valid': pop3.c:179:24: 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, from pop3.c:31: 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:179:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^~~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:231:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^~~~~~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:231:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:232:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^~~~~~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:232:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c: In function 'pop3_list': pop3.c:247:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^~~~~~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:247:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:252:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^~~~~~~ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:252:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c: In function 'pop3_lsub': pop3.c:278:74: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) ^ misc.h:78:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: pop3.c:278:76: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) ^~~ misc.h:78:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ In file included from env_unix.h:58, from osdep.h:68, from c-client.h:42, from pop3.c:31: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ pop3.c: In function 'pop3_capa': pop3.c:504:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from c-client.h:48, from pop3.c:31: 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:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^~~~~~ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:505:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:505:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^~~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:506:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:506:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^~~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:507:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:507:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^~~~~ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:508:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:508:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:509:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from c-client.h:48, from pop3.c:31: 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:509:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^~~~~~ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:510:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from c-client.h:48, from pop3.c:31: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ pop3.c:510:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^~~~~~~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from c-client.h:48, from pop3.c:31: 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:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^~~~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:520:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^~~~ In file included from c-client.h:48, from pop3.c:31: 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:520:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^~~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from c-client.h:48, from pop3.c:31: 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:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from c-client.h:48, from pop3.c:31: 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:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^~~~~~~~~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:531:54: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from c-client.h:48, from pop3.c:31: 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:531:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:534:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^ In file included from c-client.h:48, from pop3.c:31: 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:534:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^~~~~~ In file included from c-client.h:48, from pop3.c:31: 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_auth': pop3.c:618:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ~~^~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:618:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ~~^~~~~~ In file included from c-client.h:48, from pop3.c:31: 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:825:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41, from pop3.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ pop3.c:826:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from c-client.h:41, from pop3.c:31: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ pop3.c: In function 'pop3_expunge': pop3.c:989:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from c-client.h:41, from pop3.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ pop3.c:990:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : ^~~~~~~~ In file included from c-client.h:41, from pop3.c:31: mail.h:1850: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:889:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = (unsigned char *) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs_get ((size_t) elt->private.msg.header.text.size + 1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (size_t) 1,(size_t) elt->private.msg.header.text.size,f); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'pop3_auth': pop3.c:670:9: warning: 'authsaved' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!authsaved) sprintf (pwd,"Client does not support AUTH=%.80s authenticator",mb->auth); ^ unix.c: In function 'unix_open': unix.c:470:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ~~~~~~^~~~~~~~~ In file included from unix.c:52: 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:470:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from unix.c:52: 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:482:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ unix.c: At top level: unix.c:591:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] STRINGLIST XIMAPbase = {"X-IMAPbase", 10, NIL}; ^~~~~~~~~~~~ unix.c:591:25: note: (near initialization for 'XIMAPbase.text.data') unix.c:591:24: warning: missing braces around initializer [-Wmissing-braces] STRINGLIST XIMAPbase = {"X-IMAPbase", 10, NIL}; ^ { } unix.c:592:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] STRINGLIST XIMAP = {"X-IMAP", 6, &XIMAPbase}; ^~~~~~~~ unix.c:592:25: note: (near initialization for 'XIMAP.text.data') unix.c:592:24: warning: missing braces around initializer [-Wmissing-braces] STRINGLIST XIMAP = {"X-IMAP", 6, &XIMAPbase}; ^ { } unix.c:593:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] STRINGLIST XUID = {"X-UID", 5, &XIMAP}; ^~~~~~~ unix.c:593:25: note: (near initialization for 'XUID.text.data') unix.c:593:24: warning: missing braces around initializer [-Wmissing-braces] STRINGLIST XUID = {"X-UID", 5, &XIMAP}; ^ { } unix.c:594:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] STRINGLIST XKeywords = {"X-Keywords", 10, &XUID}; ^~~~~~~~~~~~ unix.c:594:25: note: (near initialization for 'XKeywords.text.data') unix.c:594:24: warning: missing braces around initializer [-Wmissing-braces] STRINGLIST XKeywords = {"X-Keywords", 10, &XUID}; ^ { } unix.c:595:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] STRINGLIST XStatus = {"X-Status", 8, &XKeywords}; ^~~~~~~~~~ unix.c:595:25: note: (near initialization for 'XStatus.text.data') unix.c:595:24: warning: missing braces around initializer [-Wmissing-braces] STRINGLIST XStatus = {"X-Status", 8, &XKeywords}; ^ { } unix.c:596:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] STRINGLIST Status = {"Status", 6, &XStatus}; ^~~~~~~~ unix.c:596:25: note: (near initialization for 'Status.text.data') unix.c:596:24: warning: missing braces around initializer [-Wmissing-braces] STRINGLIST Status = {"Status", 6, &XStatus}; ^ { } unix.c: In function 'unix_header': unix.c:615:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:629:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c:642:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^ In file included from unix.c:45: mail.h:1794: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:692:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:720:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ unix.c:723:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ unix.c: In function 'unix_ping': unix.c:776:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:778:17: 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: mail.h:1690: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:835:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from unix.c:45: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ unix.c:836:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ In file included from unix.c:45: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ unix.c:841:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^~~ unix.c:849:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ unix.c: In function 'unix_copy': unix.c:891:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from unix.c:45: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ unix.c:892:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from unix.c:45: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ unix.c:898:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52: 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:898:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52: 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:905:21: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:906:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:910:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:911:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:915:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:916:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:925:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:927:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:936:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:937:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:946:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:68, 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:954:32: 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:955:32: 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:956:23: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:68, 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:970:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:996:26: 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: mail.h:1690: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:1040:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52: 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:1040:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from unix.c:52: 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:1082:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from unix.c:45: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ unix.c:1026:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^~~~~~~~~~~ unix.c: In function 'unix_collect_msg': unix.c:1185:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ unix.c: In function 'unix_parse': unix.c:1451:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:1452:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from unix.c:45: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1461:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:1463:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ In file included from unix.c:45: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1475:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ unix.c:1484:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c:1488:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:1490:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from unix.c:45: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1539:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:1540:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from unix.c:45: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1544:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ unix.c:1561:24: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ unix.c:1561:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1561:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ unix.c:1567:52: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ~~~~~~~~~~~~~~~~~~^~~ In file included from unix.c:52: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ unix.c:1615:22: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from osdep.h:44, from unix.c:46: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ unix.c:1615:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1622:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ unix.c:1650:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:1655:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:1675:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from unix.c:45: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:1731:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^~~~~~~~ In file included from unix.c:52: 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:1732:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^~~~~~~~~~ In file included from unix.c:52: 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:1733:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^~~~~~~~~~~~ In file included from unix.c:52: 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:1734:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^~~~~~~ In file included from unix.c:52: 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:1735:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^~~~~~~~ In file included from unix.c:52: 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:1736:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^~~~~~~~~~~~ In file included from unix.c:52: 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:1759:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; ^ unix.c:1785:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c: In function 'unix_rewrite': unix.c:2071:65: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^ unix.c:1951:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:2079:28: 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:1978:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:2087:37: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] size = unix_pseudo (stream,LOCAL->buf); ^ unix.c:1951:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:2107:58: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:1951:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ unix.c:2107:27: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:2124:34: 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:1978:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:2138:24: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:2159:39: 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:1978:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ unix.c:2158:24: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf, ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^~~~~~~~~~ unix.c:2244:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:2245:20: 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: mail.h:1690: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:2266:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ unix.c:2271:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:68, 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:2277:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:2278:38: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c: In function 'mbox_valid': unix.c:2450:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^~~~ In file included from unix.c:52: 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:2450:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^~~~~~~ In file included from unix.c:52: 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:2465:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^~~~~~~ In file included from unix.c:52: 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:2465:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^~~~~~~ In file included from unix.c:52: 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:2593:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:2595:15: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:2607:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:2608:17: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:2614:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:2616:17: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ unix.c:2632:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ unix.c:2637:24: 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: mail.h:1690: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:521:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^~~~~~~~~~~~~~~~ unix.c: In function 'unix_header': unix.c:619:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:629:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:696:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_copy': unix.c:945:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:971:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_append': unix.c:1141:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:2128:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2228:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2274:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2600:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (sfd,s = (char *) fs_get (size + 1),size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2610:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2618:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2629:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1738:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:873, from unix.c:40: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_isvalid': mbx.c:308:61: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^~~~ In file included from mbx.c:46: 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:308:66: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^~~~~~~ In file included from mbx.c:46: 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:507:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^~~ In file included from mbx.c:46: 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:507:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^~~~~~~ In file included from mbx.c:46: 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:588:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mbx.c:591:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ~~~~~~^~~~~~~~~ In file included from mbx.c:46: 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:591:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mbx.c:46: 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:678:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mbx.c:41: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:679:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mbx.c:41: mail.h:1850: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:707:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mbx.c:710:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_text': mbx.c:747:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mbx.c: In function 'mbx_ping': mbx.c:857:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:858:17: 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: mail.h:1690: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:890:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mbx.c:41: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:891:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) { ^~~~~~~~ In file included from mbx.c:41: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mbx.c:897:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:898:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:901:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:902:20: 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: mail.h:1690: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:941:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mbx.c:41: mail.h:1782:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mbx.c:942:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:942:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:948:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:948:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:68, 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:964:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:965:15: 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: mail.h:1690: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:1000:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mbx.c:41: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mbx.c:1001:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from mbx.c:41: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mbx.c:1010:21: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1011:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:1015:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1016:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:1020:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1021:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:1033:22: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date(LOCAL->buf,elt);/* build target header */ ^ In file included from mbx.c:41: mail.h:1782:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mbx.c:1038:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46: 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:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46: 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:1039:39: 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:44, from mbx.c:42: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:1039:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1045:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { ^ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:1045:34: 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)) != 0L) { ^ In file included from osdep.h:68, 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:1048:25: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = write (fd,LOCAL->buf,j) >= 0; ^ In file included from osdep.h:68, 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:1059:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1060:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mbx.c:1066:19: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1067:20: 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:68, 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:1124:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mbx.c:46: 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:1124:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mbx.c:46: 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:1166:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mbx.c:41: mail.h:1784: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:1275:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1278:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf + 15,NIL,16); ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1282:41: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1282:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1285:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) ^ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mbx.c:1286:39: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] stream->user_flags[i] = cpystr (s); ^ In file included from mbx.c:46: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ mbx.c:1296:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1313:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1313:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1322:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1322:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1322:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ~^~ In file included from osdep.h:44, from mbx.c:42: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mbx.c:1322:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1352:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1370:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (t+13,NIL,16)) && ~^~~ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1386:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { ~^~ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1420:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (t,NIL,16); ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c: In function 'mbx_read_flags': mbx.c:1502:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1504:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:70, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1511:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1512:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:70, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1516:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1519:22: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:70, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1523:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf+9,NIL,16); ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1532:40: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c: In function 'mbx_update_header': mbx.c:83:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1548:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->buf; ^~~~~ mbx.c:1559:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1563:37: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, ^ In file included from osdep.h:68, 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:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1588:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:70, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1595:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1596:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:70, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1600:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1603:24: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:70, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mbx.c:1608:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^ In file included from osdep.h:43, from mbx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mbx.c:1606:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mbx.c:1616:33: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^ In file included from osdep.h:68, 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:1664:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1671:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1681:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ ^ mbx.c: In function 'mbx_rewrite': mbx.c:1762:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:68, from mbx.c:42: env_unix.h:86:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^~~~~~~~~~ mbx.c: In function 'mbx_header': mbx.c:710:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,*length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:966:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:1047:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1061:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1196:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1270:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,HDRSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1758:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1782:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:609:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ~~~~~~^~~~~~~~~ In file included from mmdf.c:39: 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:609:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mmdf.c:39: 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:621:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mmdf.c: In function 'mmdf_header': mmdf.c:767:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:781:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c:794:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^ In file included from mmdf.c:33: mail.h:1794: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:844:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:872:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ mmdf.c:875:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ mmdf.c: In function 'mmdf_ping': mmdf.c:928:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:930:17: 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: mail.h:1690: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:987:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mmdf.c:33: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mmdf.c:988:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ In file included from mmdf.c:33: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mmdf.c:993:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^~~ mmdf.c:1001:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1040:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mmdf.c:33: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mmdf.c:1041:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from mmdf.c:33: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mmdf.c:1046:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39: 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:1046:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39: 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:1053:21: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1054:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1058:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1059:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1063:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1064:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1073:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1075:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1084:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1085:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1094:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:68, 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:1102:32: 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:1103:32: 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:1104:23: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:68, 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:1119:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1145:26: 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: mail.h:1690: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:1190:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39: 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:1190:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ In file included from mmdf.c:39: 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:1232:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mmdf.c:33: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mmdf.c:1175:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^~~~~~~~~~~ mmdf.c: In function 'mmdf_collect_msg': mmdf.c:1334:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ mmdf.c: In function 'mmdf_parse': mmdf.c:1593:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1594:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from mmdf.c:33: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1603:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1605:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ In file included from mmdf.c:33: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1617:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mmdf.c:1626:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1630:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1636:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1641:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ In file included from mmdf.c:33: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1658:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1694:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1695:14: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from mmdf.c:33: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1712:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1738:24: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ mmdf.c:1738:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1738:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mmdf.c:1744:52: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ~~~~~~~~~~~~~~~~~~^~~ In file included from mmdf.c:39: misc.h:107:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^~~~~~~~~~~~~~~~~~ mmdf.c:1792:22: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from osdep.h:44, from mmdf.c:34: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ mmdf.c:1792:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1799:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ mmdf.c:1827:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1832:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:1852:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ In file included from mmdf.c:33: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c:1908:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^~~~~~~~ In file included from mmdf.c:39: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1909:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^~~~~~~~~~ In file included from mmdf.c:39: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1910:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^~~~~~~~~~~~ In file included from mmdf.c:39: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1911:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^~~~~~~ In file included from mmdf.c:39: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mmdf.c:1912:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^~~~~~~~ In file included from mmdf.c:39: 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:1913:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^~~~~~~~~~~~ In file included from mmdf.c:39: 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:1936:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; ^ mmdf.c:1960:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1985:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2247:65: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^ mmdf.c:2127:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:2255:28: 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:2154:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:2263:37: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] size = mmdf_pseudo (stream,LOCAL->buf); ^ mmdf.c:2127:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:2283:58: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:2127:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^~~~~~~~~~~ mmdf.c:2283:27: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:2300:34: 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:2154:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:2314:24: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:2335:39: 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:2154:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^~~~~~~~~~~~ mmdf.c:2334:24: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf, ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^~~~~~~~~~ mmdf.c:2403:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:2404:20: 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: mail.h:1690: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:2425:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ mmdf.c:2430:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:68, 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:2436:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mmdf.c:2437:38: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mmdf.c: In function 'mmdf_open': mmdf.c:660:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:771:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:781:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ elt->private.msg.header.text.size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:848:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_copy': mmdf.c:1093:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1120:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1290:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2304:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2387:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2433:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_parse': mmdf.c:1915:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf (err,"Discarding bogus %s header in message %lu", ^~ (char *) tmp,elt->msgno); ~~~ In file included from /usr/include/stdio.h:873, from mmdf.c:28: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_isvalid': tenex.c:212:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~ In file included from tenex.c:49: 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:212:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~~~~ In file included from tenex.c:49: 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:354:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~ In file included from tenex.c:49: 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:354:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ In file included from tenex.c:49: 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:431:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ tenex.c:437:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ~~~~~~^~~~~~~~~ In file included from tenex.c:49: 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:437:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from tenex.c:49: 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:504:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:505:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from tenex.c:46: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:515:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); ^ tenex.c: In function 'tenex_flags': tenex.c:542:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:543:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from tenex.c:46: mail.h:1850: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:568:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:578:54: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); ^ In file included from osdep.h:71, 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:613:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:636:50: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); ^ In file included from osdep.h:71, 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:778:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from tenex.c:46: mail.h:1782:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ tenex.c:779:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ tenex.c:779:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:785:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ tenex.c:785:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:68, 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:801:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:802:15: 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: mail.h:1690: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:837:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:838:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^~~~~~~~ In file included from tenex.c:46: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:899:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:68, 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:915:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:918:17: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:922:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:924:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from tenex.c:46: mail.h:1690: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:965:36: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ tenex.c:177:5: note: expected 'char *' but argument is of type 'unsigned char *' int tenex_isvalid (char *name,char *tmp) ^~~~~~~~~~~~~ tenex.c:972:19: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:973:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:977:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:978:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:982:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:983:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:986:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from tenex.c:46: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ tenex.c:987:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from tenex.c:46: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ tenex.c:990:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:991:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ tenex.c:1013:21: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:68, 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:1018:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:1019:18: 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: mail.h:1690: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:1076:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ In file included from tenex.c:49: 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:1076:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ In file included from tenex.c:49: 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:1126:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from tenex.c:46: mail.h:1784: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:1248:28: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ tenex.c:1248:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1257:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ tenex.c:1257:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1257:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ~^~ In file included from osdep.h:44, from tenex.c:47: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ tenex.c:1257:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1280:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ tenex.c:1304:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ tenex.c: In function 'tenex_read_flags': tenex.c:1382:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:1383:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:70, from tenex.c:47: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ tenex.c:1391:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:43, from tenex.c:47: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ tenex.c: In function 'tenex_update_status': tenex.c:1417:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ tenex.c:1425:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:68, 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:1460:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ tenex.c: In function 'tenex_fast': tenex.c:520:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:571:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length = i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:576:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:618:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:633:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:803:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:894:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:921:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:1012:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1020:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_append': tenex.c:1154:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1460:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_isvalid': mtx.c:205:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~ In file included from mtx.c:46: 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:205:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~~~~ In file included from mtx.c:46: 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:345:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~ In file included from mtx.c:46: 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:345:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ In file included from mtx.c:46: 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:423:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mtx.c:426:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ~~~~~~^~~~~~~~~ In file included from mtx.c:46: 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:426:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mtx.c:46: 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:489:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mtx.c:41: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:490:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mtx.c:41: mail.h:1850: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:513:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mtx.c: In function 'mtx_text': mtx.c:548:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mtx.c: In function 'mtx_snarf': mtx.c:687:20: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mtx.c:41: mail.h:1782:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^~~~~~~~~ mtx.c:688:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mtx.c:688:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:694:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mtx.c:694:31: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:68, 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:710:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:711:15: 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: mail.h:1690: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:746:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mtx.c:41: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:747:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^~~~~~~~ In file included from mtx.c:41: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mtx.c:808:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:68, 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:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:826:17: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:830:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:832:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mtx.c:41: mail.h:1690: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:873:34: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ mtx.c:170:5: note: expected 'char *' but argument is of type 'unsigned char *' int mtx_isvalid (char *name,char *tmp) ^~~~~~~~~~~ mtx.c:880:19: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:881:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:885:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:886:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:890:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:891:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:894:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mtx.c:41: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mtx.c:895:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ In file included from mtx.c:41: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mtx.c:898:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:899:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mtx.c:921:21: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:68, 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:926:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:927:18: 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: mail.h:1690: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:984:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ In file included from mtx.c:46: 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:984:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ In file included from mtx.c:46: 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:1034:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mtx.c:41: mail.h:1784: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:1134:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mtx.c:1134:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1143:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mtx.c:1143:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1143:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ~^~ In file included from osdep.h:44, from mtx.c:42: /usr/include/string.h:225:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strchr (const char *__s, int __c) ^~~~~~ mtx.c:1143:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1166:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && ^ In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mtx.c:1190:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mtx.c: In function 'mtx_read_flags': mtx.c:1268:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:1269:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:70, from mtx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^~~~~ mtx.c:1277:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:43, from mtx.c:42: /usr/include/stdlib.h:180:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^~~~~~~ mtx.c: In function 'mtx_update_status': mtx.c:1303:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mtx.c:1311:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:68, 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:517:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:712:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:803:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:829:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:920:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:928:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_append': mtx.c:1055:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:238:24: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:238:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~~~~ In file included from env_unix.h:58, from osdep.h:68, 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:241:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:241:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ In file included from env_unix.h:58, from osdep.h:68, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ news.c: In function 'news_open': news.c:371:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~ In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:371:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~~ In file included from osdep.h:47, from news.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_fast': news.c:457:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from news.c:34: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ news.c:458:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from news.c:34: mail.h:1850: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:475:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from news.c:34: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ news.c:475:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ In file included from news.c:34: mail.h:1850: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:496:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from news.c:30: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ news.c:501:25: 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:328, from osdep.h:49, from news.c:35: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ news.c:505:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ news.c: In function 'news_valid': news.c:162:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:229:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phile.c: In function 'phile_open': phile.c:306:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ phile.c:328:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); ^ In file included from osdep.h:71, 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:318:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_isvalid': mh.c:191:44: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^~~~ In file included from mh.c:36: 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:49: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^~~~~~~ In file included from mh.c:36: 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:192:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^~~~ In file included from mh.c:36: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ mh.c:192:30: note: in expansion of macro 'MHINBOX' !compare_cstring (name,MHINBOX) || ^~~~~~~ In file included from mh.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); ^~~~~~~~~~~~~~~ mh.c:196:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^~~~ In file included from mh.c:36: 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:196:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^~~~~~~ In file included from mh.c:36: 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:257:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^ In file included from mh.c:36: 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:257:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^~~~~~~ In file included from mh.c:36: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_scan': mh.c:375:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^~~~ In file included from mh.c:36: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ mh.c:375:32: note: in expansion of macro 'MHINBOX' if (!compare_cstring (test,MHINBOX)) ^~~~~~~ In file included from mh.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); ^~~~~~~~~~~~~~~ mh.c: In function 'mh_lsub': mh.c:404:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:58, from osdep.h:68, 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:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^~~~ In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ mh.c: In function 'mh_list_work': mh.c:436:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:436:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^~~ In file included from env_unix.h:58, from osdep.h:68, 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:438:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^~~~ In file included from env_unix.h:58, from osdep.h:68, 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:438:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^~~ In file included from env_unix.h:58, from osdep.h:68, from mh.c:32: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ mh.c: In function 'mh_open': mh.c:588:30: 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: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ mh.c:588:40: note: in expansion of macro 'MHINBOX' (!compare_cstring (stream->mailbox,MHINBOX) || ^~~~~~~ In file included from mh.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); ^~~~~~~~~~~~~~~ mh.c:593:30: 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: 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:593:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^~~~~~~ In file included from mh.c:36: 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:639:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mh.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:640:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mh.c:31: mail.h:1850: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:663:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mh.c:668:25: 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:328, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:672:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_ping': mh.c:863:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~ In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:863:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~~ In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:900:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mh.c:903:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^ In file included from /usr/include/fcntl.h:328, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:927:21: 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:935:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:45, from mh.c:32: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mh.c: In function 'mh_expunge': mh.c:982:30: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mh.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:983:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) { ^~~~~~~~ In file included from mh.c:31: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mh.c:988:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mh.c:989:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:45, from mh.c:32: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mh.c:990:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mh.c:992:17: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mh.c:1010:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mh.c:1011:20: 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: mail.h:1690: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:1042:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mh.c:31: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mh.c:1043:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) ^~~~~~~~ In file included from mh.c:31: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mh.c:1046:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:27: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mh.c:1047:23: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^ In file included from /usr/include/fcntl.h:328, from osdep.h:49, from mh.c:32: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mh.c:1059:10: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_append': mh.c:1107:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^~~~~~~ In file included from mh.c:36: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ mh.c:1107:38: note: in expansion of macro 'MHINBOX' if (!((!compare_cstring (mailbox,MHINBOX) || ^~~~~~~ In file included from mh.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); ^~~~~~~~~~~~~~~ mh.c:1108:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^~~~~~~ In file included from mh.c:36: 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:1108:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^~~~~~~ In file included from mh.c:36: 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:1129:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~ In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1129:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~~ In file included from osdep.h:47, from mh.c:32: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:1147:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ In file included from mh.c:31: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mh.c:1100:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] long i,size,last,nfiles; ^~~~ mh.c: In function 'mh_file': mh.c:1229:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~ In file included from mh.c:36: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mh.c:43:17: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ mh.c:1229:30: note: in expansion of macro 'MHINBOX' if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~~~~ In file included from mh.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); ^~~~~~~~~~~~~~~ mh.c:1229:60: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~ In file included from mh.c:36: 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:1229:65: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~~~~ In file included from mh.c:36: 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:249:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_isvalid': mx.c:187:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^~~~ In file included from mx.c:39: 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:187:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^~~~~~~ In file included from mx.c:39: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ mx.c: In function 'mx_scan_contents': mx.c:278:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^~~~~~~~~ In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:278:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^~~~~~~~~~ In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_create': mx.c:349:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^~ mx.c: In function 'mx_rename': mx.c:440:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~ In file included from mx.c:39: 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:440:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~~~~~ In file included from mx.c:39: 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:463:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:463:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~~ In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_open': mx.c:519:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ~~~~~~^~~~~~~~~ In file included from mx.c:39: 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:519:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mx.c:39: 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:525:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mx.c: In function 'mx_fast': mx.c:574:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mx.c:34: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:575:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from mx.c:34: mail.h:1850: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:592:17: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mx.c:594:40: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ mx.c: In function 'mx_header': mx.c:634:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ mx.c:649:48: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^ In file included from mx.c:39: 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:650:51: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^ In file included from mx.c:39: 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:732:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:732:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~~ In file included from osdep.h:47, from mx.c:35: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:768:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mx.c:771:24: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^ In file included from /usr/include/fcntl.h:328, from osdep.h:49, from mx.c:35: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mx.c:795:21: 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:802:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:45, from mx.c:35: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mx.c: In function 'mx_expunge': mx.c:849:31: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mx.c:34: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:850:27: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ In file included from mx.c:34: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mx.c:856:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mx.c:857:19: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:45, from mx.c:35: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mx.c:858:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mx.c:860:17: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mx.c:876:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mx.c:877:20: 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: mail.h:1690: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:914:19: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mx.c:915:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mx.c:922:63: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mx.c:34: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mx.c:923:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^~~~~~~~ In file included from mx.c:34: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mx.c:945:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mx.c:905: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:1004:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^~~~~~~ In file included from mx.c:39: 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:1004:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^~~~~~~ In file included from mx.c:39: 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:1039:54: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^~~~ In file included from mx.c:34: mail.h:1784: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_header': mx.c:637:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,elt->rfc822_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1178:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_unlockindex': mx.c:1270:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,size); ^~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_scan_contents': mix.c:323:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^~~~~~~~~~ In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:323:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^~~~~~~~~~~~ In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_rename': mix.c:528:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~ In file included from mix.c:35: 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:528:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~~~~~ In file included from mix.c:35: 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:555:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); ^~~~~~~~~~~ In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_open': mix.c:607:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ~~~~~~^~~~~~~~~ In file included from mix.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); ^~~~~~~~~~~~~~~ mix.c:607:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ In file included from mix.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); ^~~~~~~~~~~~~~~ mix.c:609:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mix.c:612:17: 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:614:34: 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: misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ mix.c:617:40: 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:620:40: 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:628:43: 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:629:44: 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:47: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox, ^ mix.c:164:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^~~~~~~~ mix.c: In function 'mix_header': mix.c:719:51: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, ^ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:731:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); ^ mix.c:736:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:139: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:753:28: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; ^ In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strpbrk (const char *__s, const char *__accept) ^~~~~~~ mix.c:710:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^~ mix.c: In function 'mix_text': mix.c:782:51: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, ^ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:806:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mix.c:773:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i; ^ mix.c: In function 'mix_flag': mix.c:831:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mix.c:30: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mix.c:832:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^~~~~~~~ In file included from mix.c:30: mail.h:1850: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:974:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:975:15: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:928:15: warning: unused variable 'sfd' [-Wunused-variable] int mfd,ifd,sfd; ^~~ mix.c:928:11: warning: unused variable 'ifd' [-Wunused-variable] int mfd,ifd,sfd; ^~~ mix.c:928:7: warning: unused variable 'mfd' [-Wunused-variable] int mfd,ifd,sfd; ^~~ mix.c: In function 'mix_expunge': mix.c:1034:29: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mix.c:30: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mix.c:1035:25: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) || stream->rdonly); ^~~~~~~~ In file included from mix.c:30: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mix.c:1053:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~ In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1053:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~~~ In file included from osdep.h:47, from mix.c:31: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int (*__cmp) (const struct dirent **, ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ const struct dirent **)) ~~~~~~~~~~~~~~~~~~~~~~~ mix.c:1086:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't locate mix message file %.08lx", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1088:19: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1097:35: 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:1099:24: 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:45, from mix.c:31: /usr/include/unistd.h:991:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^~~~~~~~ mix.c:1099:48: 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:45, from mix.c:31: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ mix.c:1100:22: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1103:21: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1136:26: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); ^ mix.c:1138:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ mix.c:1025:11: warning: unused variable 'sfd' [-Wunused-variable] int ifd,sfd; ^~~ mix.c:1025:7: warning: unused variable 'ifd' [-Wunused-variable] int ifd,sfd; ^~~ mix.c: In function 'mix_burp': mix.c:1228:23: 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:1232:20: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^~~~~ mix.c:1233:21: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1234:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1237:59: 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:1241:39: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] else if ((ret = !truncate (LOCAL->buf,burp->set.last)) != 0L) ^ In file included from osdep.h:45, from mix.c:31: /usr/include/unistd.h:991:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^~~~~~~~ mix.c:1244:16: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1245:15: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1250:30: 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:328, from osdep.h:49, from mix.c:31: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^~~~ mix.c:1252:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1254:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1258:19: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1259:18: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1264:57: 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:1269:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:139: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:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Bad message token in mix message file at %lu", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1272:15: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:1312:21: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1313:20: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c: In function 'mix_copy': mix.c:1362:40: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign] long ret = mix_isvalid (mailbox,LOCAL->buf); ^ mix.c:235:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_isvalid (char *name,char *meta) ^~~~~~~~~~~ mix.c:1380:68: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from mix.c:30: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ mix.c:1381:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^~~~~~~~ In file included from mix.c:30: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ mix.c:1398:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, ~~~~~^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1400:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ~~~~~^~~~~ In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:1409:44: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if ((msgf = mix_data_open (astream,&fd,&size,newsize)) != NULL) { ^~~~~ mix.c:157:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^~~~~~~~~~~~~ mix.c:1421:52: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf, ^ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:1433:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mix.c:1411: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:1525:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((ret = compare_cstring (mailbox,"INBOX") ? ^~~~~~~ In file included from mix.c:35: 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:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((ret = compare_cstring (mailbox,"INBOX") ? ^~~~~~~ In file included from mix.c:35: 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:1556:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, ~~~~~^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:1558:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ~~~~~^~~~~ In file included from osdep.h:44, from mix.c:31: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:1562:46: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if ((msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) != NULL){ ^~~~~ mix.c:157:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^~~~~~~~~~~~~ mix.c:1570:51: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^~~~ In file included from mix.c:30: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ mix.c:1577:30: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,tmp); ^~~ In file included from mix.c:30: mail.h:1784: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:1639:26: warning: unused variable 'hoff' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^~~~ mix.c:1639:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^ mix.c: In function 'mix_parse': mix.c:1832:47: 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:36: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] if (stat (mix_file_data (LOCAL->buf,stream->mailbox, ^ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c:2056:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:2059:15: 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: mail.h:1690:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^~~~~~ mix.c:2069:48: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen, ^ mix.c:161:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_slurp': mix.c:2165:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ mix.c:2170:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' 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:2205:19: 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:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:2206:40: 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:44, from mix.c:31: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:2206:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mix.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ mix.c:2208:61: 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:44, from mix.c:31: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ mix.c:2209:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { ^ mix.c:2223:35: 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:68, 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:2418:40: 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:12: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] (LOCAL->buf,stream->mailbox, ^ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_open': mix.c:2500:49: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen, ^ mix.c:161:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^~~~~~~~~~~~~~~ mix.c:2599:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) ^ mix.c:2611:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] for (s = LOCAL->buf,sl = NIL, ^ mix.c:2619:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] sl->text.data = cpystr (s); ^ mix.c: In function 'mix_copy': mix.c:1483:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert file */ ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_append': mix.c:1601:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert all writes to file*/ ^~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_meta_update': mix.c:2224:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->mfd,i); /* and tie off at that point */ ^~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_index_update': mix.c:2272:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (idxf),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2305:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (idxf),ftell (idxf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_status_update': mix.c:2353:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (statf),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2387:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (statf),ftell (statf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_update': mix.c:2731:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (f),ftell (f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c: In function 'mix_sortcache_open': mix.c:2674:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] else fchmod (fd,sbuf.st_mode); ^~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_file_path': maildir.c:272:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^~~~~~~~~~~~~~~~~~~ In file included from maildir.c:20: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ maildir.c:272:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:139: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:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^~~~~~~~~~~~~~~~~~~ In file included from maildir.c:20: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ maildir.c:274:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:139: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:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^~~~~~~~~~~~~~~~~~~ In file included from maildir.c:20: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ maildir.c:276:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] strncmp (ucase (strcpy (tmp, rname)), "INBOX", 5) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ maildir.c: In function 'maildir_fast': maildir.c:315:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from maildir.c:13: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ maildir.c:316:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ In file included from maildir.c:13: mail.h:1850: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 from 'char *' to 'unsigned char *' 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 from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ maildir.c:913:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ maildir.c:920:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] for (s = LOCAL->buf; SIZE (&bs);) switch (CHR (&bs)) { ^ maildir.c:934:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; maildir.c: In function 'maildir_header': maildir.c:1059:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ maildir.c:1069:56: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s, ^ In file included from osdep.h:71, from maildir.c:17: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ maildir.c:1076:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return LOCAL->buf; In file included from maildir.c:22: maildir.c: In function 'maildir_list': maildir.h:62:5: warning: the address of 'test' will always evaluate as 'true' [-Waddress] (((t) && (t)[0] == '#' && ((t)[1] == 'm' || (t)[1] == 'M')\ ^ maildir.c:1111:10: note: in expansion of macro 'IS_COURIER' if(IS_COURIER(test)) ^~~~~~~~~~ maildir.c:1117:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MD/INBOX")) ^~~~ In file included from maildir.c:20: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c:1117:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MD/INBOX")) ^~~~~~~~~~~ In file included from maildir.c:20: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c:1119:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MC/INBOX")) ^~~~ In file included from maildir.c:20: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c:1119:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,"#MC/INBOX")) ^~~~~~~~~~~ In file included from maildir.c:20: misc.h:106:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^~~~~~~~~~~~~~~ maildir.c: In function 'maildir_expunge': maildir.c:1323:52: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ In file included from maildir.c:13: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ maildir.c:1324:48: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT; ^~~~~~~~ In file included from maildir.c:13: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ maildir.c: In function 'maildir_copy': maildir.c:1371:55: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream, sequence) : ^~~~~~~~ In file included from maildir.c:13: mail.h:1851:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~~~~~ maildir.c:1372:26: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) ^~~~~~~~ In file included from maildir.c:13: mail.h:1850:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^~~~~~~~~~~~~ maildir.c:1376:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (((fd = open (path,O_RDONLY,NIL)) < 0) ^~ maildir.c:1380:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(!elt->rfc822_size) ^~ maildir.c:1386:48: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] len = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen, s, MDSIZE(elt)); ^ In file included from osdep.h:71, from maildir.c:17: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^~~~~~~~~~ maildir.c: In function 'maildir_append': maildir.c:1449:39: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (date && !mail_parse_date(&elt,date)){ ^~~~ In file included from maildir.c:13: mail.h:1784:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^~~~~~~~~~~~~~~ maildir.c: In function 'maildir_lsub': maildir.c:1721:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); ^ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1721:28: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s, test, '/')) mm_lsub (stream, '/', s, NIL); ^~~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c: In function 'maildir_list_work': maildir.c:1782:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if(pmatch_full (tmp, pat,'/')){ ^~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1782:25: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if(pmatch_full (tmp, pat,'/')){ ^~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1799:20: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if(dmatch (tmp, pat,'/') && ^~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ maildir.c:1799:25: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if(dmatch (tmp, pat,'/') && ^~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~ maildir.c: In function 'courier_list_work': maildir.c:1862:18: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) ^~ maildir.c:1862:41: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) ^~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1862:46: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (level == 0 && tmp && pmatch_full (tmp, realpat, '.')) ^~~~~~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1868:33: 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, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c:1868:41: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if(pmatch_full (cdir->data[i]->name, pat, '.')){ ^~~ In file included from env_unix.h:58, from osdep.h:68, from maildir.c:17: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^~~~~~~~~~~ maildir.c: In function 'maildir_dir_is_empty': maildir.c:2159:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s = strrchr(tmp2, '/')) ^ maildir.c: In function 'courier_list_dir': maildir.c:2369:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^~~ In file included from maildir.c:20: misc.h:82:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^~~~~ maildir.c:2369:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(!strncmp(ucase(tmp), "INBOX", 5)) ^~~~~~~~~~ In file included from osdep.h:44, from maildir.c:17: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ maildir.c: In function 'courier_list_info': maildir.c:2415:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ maildir.c:2417:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' cdir->data[i]->attribute += maildir_any_new_msgs(cdir->data[i]->name) ^~~~ maildir.c: In function 'maildir_can_assign_uid': maildir.c:2479:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(tmp, "w")){ ^~ maildir.c:2435:44: warning: unused variable 'p' [-Wunused-variable] char tmp[MAILTMPLEN], tmp2[MAILTMPLEN], *p, *s; ^ maildir.c:2434:17: warning: unused variable 't' [-Wunused-variable] unsigned long t; ^ maildir.c: In function 'maildir_write_uid': maildir.c:2581:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(fp = fopen(tmp, "w")) ^~ maildir.c: In function 'maildir_delete_uid': maildir.c:2612:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s = strstr(MDFILE(elt), MDUIDSEP)){ ^ maildir.c: In function 'maildir_assign_uid': maildir.c:2629:18: warning: unused variable 'deleteuid' [-Wunused-variable] int createuid, deleteuid = 0; ^~~~~~~~~ maildir.c:2629:7: warning: unused variable 'createuid' [-Wunused-variable] int createuid, deleteuid = 0; ^~~~~~~~~ maildir.c: In function 'maildir_text_work': maildir.c:907:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_parse_message': maildir.c:962:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,MDSIZE(elt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_header': maildir.c:1062:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd, (void *)LOCAL->buf, elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1067:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd, (void *)s, elt->private.msg.header.text.size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_copy': maildir.c:1383:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,s,MDSIZE(elt)); ^~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_append': maildir.c:1472:45: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 980 and 1010 [-Wformat-truncation=] snprintf (file, sizeof(file), "%lu.%d_%09u.%s%s%s%s%s%s", ^~ ti, mypid, transact++, mdlocaldomain, (f ? MDSEP(2) : ""), ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 1039) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from maildir.c:22: maildir.h:42:48: warning: '/' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] #define MSGPATH(tmp, dir, msg,i) sprintf((tmp),"%s/%s/%s", (dir), mdstruct[(i)],(msg)) ^~~~~~~~~~ maildir.c:1478:5: note: in expansion of macro 'MSGPATH' MSGPATH(path1, tmp, file, Tmp); ^~~~~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 2049) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from maildir.c:22: maildir.h:42:48: warning: '/' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] #define MSGPATH(tmp, dir, msg,i) sprintf((tmp),"%s/%s/%s", (dir), mdstruct[(i)],(msg)) ^~~~~~~~~~ maildir.c:1481:5: note: in expansion of macro 'MSGPATH' MSGPATH(path2, tmp, file, New); /* copy in NEW */ ^~~~~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 2049) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_create_folder': maildir.c:1168:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] snprintf (err, sizeof(err), "Can't create %s: %s", tmp, strerror(errno)); ^~ ~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 1039) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_create_work': maildir.c:1236:37: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(tmp2, sizeof(tmp2), "%s%s", tmp, MDDIR); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1238:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] snprintf (err, sizeof(err), "Problem creating %s: %s", tmp2, strerror(errno)); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 1043) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_contains_folder': maildir.c:2118:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s/%s", tmp2, d->d_name); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_dir_is_empty': maildir.c:2168:40: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s/%s", tmp2, d->d_name); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:2178:38: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s/%s", tmp2, d->d_name); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_flagmsg': maildir.c:1288:45: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf (oldfile,sizeof(oldfile),"%s/%s", LOCAL->path[Cur], fn); ^ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1294:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf (newfile, sizeof(newfile), "%s/%s",LOCAL->path[Cur],fn); ^ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_list_work': maildir.c:1779:44: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] if (dir) snprintf (tmp, sizeof(tmp), "%s%s", name,d->d_name); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 1279 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1787:49: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] if (dir) snprintf (tmp, sizeof(tmp), "%s%s", name,d->d_name); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 1279 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'courier_list_work': maildir.c:1859:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(curdir, sizeof(curdir), "%s%s%s/%s", (dir ? "" : myrootdir(pat)), (dir ? "" : "/"), ^ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from maildir.c:22: maildir.c: In function 'maildir_delete': maildir.h:41:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define MDFLD(tmp, dir, i) sprintf((tmp),"%s/%s", (dir), mdstruct[(i)]) ^~~~~~~ maildir.c:1586:7: note: in expansion of macro 'MDFLD' MDFLD(tmp, realname, i); ^~~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1629:36: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s/%s", realname, d->d_name); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1617:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1011 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "Can not read %s/: %s", realname, strerror(errno)); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 1040) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1596:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(tmp2, sizeof(tmp2), "%s/%s", tmp, d->d_name); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1567:37: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s/%s", realname, MDDIR); ^~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 1030 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:1573:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1009 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "Can not remove %s/%s: %s", tmp2, MDDIR, strerror(errno)); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 24 or more bytes (assuming 1047) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c: In function 'maildir_parse_dir': maildir.c:695:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(newfile, sizeof(newfile), "%s/%s", LOCAL->path[Cur], tmp); ^ In file included from /usr/include/stdio.h:873, from maildir.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/make all-recursive Making all in m4 make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_h_gen.o help_h_gen.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help_c_gen.o help_c_gen.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -o help_h_gen help_h_gen.o libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -o help_h_gen help_h_gen.o -L/usr/lib -pthread make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' ./help_h_gen < pine.hlp > helptext.h make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/lib -Wl,-z,relro -o help_c_gen help_c_gen.o libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-z -Wl,relro -o help_c_gen help_c_gen.o -L/usr/lib -pthread make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' ./help_c_gen < pine.hlp > helptext.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' /usr/bin/make all-recursive Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canonicl.o canonicl.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o coredump.o coredump.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldpath.o bldpath.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o canaccess.o canaccess.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o domnames.o domnames.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o creatdir.o creatdir.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o err_desc.o err_desc.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fgetpos.o fgetpos.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o debugtime.o debugtime.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ debugtime.c: In function 'debug_time': debugtime.c:57:44: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); ^~ debugtime.c:57:42: note: directive argument in the range [-2147483647, 2147483647] snprintf(datestr, sizeof(datestr), " %d/%d", tm_now->tm_mon+1, tm_now->tm_mday); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from debugtime.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 25 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o collate.o collate.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesize.o filesize.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hostname.o hostname.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fnexpand.o fnexpand.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rename.o rename.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedisp.o mimedisp.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pw_stuff.o pw_stuff.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o lstcmpnt.o lstcmpnt.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o writ_dir.o writ_dir.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' pipe.c: In function 'open_system_pipe': pipe.c:323:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); /* alloc pipe to write child */ ^~~~~~~ pipe.c:329:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(p); /* alloc pipe to read child */ ^~~~~~~ At top level: pipe.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: pipe.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; ^~~~~ pipe.c: In function 'pipe_error_msg': pipe.c:486:37: warning: '%.256s' directive output may be truncated writing up to 256 bytes into a region of size 245 [-Wformat-truncation=] snprintf(ebuf, 256, "Pipe can't %.256s \"%.32sb\": %.223s", ^~~~~~ In file included from /usr/include/stdio.h:873, from ../../include/system.h:31, from pipe.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 529 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o temp_nam.o temp_nam.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' temp_nam.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: temp_nam.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ temp_nam.c: In function 'temp_nam_ext': temp_nam.c:328:44: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] if(prefix && (ll = strlen(prefix)) && l+ll < MAXPATH){ ~^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' color.c: In function 'word_is_prog': color.c:206:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = 0; rv == 0 && list1[i] && (k = strlen(list1[i])) && k < j; i++) ^~~ color.c:210:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(rv) ^~ color.c: In function 'qs_add': color.c:242:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ color.c: In function 'qs_remove_trailing_spaces': color.c:300:14: warning: unused variable 'rl' [-Wunused-variable] QSTRING_S *rl = cl; ^~ color.c: In function 'fix_qstring': color.c:436:47: warning: unused variable 'pqstring' [-Wunused-variable] QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; ^~~~~~~~ color.c:436:31: warning: unused variable 'nqstring' [-Wunused-variable] QSTRING_S *cqstring = cl, *nqstring = nl, *pqstring = pl; ^~~~~~~~ color.c: In function 'is_quote': color.c:787:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = i; (is_cletter(nxt = next(word,j)) || is_cnumber(nxt)) ^~~ color.c:799:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (isaword(word,i,j) || isamailbox(word,i,j)){ ^~ color.c: In function 'isaword': color.c:847:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return i <= j && is_cletter(word[i]) ? ^ color.c: In function 'do_raw_quote_match': color.c:947:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (pl && value_is_space(pbuf)) && !PLine[strlen(pbuf)]) ? 1 : 0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ color.c:929:39: warning: unused variable 'buf' [-Wunused-variable] char nbuf[NSTRING], pbuf[NSTRING], buf[NSTRING]; ^~~ color.c: In function 'do_quote_match': color.c:1026:11: warning: the address of 'buf' will always evaluate as 'true' [-Waddress] c = buf && buf[0] ? strlen(buf) : 0; ^~~ color.c:1027:10: warning: the address of 'nbuf' will always evaluate as 'true' [-Waddress] n = nbuf && nbuf[0] ? strlen(nbuf) : 0; ^~~~ color.c:1028:10: warning: the address of 'pbuf' will always evaluate as 'true' [-Waddress] p = pbuf && pbuf[0] ? strlen(pbuf) : 0; ^~~~ color.c:1065:14: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = clength; i < c && ISspace(GLine[i]); i++); ^~~ color.c:1066:16: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (i == c) /* Padded CLine until the end of spaces? */ ^~ color.c:1119:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (j = 0; (j < p) && (GLine[j] == PLine[j]); j++); ^~~ color.c:1120:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if ((p != c || j != p) && NLine[n]) ^~ color.c: In function 'is_indent': color.c:1210:22: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case ' ' : for (; ISspace(word[i]); i++); ^~~ color.c:1211:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if (!is_indent_char(now(word,i))) ^~ color.c:117:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ((c) == '-' ) && \ ^ color.c:1260:31: note: in expansion of macro 'allowed_after_digit' if(allowed_after_digit(now(word,k),word,k)){ ^~~~~~~~~~~~~~~~~~~ color.c:1199:34: warning: unused variable 'digit' [-Wunused-variable] int i = 0, finished = 0, j, k, digit = 0, bdigits = -1, alpha = 0; ^~~~~ color.c: In function 'add_allowed_qstr': color.c:1327:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' 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.24/pith/osdep' Making all in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8.o utf8.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' utf8.c: In function 'utf8_snprintf': utf8.c:1286:47: warning: variable 'modifier' set but not used [-Wunused-but-set-variable] int min_field_width, field_precision, modifier; ^~~~~~~~ utf8.c:1279:13: warning: variable 'start_of_specifier' set but not used [-Wunused-but-set-variable] char *start_of_specifier; ^~~~~~~~~~~~~~~~~~ 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:255:28: warning: 'cs' may be used uninitialized in this function [-Wmaybe-uninitialized] fcharset = cs ? cs->name : NULL; ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' 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.24/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o body.o body.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrstring.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o charset.o charset.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ charset.c: In function 'conversion_table': charset.c:864:6: warning: 'fc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(fc < 256) ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c color.c: In function 'color_a_quote': color.c:161:25: warning: unused variable 'j' [-Wunused-variable] int countem = 0, i, j = 0; ^ At top level: color.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: color.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o copyaddr.o copyaddr.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bldaddr.o bldaddr.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from bldaddr.c:39: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ bldaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: bldaddr.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ bldaddr.c: In function 'expand_address': bldaddr.c:877:19: warning: 'adr2' may be used uninitialized in this function [-Wmaybe-uninitialized] if(adr2 == NULL){ ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o context.o context.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o abdlc.o abdlc.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' abdlc.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: abdlc.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ In file included from ../pith/headers.h:63, from abdlc.c:19: abdlc.c: In function 'dlc_mgr': ../pith/debug.h:40:23: warning: 'prev_row' may be used uninitialized in this function [-Wmaybe-uninitialized] #define dprint(x) { output_debug_msg x ; } ^~~~~~~~~~~~~~~~ abdlc.c:223:24: note: 'prev_row' was declared here long prev_row; ^~~~~~~~ In file included from ../pith/headers.h:63, from abdlc.c:19: ../pith/debug.h:40:23: warning: 'next_row' may be used uninitialized in this function [-Wmaybe-uninitialized] #define dprint(x) { output_debug_msg x ; } ^~~~~~~~~~~~~~~~ abdlc.c:222:24: note: 'next_row' was declared here long next_row; ^~~~~~~~ In file included from ../pith/headers.h:63, from abdlc.c:19: ../pith/debug.h:40:23: warning: 'next_index' may be used uninitialized in this function [-Wmaybe-uninitialized] #define dprint(x) { output_debug_msg x ; } ^~~~~~~~~~~~~~~~ abdlc.c:220:48: note: 'next_index' was declared here int new_index, known_index, next_index; ^~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o escapes.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ablookup.o ablookup.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detoken.o detoken.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from detoken.c:28: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ detoken.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: detoken.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ detoken.c: In function 'detoken_src': detoken.c:160:11: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] char *ret, *str1, *str2; ^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o detach.o detach.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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o editorial.o editorial.c editorial.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: editorial.c 768 2007-10-24 00:10:03Z hubert@u.washington.edu $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o handle.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helpindx.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o hist.o hist.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o icache.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o 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]){ ^~~~~~~~~~ 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flag.o flag.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from flag.c:30: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ flag.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: flag.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ flag.c: In function 'flag_search': flag.c:344:16: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->sequence = 0; ~~~~~~~~~~~~~^~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o init.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from ../pith/headers.h:63, from init.c:25: init.c: In function 'prune_move_folder': init.c:527:11: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] spath ? spath : "?", newpath ? newpath : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ 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 : "?"), ^ In file included from ../pith/headers.h:63, from init.c:25: init.c:540:26: warning: the address of 'spath' will always evaluate as 'true' [-Waddress] spath ? spath : "?", newpath ? newpath : "?", ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keyword.o keyword.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ keyword.c: In function 'initial_to_keyword': keyword.c:171:8: warning: 'kwinit' may be used uninitialized in this function [-Wmaybe-uninitialized] if(kwinit == init){ ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from imap.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o list.o list.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbklib.o adrbklib.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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, ^~~~~~ 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcap.o mailcap.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ical.o ical.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' ical.c: In function 'ical_free_vtimezone': ical.c:462:13: warning: unused variable 'j' [-Wunused-variable] TZ_comp i,j; ^ ical.c:462:11: warning: unused variable 'i' [-Wunused-variable] TZ_comp i,j; ^ ical.c: In function 'ical_free_valarm': ical.c:490:10: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ ical.c:490:7: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ ical.c: In function 'ical_set_date': ical.c:1881:11: warning: unused variable 't' [-Wunused-variable] time_t t; ^ ical.c: In function 'ical_std_or_daylight': ical.c:1911:13: warning: unused variable 'tzid' [-Wunused-variable] ICLINE_S *tzid = (ICLINE_S *) vtz->prop[TZCid]; ^~~~ ical.c:1910:23: warning: unused variable 'daylight' [-Wunused-variable] struct tm standard, daylight; ^~~~~~~~ ical.c:1910:13: warning: unused variable 'standard' [-Wunused-variable] struct tm standard, daylight; ^~~~~~~~ ical.c: In function 'ical_adjust_date': ical.c:1926:18: warning: variable 'cur_std_day' set but not used [-Wunused-but-set-variable] ICAL_TZPROP_S *cur_std_day; ^~~~~~~~~~~ ical.c:1924:9: warning: variable 'tzname' set but not used [-Wunused-but-set-variable] char *tzname = NULL; ^~~~~~ ical.c: In function 'ical_vevent_summary': ical.c:2545:33: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../pith/headers.h:31, from ical.c:1: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ ical.c:2545:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); ^ ical.c:2551:32: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../pith/headers.h:31, from ical.c:1: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ ical.c:2551:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] rv->description[i++] = cpystr(ical_decode(s, vcal->encoding)); ^ ical.c:2186:9: warning: unused variable 'k' [-Wunused-variable] char *k; ^ ical.c: In function 'ical_non_ascii_valid': ical.c:1682:7: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] int rv; ^~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldap.o ldap.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' ldap.c: In function 'ldap_lookup': ldap.c:657:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(pwd && pwd[0]) ^~ ldap.c:662:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' passwd.bv_val = pwd; ^~~~~~ In file included from ../pith/headers.h:63, from ldap.c:19: ldap.c:923:35: warning: the address of 'filter' will always evaluate as 'true' [-Waddress] base ? base : "?", filter ? filter : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ folder.c: In function 'get_recent_in_folder': folder.c:2603:12: warning: 'uns' may be used uninitialized in this function [-Wmaybe-uninitialized] *unseen = uns; ~~~~~~~~^~~~~ folder.c:2600:9: warning: 'nw' may be used uninitialized in this function [-Wmaybe-uninitialized] *new = nw; ~~~~~^~~~ folder.c:2606:11: warning: 'tot' may be used uninitialized in this function [-Wmaybe-uninitialized] *total = tot; ~~~~~~~^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o maillist.o maillist.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o margin.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimetype.o mimetype.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o conf.o conf.c conf.c: In function 'write_pinerc': conf.c:5766:18: warning: unused variable 'slink' [-Wunused-variable] char *slink = NULL; ^~~~~ conf.c: In function 'get_supported_options': conf.c:8484:71: warning: unused variable 'i' [-Wunused-variable] int cnt, alcnt, len, cols, disabled, any_disabled = 0, i; ^ In file included from conf.c:32: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ conf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: conf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ conf.c: In function 'init_pinerc': conf.c:1062:9: warning: 'db' may be used uninitialized in this function [-Wmaybe-uninitialized] db += strlen(db); \ ^~ conf.c:1076:36: note: 'db' was declared here char buf[MAXPATH+1], *p, *db; ^~ conf.c: In function 'read_pinerc': conf.c:5476:13: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] && !expand_variables(tmp_20k_buf, SIZEOF_20KBUF, value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (v == &ps_global->vars[V_MAILCAP_PATH] || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ v == &ps_global->vars[V_MIMETYPE_PATH])))){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:5655:28: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] prc->pinerc_written = name_file_mtime(filename); ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'write_pinerc': conf.c:6121:19: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] if((var->is_list && (!lval || (!lval[0] && !var->global_val.l))) || ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf.c:6160:9: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] if(strlen(pval) > buflen){ ^~~~~~~~~~~~ conf.c:5883:10: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] mtime = name_file_mtime(filename); ^~~~~~~~~~~~~~~~~~~~~~~~~ conf.c: In function 'set_variable': conf.c:6677: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:6743:39: warning: 'prc' may be used uninitialized in this function [-Wmaybe-uninitialized] prc->outstanding_pinerc_changes = 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o msgno.o msgno.c 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 $"; ^~~~~ 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)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mimedesc.o mimedesc.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o news.o news.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' news.c: In function 'news_grouper': news.c:214:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(no_servers == 0) ^~ news.c:222:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' for(server = ps_global->VAR_NNTP_SERVER; ^~~ At top level: news.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: news.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ 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)) ~~~^~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o pipe.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o readfile.o readfile.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c In file included from ../pith/headers.h:63, from mailcmd.c:19: mailcmd.c: In function 'do_broach_folder': mailcmd.c:562:24: warning: the address of 'expanded_file' will always evaluate as 'true' [-Waddress] expanded_file ? expanded_file : "?", ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ 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 'agg_text_select': mailcmd.c:2240:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!mepgm) ^~ mailcmd.c:2354:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' srchpgm->msgno = (limitsrch ? *limitsrch : NULL); ^~~~~~~ mailcmd.c: In function 'move_read_msgs_using_rules': mailcmd.c:2704:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(success = save(ps_global, stream,save_context, folder_to_save[i], ^~~~~~~ mailcmd.c: In function 'setup_threading_index_style': mailcmd.c:2794:17: 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:2820:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(i = 0; v = incoming_startup_rules(i); i++) ^ In file included from mailcmd.c:42: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.c:20: ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailcmd.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ mailcmd.c: In function 'agg_text_select': mailcmd.c:2406:21: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->searched = T; mailcmd.c: In function 'do_broach_folder': mailcmd.c:654:9: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 129 [-Wformat-truncation=] "%s", ps_global->cur_folder); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from mailcmd.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4097 bytes into a destination of size 129 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:963:5: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size 129 [-Wformat-truncation=] "%s", ps_global->cur_folder); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from mailcmd.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4097 bytes into a destination of size 129 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c newmail.c: In function 'new_mail': newmail.c:80:19: warning: variable 'last_check_point_call' set but not used [-Wunused-but-set-variable] static time_t last_check_point_call = 0; ^~~~~~~~~~~~~~~~~~~~~ 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rfc2231.o rfc2231.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c In file included from ../pith/headers.h:63, from remote.c:25: remote.c: In function 'rd_update_remote': remote.c:2276:14: warning: the address of 'date' will always evaluate as 'true' [-Waddress] date ? date : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ At top level: 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sequence.o sequence.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c mailview.c: In function 'format_calendar_vevent': mailview.c:395:6: warning: unused variable 'thisdescwid' [-Wunused-variable] int thisdescwid; ^~~~~~~~~~~ mailview.c:394:7: warning: unused variable 'numbuf' [-Wunused-variable] char numbuf[50]; ^~~~~~ mailview.c: In function 'format_calendar': mailview.c:515:49: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] b = mail_body (ps_global->mail_stream, msgno, a->number); ~^~~~~~~~ In file included from headers.h:28, from mailview.c:27: ../c-client/mail.h:1780:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mailview.c:531:27: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] caltext = rfc822_base64(rawtext, strlen(rawtext), &callen); ^~~~~~~ In file included from headers.h:30, from mailview.c:27: ../c-client/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); ^~~~~~~~~~~~~ mailview.c:541:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] caltext = rfc822_qprint ((unsigned char *) rawtext,strlen(rawtext),&callen); ^ mailview.c: In function 'color_signature': mailview.c:1502:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(p = strchr(tmp_20k_buf, '\015')) *p = '\0'; ^ mailview.c:1517:9: warning: the address of 'buf2' will always evaluate as 'true' [-Waddress] i = buf2 && buf2[0] ? strlen(buf2) : 0; ^~~~ mailview.c:1489:15: warning: unused variable 'q' [-Wunused-variable] char *p, *q; ^ mailview.c: In function 'incomplete_url': mailview.c:1931:15: warning: unused variable 'len' [-Wunused-variable] int rv = 0, len; ^~~ mailview.c: In function 'url_hilite': mailview.c:1970:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if((uh && uh->handlesp && ((h = *(uh->handlesp)) == NULL) || h->key == 0) || ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailview.c: In function 'remove_spaces_ival': mailview.c:3246:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i = 0; isspace((unsigned char) p[ival->end - i - 1]); i++); ^~~ mailview.c:3247:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' ival->end -= i; ^~~~ mailview.c: In function 'color_this_text': mailview.c:3277:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (i = any_color_in_string(p)){ ^ mailview.c:3259:18: warning: unused variable 'pattern' [-Wunused-variable] static char *pattern = NULL; ^~~~~~~ At top level: mailview.c:3259:18: warning: 'pattern' defined but not used [-Wunused-variable] In file included from mailview.c:42: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ mailview.c: In function 'format_addr_string': mailview.c:3432:20: warning: 'mtmp' may be used uninitialized in this function [-Wmaybe-uninitialized] addr->mailbox = mtmp; ~~~~~~~~~~~~~~^~~~~~ mailview.c: In function 'format_message': mailview.c:215:11: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] return(rv); ^ mailview.c: In function 'url_hilite': mailview.c:1970:67: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized] if((uh && uh->handlesp && ((h = *(uh->handlesp)) == NULL) || h->key == 0) || ~^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' mailindx.c: In function 'reset_index_format': mailindx.c:385:8: 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:1660:20: warning: unused variable 'branch' [-Wunused-variable] unsigned long branch; ^~~~~~ mailindx.c: In function 'fetch_firsttext': mailindx.c:3942:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule_result = find_value((delete_quotes ^~~~~~~~~~~ mailindx.c:3939:18: warning: unused variable 'env' [-Wunused-variable] ENVELOPE *env; ^~~ mailindx.c: In function 'date_str': mailindx.c:5046:32: warning: variable 'ampm' set but not used [-Wunused-but-set-variable] char dbuf[200], *Ddd, *ampm; ^~~~ mailindx.c: In function 'subj_str': mailindx.c:5587:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule_result = find_value("_SUBJECT_", origsubj, PROCESS_SP, idata, 4)){ ^~~~~~~~~~~ mailindx.c:5531:52: warning: unused variable 'i' [-Wunused-variable] int depth = 0, mult = 2, collapsed, i, we_clear = 0; ^ mailindx.c:5531:41: warning: unused variable 'collapsed' [-Wunused-variable] int depth = 0, mult = 2, collapsed, i, we_clear = 0; ^~~~~~~~~ mailindx.c: In function 'from_str': mailindx.c:6408:24: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ~~^~~~ ~~~~~~~~~ mailindx.c:6408:26: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ~~~~^~ ~~~~~~~~~ mailindx.c:6421:25: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "To: %-*.*s", strsize-1-4, ~~^~~~ ~~~~~~~~~~~ mailindx.c:6421:27: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "To: %-*.*s", strsize-1-4, ~~~~^~ strsize-1-4, newsgroups); ~~~~~~~~~~~ mailindx.c:6424:23: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ~~^~~~ ~~~~~~~~~ mailindx.c:6424:25: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, ~~~~^~ ~~~~~~~~~ mailindx.c:6445:19: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, rule_result); ~~^~~~ ~~~~~~~~~ mailindx.c:6445:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] sprintf(str, "%-*.*s", strsize-1, strsize-1, rule_result); ~~~~^~ ~~~~~~~~~ mailindx.c: In function 'setup_threading_display_style': mailindx.c:6756:17: 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:6784:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule = get_rulelist_from_code(V_REPLACE_RULES, ps_global->rule_list)){ ^~~~ In file included from mailindx.c:44: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailindx.c:28: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailindx.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailindx.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ mailindx.c: In function 'fetch_firsttext': mailindx.c:3977:20: warning: 'pelt' may be used uninitialized in this function [-Wmaybe-uninitialized] pelt->firsttext = firsttext; ~~~~~~~~~~~~~~~~^~~~~~~~~~~ mailindx.c: In function 'format_index_index_line': mailindx.c:2159:11: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(mc->answered) ^~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o save.o save.c save.c: In function 'save_ex_output_text': save.c:1726:10: warning: unused variable 's' [-Wunused-variable] char *s; ^ save.c:1724:8: warning: unused variable 'line_len' [-Wunused-variable] int line_len = 68 - depth; ^~~~~~~~ save.c:1723:19: warning: unused variable 'j' [-Wunused-variable] int starti, i, j, startpos, pos, rv; ^ In file included from save.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 $"; ^~~~~ save.c: In function 'save_get_fldr_from_env': save.c:291:6: warning: 'bufp' may be used uninitialized in this function [-Wmaybe-uninitialized] istrncpy(fbuf, bufp, nfbuf - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c: In function 'save': save.c:507:11: warning: 'dummy_msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] long dummy_msgno, delete_count; ^~~~~~~~~~~ save.c:671:5: warning: 'au' may be used uninitialized in this function [-Wmaybe-uninitialized] mail_parameters(NIL, SET_APPENDUID, (void *) au); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:571:35: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] fs_resize((void **) &flags, (len+1) * sizeof(char)); ~~~~^~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rules.o rules.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = advance_to_char(d,';', STRICTLY, &offset)){ ^ rules.c:386:12: 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:498:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] case '_' : for(s = p+1; *s >= 'A' && *s <= 'Z'; s++); ^~~ rules.c:499:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(i = 0; token_rules[i] != NULL; i++) ^~~ rules.c:544:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] case '&': if(*(p+1) = *p){ ^ rules.c:472:27: warning: unused variable 'c' [-Wunused-variable] char *p = data, *s, *t, c; ^ rules.c: In function 'fill_condition': rules.c:615:16: warning: unused variable 'cvalue' [-Wunused-variable] CONDVALUE_S *cvalue; ^~~~~~ rules.c:613:13: warning: variable 't' set but not used [-Wunused-but-set-variable] char *s, *t, *u; ^ rules.c: In function 'parse_action': rules.c:678:9: warning: unused variable 'function' [-Wunused-variable] char *function, *p = data; ^~~~~~~~ rules.c: In function 'get_rule_list': rules.c:866:9: 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:902:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (trulelist->rlist = get_rule_list(list, context, 0)) ^~~~~~~~~ rules.c:897:40: warning: unused variable 'orulelist' [-Wunused-variable] PRULELIST_S *prulelist, *trulelist, *orulelist; ^~~~~~~~~ rules.c:897:16: warning: unused variable 'prulelist' [-Wunused-variable] PRULELIST_S *prulelist, *trulelist, *orulelist; ^~~~~~~~~ rules.c: In function 'test_rule': rules.c:979:7: 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:1117:17: warning: unused variable 'tval' [-Wunused-variable] TOKEN_VALUE *tval = NULL; ^~~~ rules.c: In function 'do_trim': rules.c:1317:10: 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:1333:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (test = detoken_src(taction->token, context, env, NULL, NULL, NULL)) ^~~~ rules.c:1330:6: warning: unused variable 'offset' [-Wunused-variable] int offset; ^~~~~~ rules.c:1328:8: warning: unused variable 'begin_text' [-Wunused-variable] char *begin_text, *test; ^~~~~~~~~~ rules.c: In function 'do_rextrim': rules.c:1351:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(begin_text = strstr(test+offset, trim_text)){ ^~~~~~~~~~ rules.c:1345:11: warning: unused variable 'len' [-Wunused-variable] size_t len; ^~~ rules.c:1344:8: warning: unused variable 'i' [-Wunused-variable] int i, offset = 0; ^ rules.c: In function 'exec_fcn': rules.c:1536:24: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] rv = cpystr(output_so->dp); ~~~~~~~~~^~~~ In file included from ../pith/headers.h:31, 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:1558:28: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] env->date = cpystr((unsigned char *) idata->date); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../pith/headers.h:31, 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:1558:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] env->date = cpystr((unsigned char *) idata->date); ^ In file included from rules.c:17: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ rules.c: In function 'canonicalize_condition': rules.c:493:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size 10 [-Wformat-overflow=] sprintf(tmp, "%d ", --level); ^~ rules.c:493:19: note: directive argument in the range [-2147483648, 2147483646] sprintf(tmp, "%d ", --level); ^~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from rules.c:12: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 13 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o sort.o sort.c In file included from sort.c:33: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ sort.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: sort.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o state.o state.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from state.c:38: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ state.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: state.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o store.o store.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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o strlst.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tempfile.o tempfile.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c reply.c: In function 'reply_quote_str': reply.c:886:44: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(reply_string,"> ",sizeof("> ")); ^ reply.c: In function 'get_reply_data': reply.c:1987:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (env) ^~ reply.c:1989:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ reply.c: In function 'forward_subject': reply.c:2564:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule = get_result_rule(V_FORWARD_RULES,FOR_COMPOSE, env)){ ^~~~ reply.c: In function 'forward_multi_alt_mixed': reply.c:3958:11: warning: unused variable 'new_charset' [-Wunused-variable] char *new_charset = NULL; ^~~~~~~~~~~ In file included from reply.c:51: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from reply.c:47: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ reply.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ reply.c: In function 'get_reply_data': reply.c:2016:45: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf(buf,"%s%s%s%s",mc->flagged ? "*" : "", ^ reply.c: In function 'partno': reply.c:3320:35: warning: '%.*s' directive output may be truncated writing up to 54 bytes into a region of size between 53 and 63 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%d%s%.*s", num, (p) ? "." : "", ^~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from reply.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 66 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c: In function 'reply_body': reply.c:988:59: warning: '.1' directive output may be truncated writing 2 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(section = sect_buf, sizeof(sect_buf), "%.*s.1", SECTBUFLEN-1, sect_prefix); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from reply.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 258 bytes into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o text.o text.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 $"; ^~~~~ 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; ^~~ In file included from /usr/include/string.h:494, from ../include/system.h:45, from ../pith/headers.h:25, from text.c:27: In function 'strcpy', inlined from 'delete_quotes' at text.c:649:4: /usr/include/bits/string_fortified.h:90:10: warning: '__builtin_strcpy' accessing 0 or more bytes at offsets 0 and [0, 9223372036854775807] may overlap up to 9223372036854775807 bytes at offset 9223372036854775805 [-Wrestrict] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c: In function 'delete_quotes': text.c:638:8: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] lp += len; ~~~^~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o stream.o stream.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' In file included from stream.c:37: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ stream.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: stream.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adjtime.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o util.o util.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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o string.o string.c string.c: In function 'collspaces': string.c:149:11: 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: In function 'fold': string.c:1618:45: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] for(i = starting_point; winner == -1 && i <= strlen(next_piece) != '\0' && i < 512; i++){ ~~^~~~~~~~~~~~~~~~~~~~~ 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:464:13: warning: 'second' may be used uninitialized in this function [-Wmaybe-uninitialized] second++; ~~~~~~^~ string.c:461:8: warning: 'first' may be used uninitialized in this function [-Wmaybe-uninitialized] q += utf8_to_width(q, src, buflen, first, &got_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ string.c: In function 'convert_date_to_local': string.c:1349:63: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 16 [-Wformat-truncation=] snprintf(datebuf, sizeof(datebuf), "%.3s, %d %.3s %d %02d:%02d:%02d", ^~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:59: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 69 bytes into a destination of size 26 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ string.c: In function 'byte_string': string.c:1478:45: warning: '%ld' directive output may be truncated writing between 1 and 17 bytes into a region of size 10 [-Wformat-truncation=] snprintf(string, sizeof(string), "%ld.%ld%s%s", ones, tenths, aa, *a ? "B" : "bytes"); ^~~ string.c:1478:44: note: directive argument in the range [-9223372036854774, 9223372036] snprintf(string, sizeof(string), "%ld.%ld%s%s", ones, tenths, aa, *a ? "B" : "bytes"); ^~~~~~~~~~~~~ string.c:1478:44: note: directive argument in the range [0, 999999] In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:59: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 34 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ string.c:1476:45: warning: '%ld' directive output may be truncated writing between 1 and 17 bytes into a region of size 10 [-Wformat-truncation=] snprintf(string, sizeof(string), "%ld%s%s", ones, aa, *a ? "B" : "bytes"); ^~~ string.c:1476:44: note: directive argument in the range [-9223372036854774, 9223372036] snprintf(string, sizeof(string), "%ld%s%s", ones, aa, *a ? "B" : "bytes"); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from string.c:59: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 27 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' 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 $"; ^~~~~ 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; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o url.o url.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o thread.o thread.c thread.c: In function 'set_flags_for_thread': thread.c:112:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream,thrd)){ ^~~~ thread.c:119:8: 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:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~~~ thread.c:456:8: 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:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~~~ thread.c:1014:8: 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:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~~~ thread.c:1116:8: 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:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next = get_next(stream, thrd)){ ^~~~ thread.c:1181:8: 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:8: 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:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(next= get_next(stream, thrd)){ ^~~~ thread.c:1612:8: 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:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(collapsed = this_thread_is_kolapsed(state, stream, msgmap, rawno)) ^~~~~~~~~ thread.c: In function 'this_thread_is_kolapsed': thread.c:1729:26: warning: unused variable 'orig' [-Wunused-variable] unsigned long rawno, orig; ^~~~ thread.c: In function 'count_this_thread': thread.c:1761:34: warning: unused variable 'topnxt' [-Wunused-variable] unsigned long top, orig_top, topnxt; ^~~~~~ thread.c:1761:24: warning: unused variable 'orig_top' [-Wunused-variable] unsigned long top, orig_top, topnxt; ^~~~~~~~ thread.c:1761:19: warning: unused variable 'top' [-Wunused-variable] unsigned long top, orig_top, topnxt; ^~~ thread.c: In function 'find_msgmap': thread.c:1916:16: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] PINETHRD_S *thrd; ^~~~ thread.c:1914:22: warning: unused variable 'nthreads' [-Wunused-variable] long tmsg, ntmsg, nthreads; ^~~~~~~~ thread.c: In function 'move_thread': thread.c:2051:15: warning: variable 'thrd' set but not used [-Wunused-but-set-variable] PINETHRD_S *thrd; ^~~~ thread.c: In function 'move_next_thread': thread.c:2143:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~~~~~~ In file included from thread.c:30: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 $"; ^~~~~ 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; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c pattern.c: In function 'parse_pat_file': pattern.c:1001:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(buf, BUF_SIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from pattern.c:30: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 $"; ^~~~~ 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; ~~~~~~~^~~~~~ 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) ^ In file included from pattern.c:21: pattern.c: In function 'sub_write_patterns': ../pith/conf.h:869: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; ^~~ pattern.c: In function 'parse_intvl': pattern.c:1890:4: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized] (*next)->imin = left; ~^~~~~~ pattern.c: In function 'parse_patgrp_slash': pattern.c:1502:11: warning: 'save' may be used uninitialized in this function [-Wmaybe-uninitialized] *(p+1) = save; ~~~~~~~^~~~~~ 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; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ pattern.c: In function 'match_pattern': pattern.c:4842:19: warning: 'mc' may be used uninitialized in this function [-Wmaybe-uninitialized] mc->searched = T; make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o helptext.o helptext.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smkeys.o smkeys.c smkeys.c: In function 'ALPINE_self_signed_certificate': smkeys.c:204:59: warning: pointer targets in passing argument 4 of 'X509_NAME_add_entry_by_txt' differ in signedness [-Wpointer-sign] X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, "Password File Certificate and Key Pair", -1, -1, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smkeys.h:27, from smkeys.c:38: /usr/include/openssl/x509.h:831:5: note: expected 'const unsigned char *' but argument is of type 'char *' int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, ^~~~~~~~~~~~~~~~~~~~~~~~~~ smkeys.c:244:18: warning: unused variable 'tpubkey' [-Wunused-variable] EVP_PKEY *tpubkey = X509_REQ_get0_pubkey(req); ^~~~~~~ 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 $"; ^~~~~ smkeys.c: In function 'smime_get_date': smkeys.c:668:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] smkeys.c:654:8: m = iobuf; ~~~~~ smkeys.c:668:37: snprintf(date, sizeof(date), "%s %s %s %s (%s)", d, m, y, t, z); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smkeys.c:679:35: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1024 [-Wformat-truncation=] smkeys.c:654:8: m = iobuf; ~~~~~ smkeys.c:679:35: snprintf(buf, sizeof(buf), "%s/%s/%s", m, d, y + strlen(y) - 2); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 4098) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smkeys.c: In function 'save_cert_for': smkeys.c:1057:46: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(fpath, sizeof(fpath), "%s%c%s", ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from smkeys.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c send.c: In function 'pine_new_env': send.c:1200: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:1465: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:5646:30: 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, from ../pith/headers.h:25, from send.c:19: /usr/include/string.h:329:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^~~~~~ send.c:5646:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s = strstr(header->env->date," (")) /* fix the date format for news */ ^ send.c:5649:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(err = mta_parse_post(header, body, SENDNEWS, errbuf, errbuflen, bigresult_f, pipecb_f)){ ^~~ In file included from send.c:47: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ send.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: send.c 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $"; ^~~~~ send.c: In function 'call_mailer': send.c:2075:20: warning: 'added_encoding' may be used uninitialized in this function [-Wmaybe-uninitialized] body_encodings[added_encoding] = NULL; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ send.c:2076:19: warning: 'save_encoding' may be used uninitialized in this function [-Wmaybe-uninitialized] bp->encoding = save_encoding; ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' smime.c: In function 'setup_pwdcert': smime.c:312:9: warning: the address of 'pathkey' will always evaluate as 'true' [-Waddress] if((pathkey && *pathkey) || text){ ^~~~~~~ smime.c: In function 'import_certificate': smime.c:670:46: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(full_name_key, full_filename, sizeof(full_filename)); ^ smime.c:683:47: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(full_name_cert, full_name_key, sizeof(full_name_key)); ^ smime.c:668:46: warning: unused variable 'cert2' [-Wunused-variable] X509 *cert = p_cert ? p_cert->cert : NULL, *cert2; ^~~~~ smime.c:859:4: warning: null argument where non-null required (argument 1) [-Wnonnull] memset((void *)DATACERT(ctype), 0, sizeof(CertList)); ^~~~~~ smime.c: In function 'smime_extract_and_save_cert': smime.c:2772:10: warning: unused variable 'error' [-Wunused-variable] long error; ^~~~~ smime.c: In function 'decrypt_file': smime.c:3267:10: warning: unused variable 'j' [-Wunused-variable] int i, j; ^ smime.c:3267:7: warning: unused variable 'i' [-Wunused-variable] int i, j; ^ smime.c: In function 'import_certificate': smime.c:773:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tmp2, sizeof(tmp2), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: smime.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: smime.c 1176 2008-09-29 21:16:42Z hubert@u.washington.edu $"; ^~~~~ smime.c: In function 'certlist_from_personal_certs': smime.c:1163:13: warning: 'cl' may be used uninitialized in this function [-Wmaybe-uninitialized] cl->next = certlist_from_personal_certs(pc->next); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'setup_pwdcert': smime.c:316:18: warning: 'text' may be used uninitialized in this function [-Wmaybe-uninitialized] if((pkey = load_pkey_with_prompt(pathkey, text, prompt, NULL)) != NULL){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'copy_dir_to_container': smime.c:1934:58: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(fpath, sizeof(fpath), "%s%c%s", ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from smime.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4098) into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'smime_expunge_cert': smime.c:540:5: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized] q_status_message2(SM_ORDER, 3, 3, _("Removed %s certificate%s"), comatose(count), plural(count)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'import_certificate': smime.c:790:37: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s%s", filename, EXTCERT(Public)); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from smime.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 4101 bytes into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:720:13: warning: 'use_this_file' may be used uninitialized in this function [-Wmaybe-uninitialized] r = (*pith_smime_import_certificate)(filename, use_this_file, "certificate", sizeof(filename) - 20); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'do_fiddle_smime_message': smime.c:3112:16: warning: 'bodytext' may be used uninitialized in this function [-Wmaybe-uninitialized] result = smime_validate_extra_test(mimetext, mimelen, bodytext, bodylen, p7, flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:3065:39: note: 'bodytext' was declared here char newSec[100], *mimetext, *bodytext; ^~~~~~~~ smime.c:3104:7: warning: 'mimetext' may be used uninitialized in this function [-Wmaybe-uninitialized] BIO_write(in, mimetext, mimelen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c:3065:28: note: 'mimetext' was declared here char newSec[100], *mimetext, *bodytext; ^~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' gcc -DHAVE_CONFIG_H -I../include -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filter.o filter.c filter.c: In function 'gf_terminal': filter.c:168:24: warning: unused variable 'eib' [-Wunused-variable] #define GF_EIB_INIT(F) eib = (F) ? GF_QUE_END(F) : NULL ^~~ filter.c:180:19: note: in expansion of macro 'GF_EIB_INIT' unsigned char *GF_EIB_INIT(FO); ^~~~~~~~~~~ filter.c:895:2: note: in expansion of macro 'GF_INIT' GF_INIT(f, f); ^~~~~~~ filter.c:166:23: warning: unused variable 'ip' [-Wunused-variable] #define GF_IP_INIT(F) ip = (F) ? &(F)->queue[(F)->queuein] : NULL ^~ filter.c:179:19: note: in expansion of macro 'GF_IP_INIT' unsigned char *GF_IP_INIT(FO); \ ^~~~~~~~~~ filter.c:895:2: note: in expansion of macro 'GF_INIT' GF_INIT(f, f); ^~~~~~~ filter.c: In function 'gf_pipe': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:972:2: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL ^~ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ ^~~~~~~~~~ filter.c:972:2: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c: In function 'gf_filter_puts': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:1162:5: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c: In function 'gf_filter_eod': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:1188:5: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ filter.c:170:23: warning: unused variable 'op' [-Wunused-variable] #define GF_OP_INIT(F) op = (F) ? &(F)->queue[(F)->queueout] : NULL ^~ filter.c:177:40: note: in expansion of macro 'GF_OP_INIT' #define GF_INIT(FI, FO) unsigned char *GF_OP_INIT(FI); \ ^~~~~~~~~~ filter.c:1188:5: note: in expansion of macro 'GF_INIT' GF_INIT(gf_master, gf_master); ^~~~~~~ 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:7915: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:7915: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:8902: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:8902:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ filter.c: In function 'html_putc': filter.c:171:24: warning: unused variable 'eob' [-Wunused-variable] #define GF_EOB_INIT(F) eob = (F) ? &(F)->queue[(F)->queuein] : NULL ^~~ filter.c:178:19: note: in expansion of macro 'GF_EOB_INIT' unsigned char *GF_EOB_INIT(FI); \ ^~~~~~~~~~~ filter.c:8974: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:8974:5: note: in expansion of macro 'GF_INIT' GF_INIT(f, f->next); ^~~~~~~ filter.c: In function 'cid_tempfile_name': filter.c:9081:26: warning: unused variable 'u' [-Wunused-variable] char *s, *t = NULL, *u, c; ^ filter.c: In function 'gf_html_cid2file': filter.c:9193:11: warning: unused variable 'n' [-Wunused-variable] long n; ^ filter.c: In function 'gf_quote_test': filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cline = strchr(gline,'\012'))\ ^~~~~ filter.c:11499:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' GF_ADD_QUOTED_LINE((F), line);\ ^~~~~~~~~~~~~~~~~~ filter.c:11552:7: note: in expansion of macro 'SECOND_LINE_QUOTE_TEST' SECOND_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cline = strchr(gline,'\012'))\ ^~~~~ filter.c:11523:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' GF_ADD_QUOTED_LINE((F), line);\ ^~~~~~~~~~~~~~~~~~ filter.c:11555:3: note: in expansion of macro 'FIRST_LINE_QUOTE_TEST' FIRST_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cline = strchr(gline,'\012'))\ ^~~~~ filter.c:11499:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' GF_ADD_QUOTED_LINE((F), line);\ ^~~~~~~~~~~~~~~~~~ filter.c:11567:6: note: in expansion of macro 'SECOND_LINE_QUOTE_TEST' SECOND_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cline = strchr(gline,'\012'))\ ^~~~~ filter.c:11523:2: note: in expansion of macro 'GF_ADD_QUOTED_LINE' GF_ADD_QUOTED_LINE((F), line);\ ^~~~~~~~~~~~~~~~~~ filter.c:11570:2: note: in expansion of macro 'FIRST_LINE_QUOTE_TEST' FIRST_LINE_QUOTE_TEST(line, f); ^~~~~~~~~~~~~~~~~~~~~ filter.c:11437:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(cline = strchr(gline,'\012'))\ ^~~~~ filter.c:11579:5: note: in expansion of macro 'GF_ADD_QUOTED_LINE' GF_ADD_QUOTED_LINE(f, line+i); ^~~~~~~~~~~~~~~~~~ filter.c: In function 'html_element_comment': filter.c:7742:7: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(p = buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 $"; ^~~~~ filter.c: In function 'html_li': filter.c:5841:36: warning: '.' directive output may be truncated writing 1 byte into amake[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' region of size between 0 and 15 [-Wformat-truncation=] snprintf(buf, sizeof(buf), " %s.", tmp); ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from filter.c:44: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 18 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' rm -f libpith.a /usr/bin/ar cru libpith.a ablookup.o abdlc.o addrbook.o addrstring.o adrbklib.o bldaddr.o body.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 ical.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.24/pith' Making all in pico Making all in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fsync.o fsync.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mouse.o mouse.c 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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chkpoint.o chkpoint.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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o altedit.o altedit.c 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 $"; ^~~~~ altedit.c: In function 'alt_editor': altedit.c:133:10: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] *wsp = c; ~~~~~^~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o popen.o popen.c 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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o getkey.o getkey.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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o raw.o raw.c 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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o read.o read.c read.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: read.c 763 2007-10-23 23:37:34Z hubert@u.washington.edu $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o truncate.o truncate.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o shell.o shell.c shell.c: In function 'bktoshell': shell.c:108:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system((shell = (char *)getenv("SHELL")) ? shell : "/bin/csh"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: shell.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: shell.c 807 2007-11-09 01:21:33Z hubert@u.washington.edu $"; ^~~~~ shell.c: In function 'bktoshell': shell.c:109:2: warning: 'dummy' may be used uninitialized in this function [-Wmaybe-uninitialized] rtfrmshell(dummy); /* fixup tty */ ^~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signals.o signals.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; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o tty.o tty.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o filesys.o filesys.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' filesys.c: In function 'ffelbowroom': filesys.c:1008:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] (void) ftruncate(fileno(g_pico_fio.fp), (off_t) fsbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: filesys.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: filesys.c 770 2007-10-24 00:23:09Z hubert@u.washington.edu $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o spell.o spell.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o terminal.o terminal.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o color.o color.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' 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.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o bind.o bind.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ bind.c: In function 'wscrollw': bind.c:290:10: warning: 'cont' may be used uninitialized in this function [-Wmaybe-uninitialized] if(cont) ^ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fileio.o fileio.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o buffer.o buffer.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o line.o line.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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; ~~~~~~~~~~~^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o basic.o basic.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' basic.c: In function 'gotobop': basic.c:365:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || (lback(curwp->w_dotp) != curbp->b_linep ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && llength(lback(curwp->w_dotp)) > qlen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && (quoted == quote_match(default_qstr(glo_quote_str, 1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lback(curwp->w_dotp), pqstr, NLINE, 0)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !strcmp(qstr, pqstr) ~~~~~~~~~~~~~~~~~~~~~~~ && !ISspace(lgetc(curwp->w_dotp, qlen).c) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && (strlenis(qstr2) > strlenis(qstr))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !qstr2[i] && !qstr[j]) ~~~~~~~~~~~~~^~~~~~~~~~~ basic.c: In function 'GetAccent': basic.c:407:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ basic.c:413:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return accent(c,d); ^~~~~~ basic.c: In function 'pineaccent': basic.c:420:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (e = GetAccent()) ^ basic.c: In function 'gotoeop': basic.c:587:33: warning: unused variable 'changeqstr' [-Wunused-variable] int quoted, qlen, indented, changeqstr = 0; ^~~~~~~~~~ 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o file.o file.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' file.c: In function 'filewrite': file.c:575:41: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(fname, curbp->b_fname, sizeof(curbp->b_fname)); ^ At top level: 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:166:54: warning: '%s' directive output may be truncated writing up to 500 bytes into a region of size 44 [-Wformat-truncation=] snprintf(prompt, sizeof(prompt), "%s to insert from %s %s: ", ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from file.c:29: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 533 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o attach.o attach.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ attach.c: In function 'ParseAttach': attach.c:741:13: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] *off += j - 1; ~~^~~ attach.c: In function 'SyncAttach': attach.c:622:7: warning: 'bld' may be used uninitialized in this function [-Wmaybe-uninitialized] if(bld) ^ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o browse.o browse.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' browse.c: In function 'FileBrowse': browse.c:1710:10: warning: the address of 'pat' will always evaluate as 'true' [-Waddress] if(pat && pat[0]) ^~~ browse.c: In function 'p_chdir': browse.c:2741:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(mp->dname); ^~~~~~~~~~~~~~~~ At top level: browse.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: browse.c 942 2008-03-04 18:21:33Z hubert@u.washington.edu $"; ^~~~~ browse.c: In function 'getfcells': browse.c:1915:16: warning: 'tcp' may be used uninitialized in this function [-Wmaybe-uninitialized] ncp->prev = tcp; ~~~~~~~~~~^~~~~ browse.c: In function 'FileBrowse': browse.c:1548:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:1552:40: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size between 491 and 498 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s \'%s\'", ^~ browse.c:1554:34: ? envp : BROWSER_PAGER, child); ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 510) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:1391:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s%c%s", gmp->dname, C_FILESEP, ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:801:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:710:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:721:46: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size between 485 and 494 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "pico%s%s%s \'%s\'", ^~ browse.c:725:6: child); ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 516 bytes into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:719:38: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size 498 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s \'%s\'", envp, child); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 503) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:869:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(child, sizeof(child), "%s%c%s", gmp->dname, C_FILESEP, ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ browse.c:1273:41: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s%c%s", gmp->dname, C_FILESEP, ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from browse.c:43: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 501) into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o random.o random.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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:73:78: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size between 0 and 46 [-Wformat-truncation=] snprintf(buffer,sizeof(buffer),"line %d of %d (%d%%%%), character %ld of %ld (%d%%%%)", ^~~ random.c:73:36: note: directive argument in the range [0, 9223372036854775807] snprintf(buffer,sizeof(buffer),"line %d of %d (%d%%%%), character %ld of %ld (%d%%%%)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from random.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 42 and 116 bytes into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ random.c:73:5: warning: 'thisline' may be used uninitialized in this function [-Wmaybe-uninitialized] snprintf(buffer,sizeof(buffer),"line %d of %d (%d%%%%), character %ld of %ld (%d%%%%)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thisline+1, lines+1, (int)((100L*(thisline+1))/(lines+1)), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nbc, nch, (nch) ? (int)((100L*nbc)/nch) : 0); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pico.o pico.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o window.o window.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o region.o region.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o utf8stub.o utf8stub.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o display.o display.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' display.c: In function 'update': display.c:428:13: warning: unused variable 'quoted' [-Wunused-variable] int quoted; ^~~~~~ display.c: In function 'updatelinecolor': display.c:1000:17: warning: unused variable 'qcolor' [-Wunused-variable] COLOR_PAIR *qcolor = NULL, *lastc = NULL, *pcolor = NULL; ^~~~~~ display.c:998:21: warning: unused variable 'quote_found' [-Wunused-variable] int in_quote, quote_found = 0, level; ^~~~~~~~~~~ display.c:995:47: warning: unused variable 'cp7' [-Wunused-variable] CELL *cp1, *cp2, *cp3, *cp4, *cp5, *cp6, *cp7; ^~~ display.c:995:41: warning: unused variable 'cp6' [-Wunused-variable] CELL *cp1, *cp2, *cp3, *cp4, *cp5, *cp6, *cp7; ^~~ display.c: In function 'speller_choice': display.c:1593:8: warning: unused variable 'utf8_prompt' [-Wunused-variable] char *utf8_prompt; ^~~~~~~~~~~ display.c:1591:6: warning: variable 'buf' set but not used [-Wunused-but-set-variable] UCS buf[128]; ^~~ display.c: In function 'mlchoose': display.c:1644:14: warning: unused variable 'changed' [-Wunused-variable] int changed = FALSE; ^~~~~~~ display.c: In function 'mlreplyd': display.c:2215:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = GetAccent()) ^ 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 $"; ^~~~~ display.c: In function 'modeline.part.8': display.c:1400:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 494 [-Wformat-truncation=] snprintf(t2, sizeof(t2), "File: %s", bp->b_fname); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from display.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 4102 bytes into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:1437:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 500 [-Wformat-truncation=] snprintf(t2, sizeof(t2), "%s", bp->b_fname); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from headers.h:30, from display.c:38: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 500 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function 'window_signature_block': display.c:397:7: warning: 'is_sig_start' may be used uninitialized in this function [-Wmaybe-uninitialized] if(is_sig_start == 0) in_sig = 0; ^ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o word.o word.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' word.c: In function 'fillpara': word.c:669:19: warning: unused variable 'qstr2' [-Wunused-variable] UCS *qstr, qstr2[NSTRING], c; ^~~~~ word.c: In function 'fpnewline': word.c:1202:6: warning: unused variable 'ww' [-Wunused-variable] int ww; ^~ 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pilot.o pilot.c make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' 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 $"; ^~~~~ make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o search.o search.c search.c: In function 'forwsearch': search.c:441:42: warning: the address of 'defpat' will always evaluate as 'true' [-Waddress] utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, flags & SR_BACKWRD); ^ search.c: In function 'replace_pat': search.c:483:11: warning: unused variable 'i' [-Wunused-variable] int i, flags; ^ 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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o composer.o composer.c composer.c: In function 'LineEdit': composer.c:2101:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ch = GetAccent()) ^~ 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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' 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 make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' gcc -DHAVE_CONFIG_H -I../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o main.o main.c main.c: In function 'main': main.c:288:8: warning: the address of 'opertree' will always evaluate as 'true' [-Waddress] if(opertree && opertree[0]){ ^~~~~~~~ main.c: In function 'display_color_codes': main.c:523:9: warning: unused variable 'fg' [-Wunused-variable] char *fg; ^~ main.c:520:38: warning: unused variable 'row' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^~~ main.c:520:27: warning: unused variable 'len_entry' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^~~~~~~~~ main.c:520:22: warning: unused variable 'len' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^~~ main.c:520:10: warning: unused variable 'j' [-Wunused-variable] int i, j, k, l, a, len, len_entry, row; ^ 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 $"; ^~~~~ make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' Making all in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' echo "char datestamp[]="\"Sun Oct 11 12:34:37 UTC 2020\"";" > date.c echo "char hoststamp[]="\"\"";" >> date.c echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c cat ../patchlevel >> date.c make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' /usr/bin/make all-recursive Making all in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o jobcntrl.o jobcntrl.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o diskquot.non.o diskquot.non.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o execview.o execview.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o fltrname.o fltrname.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' 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 $"; ^~~~~ fltrname.c: In function 'filter_filename': fltrname.c:94:37: warning: '" not allowed in file name' directive output may be truncated writing 26 bytes into a region of size between 11 and 80 [-Wformat-truncation=] "Character \"%s\" after \"%.*s\" not allowed in file name", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../../include/system.h:31, from fltrname.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 47 and 116 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o chnge_pw.o chnge_pw.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' chnge_pw.c: In function 'change_passwd': chnge_pw.c:59:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(cmd_buf); ^~~~~~~~~~~~~~~ At top level: chnge_pw.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: chnge_pw.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' gcc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' In file included from print.c:36: print.c: In function 'open_printer': print.c:337:17: warning: the address of 'command' will always evaluate as 'true' [-Waddress] command ? command : "?")); ^ ../../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ At top level: 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] cur_printer = (cur_printervar.i; ~~~~~~~~~~~~~~~^~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o dispfilt.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o flagmaint.o flagmaint.c In file included from flagmaint.c:25: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o arg.o arg.c arg.c: In function 'pine_args': arg.c:644:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] x.name = cpystr(str); ^ At top level: arg.c:91:13: warning: 'args_err_missing_xoauth_option' defined but not used [-Wunused-variable] static char args_err_missing_xoauth_option[] = N_("at least one of the arguments -xoauth2-server, or -xoauth2-client-id, xoauth2-tenant, or -xoauth2-client-secret is missing."); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o help.o help.c help.c: In function 'helper_internal': help.c:139:35: warning: pointer targets in passing argument 1 of 'http_get' differ in signedness [-Wpointer-sign] help_text = http_get(*shown_text + 14, &status); ~~~~~~~~~~~~^~~~ In file included from ../pith/headers.h:34, from headers.h:25, from help.c:19: ../pith/../c-client/http.h:112:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *http_get(unsigned char *, int *); ^~~~~~~~ help.c:139:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] help_text = http_get(*shown_text + 14, &status); ^ help.c:371:44: warning: value computed is not used [-Wunused-value] for(rv = external_text; *rv != NULL; *rv++) ^~~~~ In file included from mailcmd.h:26, from help.c:25: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o init.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o alpine.o alpine.c alpine.c: In function 'main': alpine.c:1117:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!(url_local_mailto_and_atts(args.url, ^~ alpine.c:1121:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' goodnight_gracey(pine_state, 0); ^~~~~~~~~~~~~~~~ alpine.c: In function 'process_init_cmds': alpine.c:3137:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (i > 1) ^~ alpine.c:3140:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ps->initial_cmds[i] = ps->initial_cmds_backup[i] = 0; ^~ In file included from mailcmd.h:26, from alpine.c:35: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ alpine.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: alpine.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o kblock.o kblock.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o colorconf.o colorconf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from context.h:23, from conftype.h:24, from colorconf.h:21, from colorconf.c:21: colorconf.c: In function 'color_text_tool': ../pith/conf.h:865: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:2582: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:2582:12: warning: variable 'fg_is_custom' set but not used [-Wunused-but-set-variable] int i, fg_is_custom = 1, bg_is_custom = 1; ^~~~~~~~~~~~ In file included from context.h:23, from conftype.h:24, from colorconf.h:21, from colorconf.c:21: colorconf.c: In function 'color_edit_screen': ../pith/conf.h:865: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:2839:10: note: in expansion of macro 'APVAL' apval = APVAL(&v, ew); ^~~~~ In file included from colorconf.c:31: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ colorconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: colorconf.c 934 2008-02-23 00:44:29Z hubert@u.washington.edu $"; ^~~~~ colorconf.c: In function 'color_edit_screen': colorconf.c:2799:35: warning: ' Color =' directive output may be truncated writing 8 bytes into a region of size between 2 and 1201 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s Color =", name[0] ? name : "?"); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from colorconf.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 1208 bytes into a destination of size 1201 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o imap.o imap.c In file included from imap.c:42: xoauth2.h:18:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define GMAIL_NAME "Gmail" ^~~~~~~ imap.c:148:4: note: in expansion of macro 'GMAIL_NAME' {GMAIL_NAME, ^~~~~~~~~~ xoauth2.h:18:20: note: (near initialization for 'alpine_oauth2_list[0].name') #define GMAIL_NAME "Gmail" ^~~~~~~ imap.c:148:4: note: in expansion of macro 'GMAIL_NAME' {GMAIL_NAME, ^~~~~~~~~~ imap.c:163:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {{"GET", "https://accounts.google.com/o/oauth2/auth", /* authorization address, get access code */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:163:13: note: (near initialization for 'alpine_oauth2_list[0].server_mthd[0].urlserver') imap.c:166:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://accounts.google.com/o/oauth2/token", /* Address to get refresh token from access code */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:166:14: note: (near initialization for 'alpine_oauth2_list[0].server_mthd[2].urlserver') imap.c:168:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://accounts.google.com/o/oauth2/token", /* access token from refresh token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:168:14: note: (near initialization for 'alpine_oauth2_list[0].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:23:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define OUTLOOK_NAME "Outlook" ^~~~~~~~~ imap.c:180:4: note: in expansion of macro 'OUTLOOK_NAME' {OUTLOOK_NAME, ^~~~~~~~~~~~ xoauth2.h:23:22: note: (near initialization for 'alpine_oauth2_list[1].name') #define OUTLOOK_NAME "Outlook" ^~~~~~~~~ imap.c:180:4: note: in expansion of macro 'OUTLOOK_NAME' {OUTLOOK_NAME, ^~~~~~~~~~~~ imap.c:196:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/devicecode", /* first time use and get device code information */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:196:14: note: (near initialization for 'alpine_oauth2_list[1].server_mthd[1].urlserver') imap.c:198:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get first Refresh Token and Access token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:198:14: note: (near initialization for 'alpine_oauth2_list[1].server_mthd[2].urlserver') imap.c:200:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get access token from refresh token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:200:14: note: (near initialization for 'alpine_oauth2_list[1].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:23:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define OUTLOOK_NAME "Outlook" ^~~~~~~~~ imap.c:212:4: note: in expansion of macro 'OUTLOOK_NAME' {OUTLOOK_NAME, ^~~~~~~~~~~~ xoauth2.h:23:22: note: (near initialization for 'alpine_oauth2_list[2].name') #define OUTLOOK_NAME "Outlook" ^~~~~~~~~ imap.c:212:4: note: in expansion of macro 'OUTLOOK_NAME' {OUTLOOK_NAME, ^~~~~~~~~~~~ imap.c:227:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {{"GET", "https://login.microsoftonline.com/\001/oauth2/v2.0/authorize", /* Get Access Code */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:227:13: note: (near initialization for 'alpine_oauth2_list[2].server_mthd[0].urlserver') imap.c:230:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get first Refresh Token and Access token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:230:14: note: (near initialization for 'alpine_oauth2_list[2].server_mthd[2].urlserver') imap.c:232:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://login.microsoftonline.com/\001/oauth2/v2.0/token", /* Get access token from refresh token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:232:14: note: (near initialization for 'alpine_oauth2_list[2].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:33:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define YAHOO_NAME "Yahoo!" ^~~~~~~~ imap.c:244:4: note: in expansion of macro 'YAHOO_NAME' {YAHOO_NAME, ^~~~~~~~~~ xoauth2.h:33:22: note: (near initialization for 'alpine_oauth2_list[3].name') #define YAHOO_NAME "Yahoo!" ^~~~~~~~ imap.c:244:4: note: in expansion of macro 'YAHOO_NAME' {YAHOO_NAME, ^~~~~~~~~~ imap.c:259:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {{"GET", "https://api.login.yahoo.com/oauth2/request_auth", /* Get Access Code */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:259:13: note: (near initialization for 'alpine_oauth2_list[3].server_mthd[0].urlserver') imap.c:262:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://api.login.yahoo.com/oauth2/get_token", /* Get first Refresh Token and Access token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:262:14: note: (near initialization for 'alpine_oauth2_list[3].server_mthd[2].urlserver') imap.c:264:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://api.login.yahoo.com/oauth2/get_token", /* Get access token from refresh token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:264:14: note: (near initialization for 'alpine_oauth2_list[3].server_mthd[3].urlserver') In file included from imap.c:42: xoauth2.h:28:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define YANDEX_NAME "Yandex" ^~~~~~~~ imap.c:276:4: note: in expansion of macro 'YANDEX_NAME' {YANDEX_NAME, ^~~~~~~~~~~ xoauth2.h:28:23: note: (near initialization for 'alpine_oauth2_list[4].name') #define YANDEX_NAME "Yandex" ^~~~~~~~ imap.c:276:4: note: in expansion of macro 'YANDEX_NAME' {YANDEX_NAME, ^~~~~~~~~~~ imap.c:291:13: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {{"GET", "https://oauth.yandex.com/authorize", /* Get Access Code */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:291:13: note: (near initialization for 'alpine_oauth2_list[4].server_mthd[0].urlserver') imap.c:294:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://oauth.yandex.com/token", /* Get first Refresh Token and Access token */ ^~~~~~~~~~~~~~~~~~~~~make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' ~~~~~~~~~~~ imap.c:294:14: note: (near initialization for 'alpine_oauth2_list[4].server_mthd[2].urlserver') imap.c:296:14: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] {"POST", "https://oauth.yandex.com/token", /* Get access token from refresh token */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:296:14: note: (near initialization for 'alpine_oauth2_list[4].server_mthd[3].urlserver') imap.c:147:1: warning: missing braces around initializer [-Wmissing-braces] { ^ imap.c:147:1: warning: missing braces around initializer [-Wmissing-braces] imap.c: In function 'oauth2_select_flow': imap.c:400:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] n += strlen(oa2list->name); + 5; /* number, parenthesis, space */ ~~~~~~~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ imap.c:399:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(oa2list = alpine_oauth2_list; oa2list && oa2list->name ;oa2list++) ^~~ imap.c:400:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' n += strlen(oa2list->name); + 5; /* number, parenthesis, space */ ^ imap.c:400:40: warning: statement with no effect [-Wunused-value] imap.c:406:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = 0; oa2list && oa2list->host && oa2list->host[i] && strucmp(oa2list->host[i], host); i++); ^~~ imap.c:407:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(oa2list && oa2list->host && i < OAUTH2_TOT_EQUIV && oa2list->host[i]) ^~ imap.c: In function 'oauth2_set_device_info': imap.c:469:17: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] char *name = oa2->name; ^~~ In file included from osdep/../../pith/../pith/../pith/../pith/remtype.h:20, from osdep/../../pith/../pith/../pith/conftype.h:22, from osdep/../../pith/../pith/state.h:21, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from imap.c:28: imap.c:504:33: warning: pointer targets in passing argument 2 of 'in_store->puts' differ in signedness [-Wpointer-sign] so_puts(in_store, deviceinfo->message); osdep/../../pith/../pith/../pith/../pith/../pith/store.h:56:47: note: in definition of macro 'so_puts' #define so_puts(so, s) ((*(so)->puts)((so), (s))) ^ imap.c:504:33: note: expected 'char *' but argument is of type 'unsigned char *' so_puts(in_store, deviceinfo->message); osdep/../../pith/../pith/../pith/../pith/../pith/store.h:56:47: note: in definition of macro 'so_puts' #define so_puts(so, s) ((*(so)->puts)((so), (s))) ^ imap.c:567:27: warning: unused variable 'token' [-Wunused-variable] char prompt[MAILTMPLEN], token[MAILTMPLEN]; ^~~~~ imap.c:567:7: warning: unused variable 'prompt' [-Wunused-variable] char prompt[MAILTMPLEN], token[MAILTMPLEN]; ^~~~~~ imap.c:565:17: warning: variable 'q_line' set but not used [-Wunused-but-set-variable] int flags, rc, q_line; ^~~~~~ imap.c:565:13: warning: unused variable 'rc' [-Wunused-variable] int flags, rc, q_line; ^~ imap.c:565:6: warning: variable 'flags' set but not used [-Wunused-but-set-variable] int flags, rc, q_line; ^~~~~ imap.c:468:10: warning: unused variable 'code' [-Wunused-variable] char *code; ^~~~ imap.c: In function 'oauth2_get_access_code': imap.c:673:26: warning: pointer targets in passing argument 1 of 'strucmp' differ in signedness [-Wpointer-sign] if(strucmp(oauth2->name, GMAIL_NAME) == 0){ ~~~~~~^~~~~~ In file included from ../pith/headers.h:40, from headers.h:25, from imap.c:28: ../pith/osdep/collate.h:25:7: note: expected 'char *' but argument is of type 'unsigned char *' int strucmp(char *, char *); ^~~~~~~ imap.c: In function 'mm_login_oauth2': imap.c:1026:66: warning: pointer targets in passing argument 1 of 'set_alpine_id' differ in signedness [-Wpointer-sign] ps_global->id = set_alpine_id(oa2list->app_id ? oa2list->app_id : PACKAGE_NAME, PACKAGE_VERSION); In file included from imap.c:30: imap.h:34:9: note: expected 'unsigned char *' but argument is of type 'char *' IDLIST *set_alpine_id(unsigned char *, unsigned char *); ^~~~~~~~~~~~~ In file included from ../include/system.h:26, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: ../include/config.h:543:25: warning: pointer targets in passing argument 2 of 'set_alpine_id' differ in signedness [-Wpointer-sign] #define PACKAGE_VERSION "2.24" ^~~~~~ imap.c:1026:82: note: in expansion of macro 'PACKAGE_VERSION' ps_global->id = set_alpine_id(oa2list->app_id ? oa2list->app_id : PACKAGE_NAME, PACKAGE_VERSION); ^~~~~~~~~~~~~~~ In file included from imap.c:30: imap.h:34:9: note: expected 'unsigned char *' but argument is of type 'char *' IDLIST *set_alpine_id(unsigned char *, unsigned char *); ^~~~~~~~~~~~~ imap.c:1107:16: warning: unused variable 'i' [-Wunused-variable] int nmethods, i, j; ^ imap.c:908:37: warning: unused variable 'save_dont_use' [-Wunused-variable] int oespace, avail, need, save_dont_use; ^~~~~~~~~~~~~ imap.c:908:31: warning: unused variable 'need' [-Wunused-variable] int oespace, avail, need, save_dont_use; ^~~~ imap.c:908:24: warning: unused variable 'avail' [-Wunused-variable] int oespace, avail, need, save_dont_use; ^~~~~ imap.c:908:15: warning: unused variable 'oespace' [-Wunused-variable] int oespace, avail, need, save_dont_use; ^~~~~~~ imap.c:907:20: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int len, rc, q_line, flags, i, j; ^~ imap.c:906:15: warning: unused variable 'help' [-Wunused-variable] HelpType help ; ^~~~ imap.c:896:15: warning: unused variable 'tool' [-Wunused-variable] char *tool = NULL; ^~~~ imap.c:895:15: warning: unused variable 'url_oauth2' [-Wunused-variable] char *url_oauth2; ^~~~~~~~~~ imap.c:894:30: warning: unused variable 'pwleadin' [-Wunused-variable] char logleadin[80], pwleadin[50]; ^~~~~~~~ imap.c:894:15: warning: unused variable 'logleadin' [-Wunused-variable] char logleadin[80], pwleadin[50]; ^~~~~~~~~ imap.c:893:46: warning: unused variable 'defubuf' [-Wunused-variable] char hostleadin[80], hostname[200], defubuf[200]; ^~~~~~~ imap.c:893:31: warning: unused variable 'hostname' [-Wunused-variable] char hostleadin[80], hostname[200], defubuf[200]; ^~~~~~~~ imap.c:893:15: warning: unused variable 'hostleadin' [-Wunused-variable] char hostleadin[80], hostname[200], defubuf[200]; ^~~~~~~~~~ imap.c:892:15: warning: unused variable 'defuser' [-Wunused-variable] char defuser[NETMAXUSER]; ^~~~~~~ imap.c:891:59: warning: unused variable 'last' [-Wunused-variable] char prompt[4*MAILTMPLEN], value[4*MAILTMPLEN], *last; ^~~~ imap.c:891:37: warning: unused variable 'value' [-Wunused-variable] char prompt[4*MAILTMPLEN], value[4*MAILTMPLEN], *last; ^~~~~ imap.c: In function 'set_alpine_id': imap.c:1236:23: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] id->value = cpystr(pname); ^~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from imap.c:28: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ imap.c:1239:29: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] id->next->value = cpystr(pversion); ^~~~~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from imap.c:28: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ In file included from ../include/system.h:26, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: imap.c: In function 'mm_login_work': ../include/config.h:531:22: warning: pointer targets in passing argument 1 of 'set_alpine_id' differ in signedness [-Wpointer-sign] #define PACKAGE_NAME "alpine" ^~~~~~~~ imap.c:1507:35: note: in expansion of macro 'PACKAGE_NAME' ps_global->id = set_alpine_id(PACKAGE_NAME, PACKAGE_VERSION); ^~~~~~~~~~~~ imap.c:1228:1: note: expected 'unsigned char *' but argument is of type 'char *' set_alpine_id(unsigned char *pname, unsigned char *pversion) ^~~~~~~~~~~~~ In file included from ../include/system.h:26, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: ../include/config.h:543:25: warning: pointer targets in passing argument 2 of 'set_alpine_id' differ in signedness [-Wpointer-sign] #define PACKAGE_VERSION "2.24" ^~~~~~ imap.c:1507:49: note: in expansion of macro 'PACKAGE_VERSION' ps_global->id = set_alpine_id(PACKAGE_NAME, PACKAGE_VERSION); ^~~~~~~~~~~~~~~ imap.c:1228:1: note: expected 'unsigned char *' but argument is of type 'char *' set_alpine_id(unsigned char *pname, unsigned char *pversion) ^~~~~~~~~~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from imap.c:28: imap.c:1520:19: warning: the address of 'non_def_port' will always evaluate as 'true' [-Waddress] non_def_port ? non_def_port : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ imap.c: In function 'read_passfile': imap.c:3634:41: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] dprint((10, "read_passfile: %s\n", tmp ? tmp : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ imap.c:3501:17: warning: unused variable 'sbuf' [-Wunused-variable] struct stat sbuf; ^~~~ In file included from ../pith/headers.h:63, from headers.h:25, from imap.c:28: imap.c: In function 'write_passfile': imap.c:3845:40: warning: the address of 'tmp' will always evaluate as 'true' [-Waddress] dprint((10, "write_passfile: %s", tmp ? tmp : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ imap.c: In function 'mm_diskerror': imap.c:2327:6: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system("csh"); ^~~~~~~~~~~~~ imap.c: In function 'read_passfile': imap.c:3544:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tmp2, sizeof(tmp2), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26, from imap.c:33: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ imap.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: imap.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ imap.c: In function 'oauth2_select_flow': imap.c:417:25: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] rv = (sel >= 0 && sel < i) ? 0 : -1; ~~~~~~~~~~^~~~~~~~~~~ imap.c: In function 'oauth2_get_access_code': imap.c:840:11: warning: 'code' may be used uninitialized in this function [-Wmaybe-uninitialized] return code; ^~~~ imap.c: In function 'write_passfile': imap.c:3840:42: warning: '%s' directive output may be truncated writing up to 10239 bytes into a region of size 10237 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%s\t%s\t%s\t%s%s%s\n", l->passwd, l->user, ^~ l->hosts->name, blob, ~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from imap.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 5 or more bytes (assuming 10245) into a destination of size 10240 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o listsel.o listsel.c 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o keymenu.o keymenu.c keymenu.c: In function 'output_keymenu': keymenu.c:3192:5: warning: the address of 'this_label' will always evaluate as 'true' [-Waddress] && this_label && !strcmp(this_label,last_time->label) ^~ keymenu.c:3314:8: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while(keystr[len-1] == SPACE) ^~~~~ keymenu.c:3316:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' len--; ^~~ keymenu.c: In function 'print_inverted_label': keymenu.c:4183:8: warning: the address of 'prename' will always evaluate as 'true' [-Waddress] if(prename) ^~~~~~~ keymenu.c:4186:8: warning: the address of 'namepart' will always evaluate as 'true' [-Waddress] if(namepart){ ^~~~~~~~ keymenu.c:4193:8: warning: the address of 'labelpart' will always evaluate as 'true' [-Waddress] if(labelpart){ ^~~~~~~~~ In file included from mailcmd.h:26, from keymenu.c:21: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ keymenu.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: keymenu.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o confscroll.o confscroll.c confscroll.c: In function 'conf_scroll_screen': confscroll.c:472:23: warning: unused variable 'k' [-Wunused-variable] int cmd, i, j, k = 1, done = 0, changes = 0; ^ In file included from confscroll.c:55: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26, from confscroll.c:31: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ confscroll.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: confscroll.c 1169 2008-08-27 06:42:06Z hubert@u.washington.edu $"; ^~~~~ confscroll.c: In function 'text_pretty_value': confscroll.c:3989: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:3993:9: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] p += utf8_to_width(p, pval, sizeof(tmp)-(p-tmp), avail_width, &got_width); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ confscroll.c:4049:51: warning: 'lvalexc' may be used uninitialized in this function [-Wmaybe-uninitialized] for(lval = the_list; avail_width-(p-tmp) > 0 && *lval; lval++){ ^~~~~ confscroll.c: In function 'update_option_screen': confscroll.c:3232:9: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] char *p; ^ confscroll.c: In function 'text_toolit': confscroll.c:1981:27: warning: 'incr' may be used uninitialized in this function [-Wmaybe-uninitialized] numval = MAX(numval - incr, lowrange); ^ confscroll.c:2328:31: warning: 'hirange' may be used uninitialized in this function [-Wmaybe-uninitialized] _("Maximum value is %s"), comatose(hirange)); ^~~~~~~~~~~~~~~~~ confscroll.c:2311:31: warning: 'lowrange' may be used uninitialized in this function [-Wmaybe-uninitialized] _("Minimum value is %s"), comatose(lowrange)); ^~~~~~~~~~~~~~~~~~ confscroll.c:2415:18: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] swap_val = (*alval)[curindex]; ~^~~~~~~ confscroll.c:1824:22: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] && lval && lval[0] && lval[0][0] ~~~~^~~ confscroll.c:2101:9: warning: 'apval' may be used uninitialized in this function [-Wmaybe-uninitialized] fs_give((void **)apval); ^~~~~~~~~~~~~~~~~~~~~~~ confscroll.c:2076:10: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] ? (!*pval) ^~~~~ confscroll.c: In function 'radiobutton_tool': confscroll.c:2868:5: warning: 'old_cs' may be used uninitialized in this function [-Wmaybe-uninitialized] if(old_cs != ps->color_style){ ^ confscroll.c:2893:5: warning: 'old_uc' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!old_uc && pico_usingcolor()){ ^ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o adrbkcmd.o adrbkcmd.c adrbkcmd.c: In function 'convert_abook_to_remote': adrbkcmd.c:2189:27: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] snprintf(nick, sizeof(nick), "Remote %s", ^ In file included from ../pith/headers.h:63, from headers.h:25, from adrbkcmd.c:25: adrbkcmd.c: In function 'ab_export': adrbkcmd.c:4275:19: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] full_filename ? full_filename : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ adrbkcmd.c:4469:23: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] full_filename ? full_filename : "?", ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ In file included from mailcmd.h:26, from adrbkcmd.c:32: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ adrbkcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: adrbkcmd.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ adrbkcmd.c: In function 'view_abook_entry': adrbkcmd.c:348:21: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] as.cur_row = old_cur_row; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ adrbkcmd.c:347:21: warning: 'old_top_ent' may be used uninitialized in this function [-Wmaybe-uninitialized] as.top_ent = old_top_ent; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ adrbkcmd.c:346:44: warning: 'old_l_p_p' may be used uninitialized in this function [-Wmaybe-uninitialized] if(sargs.proc.data.i != VIEW_ABOOK_WARPED && old_l_p_p == as.l_p_page){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~~~~~~~~~~~~~~~ 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] ~~~~~~~~~^~~~~ adrbkcmd.c: In function 'ab_export': adrbkcmd.c:4473:15: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] filename, error_description(orig_errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adrbkcmd.c: In function 'ab_agg_delete': adrbkcmd.c:6215:10: warning: 'newelnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if(num >= 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 : ""; ~~~~~~~~~~~~~~^~~~ adrbkcmd.c: In function 'convert_abook_to_remote': adrbkcmd.c:2189:43: warning: '%s' directive output may be truncated writing likely 12 or more bytes into a region of size 1 [-Wformat-truncation=] snprintf(nick, sizeof(nick), "Remote %s", ^~ adrbkcmd.c:2189:35: note: assuming directive output of 12 bytes snprintf(nick, sizeof(nick), "Remote %s", ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from adrbkcmd.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 20) into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newuser.o newuser.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pattern.o pattern.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' 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 $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o folder.o folder.c folder.c: In function 'folder_import': folder.c:3908: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:4121:6: warning: the address of 'mdmbox' will always evaluate as 'true' [-Waddress] if(mdmbox ^~~~~~ folder.c:4913:6: warning: the address of 'nickname' will always evaluate as 'true' [-Waddress] if(nickname && nickname[0]){ ^~~~~~~~ folder.c: In function 'delete_folder': folder.c:5849:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((fp = folder_entry(index, FOLDERS(context))) ^~ folder.c:5852:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' next_folder[len-1] = '\0'; ^~~~~~~~~~~ In file included from mailcmd.h:26, from folder.c:40: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ folder.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: folder.c 1144 2008-08-14 16:53:34Z hubert@u.washington.edu $"; ^~~~~ folder.c: In function 'use_color_for_folder': folder.c:2181:4: warning: 'test2' may be used uninitialized in this function [-Wmaybe-uninitialized] return (fp->isdir && fp->isfolder) ? test1 + test2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : (fp->isdir ? test1 : (fp->isfolder? test2 : 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ folder.c:2181:4: warning: 'test1' may be used uninitialized in this function [-Wmaybe-uninitialized] folder.c: In function 'folder_lister_fullname': folder.c:3578:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "%.*s%.*s", ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from folder.c:32: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 2049 bytes into a destination of size 2048 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ folder.c: In function 'add_new_folder': folder.c:4905:59: warning: 'alval' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!inbox && add_folder && add_folder[0] && alval && *alval && (*alval)[offset]){ ^~~~~~ folder.c:4894:11: warning: 'apval' may be used uninitialized in this function [-Wmaybe-uninitialized] *apval = cpystr(add_folder); ~~~~~~~^~~~~~~~~~~~~~~~~~~~ folder.c: In function 'group_subscription': folder.c:5116:9: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] if(f){ ^ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o pipe.o 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o addrbook.o addrbook.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from addrbook.c:29: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ addrbook.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: addrbook.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ 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; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ addrbook.c: In function 'resync_screen': addrbook.c:6220:8: warning: 'old_global_row' may be used uninitialized in this function [-Wmaybe-uninitialized] warp_to_dlc(&dlc_restart, old_global_row); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addrbook.c:6219:8: warning: 'old_entry_num' may be used uninitialized in this function [-Wmaybe-uninitialized] if(old_entry_num == new_entry_num) ^ addrbook.c: In function 'addr_book': addrbook.c:3396:18: warning: 'old_cur_row' may be used uninitialized in this function [-Wmaybe-uninitialized] as.cur_row = old_cur_row; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ addrbook.c:3395:18: warning: 'old_top_ent' may be used uninitialized in this function [-Wmaybe-uninitialized] as.top_ent = old_top_ent; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~ addrbook.c:3394:17: warning: 'old_l_p_p' may be used uninitialized in this function [-Wmaybe-uninitialized] if(!warped && old_l_p_p == as.l_p_page){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ addrbook.c:3874:19: warning: 'def_key' may be used uninitialized in this function [-Wmaybe-uninitialized] switch(km->keys[def_key].bind.cmd){ ^ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o remote.o remote.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' remote.c: In function 'rd_metadata_name': remote.c:315:33: warning: the address of 'pinerc_dir' will always evaluate as 'true' [-Waddress] build_path(path, pinerc_dir ? pinerc_dir : NULL, ^ At top level: remote.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: remote.c 1032 2008-04-11 00:30:04Z hubert@u.washington.edu $"; ^~~~~ 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); ~~^~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o ldapconf.o ldapconf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from context.h:23, from conftype.h:24, from ldapconf.h:21, from ldapconf.c:20: ldapconf.c: In function 'dir_edit_screen': ../pith/conf.h:865:25: warning: the address of 'server_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1215:13: note: in expansion of macro 'APVAL' apval = APVAL(&server_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'base_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1222:13: note: in expansion of macro 'APVAL' apval = APVAL(&base_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'port_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1230:10: note: in expansion of macro 'APVAL' apval = APVAL(&port_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'binddn_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1240:13: note: in expansion of macro 'APVAL' apval = APVAL(&binddn_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1247:13: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1254:13: note: in expansion of macro 'APVAL' apval = APVAL(&srch_type_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_rule_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1265:13: note: in expansion of macro 'APVAL' apval = APVAL(&srch_rule_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'time_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1276:10: note: in expansion of macro 'APVAL' apval = APVAL(&time_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'size_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1287:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'mailattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1297:13: note: in expansion of macro 'APVAL' apval = APVAL(&mailattr_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1306:13: note: in expansion of macro 'APVAL' apval = APVAL(&cnattr_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'snattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1315:13: note: in expansion of macro 'APVAL' apval = APVAL(&snattr_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'gnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1324:13: note: in expansion of macro 'APVAL' apval = APVAL(&gnattr_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cust_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1333:13: note: in expansion of macro 'APVAL' apval = APVAL(&cust_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'server_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1811:10: note: in expansion of macro 'APVAL' apval = APVAL(&server_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'base_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1815:10: note: in expansion of macro 'APVAL' apval = APVAL(&base_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'port_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1819:10: note: in expansion of macro 'APVAL' apval = APVAL(&port_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'binddn_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1823:10: note: in expansion of macro 'APVAL' apval = APVAL(&binddn_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'nick_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1827:10: note: in expansion of macro 'APVAL' apval = APVAL(&nick_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1831:10: note: in expansion of macro 'APVAL' apval = APVAL(&srch_type_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'srch_rule_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1835:10: note: in expansion of macro 'APVAL' apval = APVAL(&srch_rule_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'time_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1839:10: note: in expansion of macro 'APVAL' apval = APVAL(&time_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'size_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1843:10: note: in expansion of macro 'APVAL' apval = APVAL(&size_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cust_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1847:10: note: in expansion of macro 'APVAL' apval = APVAL(&cust_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'mailattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1851:10: note: in expansion of macro 'APVAL' apval = APVAL(&mailattr_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'snattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1855:10: note: in expansion of macro 'APVAL' apval = APVAL(&snattr_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'gnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1859:10: note: in expansion of macro 'APVAL' apval = APVAL(&gnattr_var, ew); ^~~~~ ../pith/conf.h:865:25: warning: the address of 'cnattr_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ ldapconf.c:1863:10: note: in expansion of macro 'APVAL' apval = APVAL(&cnattr_var, ew); ^~~~~ In file included from ldapconf.c:31: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ ldapconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: ldapconf.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ ldapconf.c: In function 'dir_config_shuffle': ldapconf.c:1031:15: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] b->varmem = j; ~~~~~~~~~~^~~ ldapconf.c:1030:15: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized] a->varmem = b->varmem; ~~~~~~~~~~^~~~~~~~~~~ ldapconf.c:1004:10: warning: 'new_num' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (i == new_num) ^ ldapconf.c: In function 'dir_edit_screen': ldapconf.c:1961:136: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 2123 and 2124 [-Wformat-truncation=] snprintf(dir_tmp, sizeof(dir_tmp), "%s%s%s \"/base=%s/binddn=%s/impl=%d/rhs=%d/ref=%d/nosub=%d/tls=%d/tlsm=%d/ldaps=%d/type=%s/srch=%s%s/time=%s/size=%s/cust=%s/nick=%s/matr=%s/catr=%s/satr=%s/gatr=%s\"", ^~ ldapconf.c:1976:3: custom_scope, ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from ldapconf.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 126 or more bytes (assuming 4222) into a destination of size 2200 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o radio.o radio.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from radio.c:24: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ radio.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: radio.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o print.o print.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from print.c:26: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ print.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: print.c 769 2007-10-24 00:15:40Z hubert@u.washington.edu $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailindx.o mailindx.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' mailindx.c: In function 'index_lister': mailindx.c:1004:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ mailindx.c:1012:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' break; ^~~~~ mailindx.c:1096: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:2799:18: warning: unused variable 'branch' [-Wunused-variable] unsigned long branch; ^~~~~~ mailindx.c:2870:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(branch = get_branch(stream,thrd)) ^~~~~~ mailindx.c:2872:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] else if(next = get_next(stream,thrd)) ^~~~ In file included from mailcmd.h:26, from mailindx.c:21: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 osdep/../../pith/../pith/../pith/indxtype.h:22, from osdep/../../pith/../pith/state.h:22, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from mailindx.c:19: mailindx.c: In function 'index_scroll_to_pos': osdep/../../pith/../pith/../pith/../pith/msgno.h:36:35: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] (p)->select[(p)->sel_cur] = (m); \ ^ mailindx.c:2534:16: note: 'k' was declared here long i, j, k; ^ In file included from osdep/../../pith/../pith/../pith/indxtype.h:22, from osdep/../../pith/../pith/state.h:22, from osdep/../../pith/help.h:21, from osdep/../help.h:21, from osdep/../radio.h:22, from osdep/termin.gen.h:21, from headers.h:58, from mailindx.c:19: mailindx.c: In function 'index_lister': osdep/../../pith/../pith/../pith/../pith/msgno.h:36:35: warning: 'new_cur' may be used uninitialized in this function [-Wmaybe-uninitialized] (p)->select[(p)->sel_cur] = (m); \ ^ mailindx.c:845:13: note: 'new_cur' was declared here int new_cur; ^~~~~~~ mailindx.c:817:10: warning: 'topthrd' may be used uninitialized in this function [-Wmaybe-uninitialized] set_thread_lflags(stream, topthrd, msgmap, MN_CHID, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailindx.c:472:4: warning: 'paint_status' may be used uninitialized in this function [-Wmaybe-uninitialized] if(paint_status) ^ mailindx.c:514:2: warning: 'cur_col' may be used uninitialized in this function [-Wmaybe-uninitialized] MoveCursor(cur_row, cur_col); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailpart.o mailpart.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from ../pith/headers.h:63, from headers.h:25, from mailpart.c:25: mailpart.c: In function 'write_attachment': mailpart.c:1328:14: warning: the address of 'filename' will always evaluate as 'true' [-Waddress] filename ? filename : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ mailpart.c:1315:39: warning: variable 'we_cancel' set but not used [-Wunused-but-set-variable] int r, rflags = GER_NONE, we_cancel = 0, flags; ^~~~~~~~~ mailpart.c: In function 'display_attachment': mailpart.c:2307:8: warning: the address of 'sender_filename' will always evaluate as 'true' [-Waddress] if(sender_filename){ ^~~~~~~~~~~~~~~ mailpart.c: In function 'display_vevent_summary': mailpart.c:3101:51: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] b = mail_body(ps_global->mail_stream, msgno, a->number); ~^~~~~~~~ In file included from ../pith/headers.h:28, from headers.h:25, from mailpart.c:25: ../pith/../c-client/mail.h:1780:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^~~~~~~~~ mailpart.c:3105:32: warning: pointer targets in passing argument 1 of 'rfc822_base64' differ in signedness [-Wpointer-sign] caltext = rfc822_base64(b64text, strlen(b64text), &callen); ^~~~~~~ In file included from ../pith/headers.h:30, from headers.h:25, from mailpart.c:25: ../pith/../c-client/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); ^~~~~~~~~~~~~ mailpart.c:3098:46: warning: unused variable 'p' [-Wunused-variable] char *errstr = NULL, tmp[MAILTMPLEN], *p; ^ mailpart.c:3098:28: warning: unused variable 'tmp' [-Wunused-variable] char *errstr = NULL, tmp[MAILTMPLEN], *p; ^~~ mailpart.c: In function 'write_attached_msg': mailpart.c:1569:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno((FILE *)store->txt), (off_t) start_of_append); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mailcmd.h:26, from mailpart.c:36: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailpart.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailpart.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ mailpart.c: In function 'display_vcard_att': mailpart.c:3077:40: warning: 'cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] while(!errstr && (cmd == MC_RESIZE || cmd == MC_FULLHDR)); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mailpart.c: In function 'display_attachment': mailpart.c:2322:42: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 66 [-Wformat-truncation=] snprintf(prefix, sizeof(prefix), "img-%s-", sender_filename); ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailpart.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 1005 bytes into a destination of size 70 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailpart.c: In function 'attachment_screen': mailpart.c:743:50: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 50 and 51 [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "Word to find %s%s%s: ", ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailpart.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 81 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o signal.o signal.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from mailcmd.h:26, from signal.c:37: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ signal.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: signal.c 1025 2008-04-08 22:59:38Z hubert@u.washington.edu $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o setup.o setup.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' setup.c: In function 'inbox_path_text_tool': setup.c:675:22: warning: variable 'apval' set but not used [-Wunused-but-set-variable] char **apval; ^~~~~ In file included from mailcmd.h:26, from setup.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ setup.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: setup.c 918 2008-01-23 19:39:38Z hubert@u.washington.edu $"; ^~~~~ setup.c: In function 'option_screen': setup.c:469:25: warning: 'ctmpb' may be used uninitialized in this function [-Wmaybe-uninitialized] ctmpa->varnamep = ctmpb; ~~~~~~~~~~~~~~~~~^~~~~~~ setup.c:64:39: warning: 'lval' may be used uninitialized in this function [-Wmaybe-uninitialized] char tmp[MAXPATH+1], *pval, **lval; ^~~~ setup.c:312:13: warning: 'pval' may be used uninitialized in this function [-Wmaybe-uninitialized] decode_sort(pval, &thread_def_sort, &thread_def_sort_rev, 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailview.o mailview.c mailview.c: In function 'scrolltool': mailview.c:3527:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (any_messages(ps_global->msgmap, NULL, ^~ mailview.c:3531:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' done = 1; ^~~~ mailview.c: In function 'visible_linelen': mailview.c:5091:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i < st->line_lengths[line] && n > 0) ^~ mailview.c:5094:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ In file included from mailcmd.h:26, from mailview.c:29: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailview.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailview.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from mailview.c:28: mailview.c: In function 'mail_view_screen': ../pith/debug.h:40:23: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] #define dprint(x) { output_debug_msg x ; } ^~~~~~~~~~~~~~~~ mailview.c:243:21: note: 'env' was declared here ENVELOPE *env; ^~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o status.o status.c In file included from mailcmd.h:26, from status.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ status.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: status.c 840 2007-12-01 01:34:49Z hubert@u.washington.edu $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o reply.o reply.c reply.c: In function 'reply': reply.c:163:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(rule = get_result_rule(V_REPLY_INDENT_RULES, FOR_COMPOSE , env)){ ^~~~ reply.c:110:17: warning: unused variable 'hostpart' [-Wunused-variable] char *hostpart; ^~~~~~~~ reply.c: In function 'reply_text_query': reply.c:1150:14: warning: unused variable 'which_help' [-Wunused-variable] unsigned which_help; ^~~~~~~~~~ reply.c:1097:9: warning: variable 'orig_sf' set but not used [-Wunused-but-set-variable] int orig_sf; ^~~~~~~ In file included from reply.c:66: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26, from reply.c:46: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ reply.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: reply.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ reply.c: In function 'reply': reply.c:371:5: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] reply_seed(pine_state, outgoing, env, saved_from, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ saved_to, saved_cc, saved_resent, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &fcc, flags & RSF_FORCE_REPLY_ALL, &errmsg); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c: In function 'forward': reply.c:1695:13: warning: 'env' may be used uninitialized in this function [-Wmaybe-uninitialized] filtered = detoken(role, (totalmsgs == 1L) ? env : NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0, 0, 0, &redraft_pos, &impl); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reply.c:1858:19: warning: 'msgno' may be used uninitialized in this function [-Wmaybe-uninitialized] && (body = forward_body(ps->mail_stream, env, orig_body, msgno, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL, msgtext, ~~~~~~~~~~~~~~ FWD_NONE)))){ ~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o newmail.o newmail.c newmail.c: In function 'new_mail_mess': newmail.c:157:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", ^~~~ newmail.c:158:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? "rom " : "", ^~~~ newmail.c:159:10: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? from : "", ^~~~ newmail.c:197:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? ((number > 1L) ? " Most recent f" : " F") : "", ^~~~ newmail.c:198:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? "rom " : "", ^~~~ newmail.c:199:6: warning: the address of 'from' will always evaluate as 'true' [-Waddress] from && from[0] ? from : ""); ^~~~ 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 $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o date.o date.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o titlebar.o titlebar.c titlebar.c: In function 'format_titlebar': titlebar.c:429:14: warning: variable 'thd_len' set but not used [-Wunused-but-set-variable] ss_len, thd_len, is_context, avail, extra; ^~~~~~~ At top level: titlebar.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: titlebar.c 1075 2008-06-04 00:19:39Z hubert@u.washington.edu $"; ^~~~~ titlebar.c: In function 'update_titlebar_message': titlebar.c:945:29: warning: 'curnum' may be used uninitialized in this function [-Wmaybe-uninitialized] if(as.cur_mess_col >= 0 && oldnum != curnum){ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpdump.o rpdump.c rpdump.c: In function 'opt_enter': rpdump.c:769:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, field_len, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rpdump.c: In function 'wantto': rpdump.c:807:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(rep, sizeof(rep), stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: rpdump.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: rpdump.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o smime.o smime.c smime.c: In function 'smime_manage_password_file_certs_init': smime.c:1519:18: warning: unused variable 'store' [-Wunused-variable] X509_STORE *store = NULL; ^~~~~ smime.c:1518:18: warning: unused variable 'lookup' [-Wunused-variable] X509_LOOKUP *lookup = NULL; ^~~~~~ smime.c:1514:14: warning: unused variable 'ext' [-Wunused-variable] char *ext; ^~~ smime.c: In function 'smime_manage_certs_init': smime.c:1713:16: warning: unused variable 't' [-Wunused-variable] char *s, *t; ^ smime.c:1713:12: warning: unused variable 's' [-Wunused-variable] char *s, *t; ^ smime.c:1641:14: warning: variable 'ext' set but not used [-Wunused-but-set-variable] char *ext; ^~~ In file included from smime.c:37: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ 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 $"; ^~~~~ smime.c: In function 'output_cert_info': smime.c:529:4: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] X509_NAME_get_text_by_OBJ(X509_get_issuer_name(x), X509_NAME_ENTRY_get_object(e), buf, sizeof(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smime.c: In function 'manage_certs_tool': smime.c:1290:44: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s.key", ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from smime.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 4116 bytes into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o rpload.o rpload.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' rpload.c: In function 'opt_enter': rpload.c:1007:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(string, field_len, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: rpload.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: rpload.c 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $"; ^~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o takeaddr.o takeaddr.c In file included from mailcmd.h:26, from takeaddr.c:36: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ takeaddr.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: takeaddr.c 1012 2008-03-26 00:44:22Z hubert@u.washington.edu $"; ^~~~~ takeaddr.c: In function 'update_takeaddr_screen': takeaddr.c:1858:45: warning: '%s' directive output may be truncated writing up to 3029 bytes into a region of size 3025 [-Wformat-truncation=] snprintf(buf2, sizeof(buf2), " %s", buf1); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from takeaddr.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 3035 bytes into a destination of size 3030 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ takeaddr.c:1853:46: warning: '%s' directive output may be truncated writing up to 3029 bytes into a region of size 3025 [-Wformat-truncation=] snprintf(buf2, sizeof(buf2), "[%c] %s", ctmp->checked ? 'X' : SPACE, buf1); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from takeaddr.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 3035 bytes into a destination of size 3030 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ takeaddr.c: In function 'takeaddr_screen': takeaddr.c:1292:12: warning: 'km' may be used uninitialized in this function [-Wmaybe-uninitialized] cmd = menu_command(ch, km); ^~~~~~~~~~~~~~~~~~~~ takeaddr.c: In function 'take_without_edit': takeaddr.c:2435:53: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(tmp, sizeof(tmp), "Saved %d %s to \"%.*s\"", ^ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from takeaddr.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 20 and 201 bytes into a destination of size 200 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ takeaddr.c:2432:24: warning: 'total_to_copy' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(ret != 'T' && total_to_copy > 0){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o xoauth2conf.o xoauth2conf.c In file included from xoauth2conf.h:19, from xoauth2conf.c:16: xoauth2.h:18:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define GMAIL_NAME "Gmail" ^~~~~~~ xoauth2conf.c:29:5: note: in expansion of macro 'GMAIL_NAME' { GMAIL_NAME, GMAIL_ID, GMAIL_SECRET, GMAIL_TENANT, NULL, NULL}, ^~~~~~~~~~ xoauth2.h:18:20: note: (near initialization for 'xoauth_default[0].name') #define GMAIL_NAME "Gmail" ^~~~~~~ xoauth2conf.c:29:5: note: in expansion of macro 'GMAIL_NAME' { GMAIL_NAME, GMAIL_ID, GMAIL_SECRET, GMAIL_TENANT, NULL, NULL}, ^~~~~~~~~~ xoauth2.h:23:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define OUTLOOK_NAME "Outlook" ^~~~~~~~~ xoauth2conf.c:30:5: note: in expansion of macro 'OUTLOOK_NAME' { OUTLOOK_NAME, OUTLOOK_ID, OUTLOOK_SECRET, OUTLOOK_TENANT, NULL, NULL}, ^~~~~~~~~~~~ xoauth2.h:23:22: note: (near initialization for 'xoauth_default[1].name') #define OUTLOOK_NAME "Outlook" ^~~~~~~~~ xoauth2conf.c:30:5: note: in expansion of macro 'OUTLOOK_NAME' { OUTLOOK_NAME, OUTLOOK_ID, OUTLOOK_SECRET, OUTLOOK_TENANT, NULL, NULL}, ^~~~~~~~~~~~ xoauth2.h:33:22: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define YAHOO_NAME "Yahoo!" ^~~~~~~~ xoauth2conf.c:31:5: note: in expansion of macro 'YAHOO_NAME' { YAHOO_NAME, YAHOO_ID, YAHOO_SECRET, YAHOO_TENANT, NULL, NULL}, ^~~~~~~~~~ xoauth2.h:33:22: note: (near initialization for 'xoauth_default[2].name') #define YAHOO_NAME "Yahoo!" ^~~~~~~~ xoauth2conf.c:31:5: note: in expansion of macro 'YAHOO_NAME' { YAHOO_NAME, YAHOO_ID, YAHOO_SECRET, YAHOO_TENANT, NULL, NULL}, ^~~~~~~~~~ xoauth2.h:28:23: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define YANDEX_NAME "Yandex" ^~~~~~~~ xoauth2conf.c:32:5: note: in expansion of macro 'YANDEX_NAME' { YANDEX_NAME, YANDEX_ID, YANDEX_SECRET, YANDEX_TENANT, NULL, NULL}, ^~~~~~~~~~~ xoauth2.h:28:23: note: (near initialization for 'xoauth_default[3].name') #define YANDEX_NAME "Yandex" ^~~~~~~~ xoauth2conf.c:32:5: note: in expansion of macro 'YANDEX_NAME' { YANDEX_NAME, YANDEX_ID, YANDEX_SECRET, YANDEX_TENANT, NULL, NULL}, ^~~~~~~~~~~ xoauth2conf.c: In function 'same_xoauth2_info': xoauth2conf.c:79:36: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(x.name && y.name && !strcmp(x.name, y.name) ~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:79:44: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(x.name && y.name && !strcmp(x.name, y.name) ~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c: In function 'xoauth_config_line': xoauth2conf.c:132:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] n = strlen(XNAME) + strlen(x->name) + strlen(XID) + strlen(x->client_id) ~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ xoauth2conf.c:128:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ xoauth2conf.c: In function 'xoauth_info_choice': xoauth2conf.c:184:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i = n = 0; xinfo[i] != NULL; i++) ^~~ xoauth2conf.c:185:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' n += strlen(xinfo[i]->client_id); + 5; /* number, parenthesis, space */ ^ xoauth2conf.c:185:39: warning: statement with no effect [-Wunused-value] xoauth2conf.c:186:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] n += strlen(xinfo[0]->name) + strlen(user); ~~~~~~~~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ xoauth2conf.c: In function 'oauth2_get_client_info': xoauth2conf.c:288:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(x && x->name && name && !strcmp(x->name, name)) ~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:288:50: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(x && x->name && name && !strcmp(x->name, name)) ^~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:294:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); ~~~~~~~~~~~~~~~~~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:294:79: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); ^~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:306:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(x && x->name && name && !strcmp(x->name, name)){ ~^~~~~~ In file includemake[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' d from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:306:50: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(x && x->name && name && !strcmp(x->name, name)){ ^~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:312:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); ~~~~~~~~~~~~~~~~~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:312:79: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] for(i = 0; xoauth_default[i].name != NULL && strcmp(xoauth_default[i].name, name); i++); ^~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:356:24: warning: unused variable 'l' [-Wunused-variable] char ***alval, **l; ^ xoauth2conf.c:277:11: warning: unused variable 'alval' [-Wunused-variable] char ***alval, **lval; ^~~~~ xoauth2conf.c: In function 'write_xoauth_configuration': xoauth2conf.c:400:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] x->name = cpystr(vlist[i]->descrip); /* hack! but makes life so much easier! */ ^ xoauth2conf.c:402:34: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] && strcmp(xoauth_default[m].name, x->name); m++); ~~~~~~~~~~~~~~~~~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:402:42: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] && strcmp(xoauth_default[m].name, x->name); m++); ~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:385:30: warning: unused variable 'y' [-Wunused-variable] XOAUTH2_INFO_S *x = NULL, *y; ^ xoauth2conf.c: In function 'xoauth_parse_client_info': xoauth2conf.c:477:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] if (*s) x->name = cpystr(s); ^ xoauth2conf.c: In function 'xoauth2_conf_dedup_and_merge': xoauth2conf.c:537:20: warning: unused variable 'n' [-Wunused-variable] int i, j, k, l, n, m; ^ xoauth2conf.c:537:14: warning: unused variable 'k' [-Wunused-variable] int i, j, k, l, n, m; ^ xoauth2conf.c: In function 'write_xoauth_conf_entry': xoauth2conf.c:616:31: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] (*cl)->value = cpystr(x->name); ~^~~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ xoauth2conf.c:630:34: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ ~^~~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ xoauth2conf.c:658:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ ~^~~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ xoauth2conf.c:686:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ ~^~~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ xoauth2conf.c:713:36: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ ~^~~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ xoauth2conf.c:739:34: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] varlist[p]->descrip = cpystr(x->name); /* hack, but makes life easier! */ ~^~~~~~ In file included from ../pith/headers.h:31, from headers.h:25, from xoauth2conf.c:15: ../pith/../c-client/misc.h:84:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^~~~~~ xoauth2conf.c:605:8: warning: unused variable 'i' [-Wunused-variable] int i, p = *pp; ^ xoauth2conf.c: In function 'alpine_xoauth2_configuration': xoauth2conf.c:858:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ ~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:858:62: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ ~~~~~~~~~~~~~~~~~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:892:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(oa2list->name,xoauth_default[i].name)){ ~~~~~~~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:892:47: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(oa2list->name,xoauth_default[i].name)){ ~~~~~~~~~~~~~~~~~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:906:37: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ ~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:906:62: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(y && (!y->name || strcmp(y->name, xoauth_default[i].name))){ ~~~~~~~~~~~~~~~~~^~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:917:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(oa2list->name, y->name)) oa2 = oa2list; ~~~~~~~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:917:31: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp(oa2list->name, y->name)) oa2 = oa2list; ~^~~~~~ In file included from ../include/system.h:45, from ../pith/headers.h:25, from headers.h:25, from xoauth2conf.c:15: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ xoauth2conf.c:954:77: warning: pointer targets in passing argument 1 of 'strucmp' differ in signedness [-Wpointer-sign] for(i = 0; xoauth_default[i].name != NULL && strucmp(xoauth_default[i].name, service); i++); ~~~~~~~~~~~~~~~~~^~~~~ In file included from ../pith/headers.h:40, from headers.h:25, from xoauth2conf.c:15: ../pith/osdep/collate.h:25:7: note: expected 'char *' but argument is of type 'unsigned char *' int strucmp(char *, char *); ^~~~~~~ xoauth2conf.c:801:21: warning: unused variable 'x' [-Wunused-variable] XOAUTH2_INFO_S x, *y; ^ xoauth2conf.c:799:43: warning: unused variable 'add_hidden_vars_title' [-Wunused-variable] int expose_hidden_config, add_hidden_vars_title = 0; ^~~~~~~~~~~~~~~~~~~~~ xoauth2conf.c:796:19: warning: unused variable 'feature' [-Wunused-variable] FEATURE_S *feature; ^~~~~~~ xoauth2conf.c:793:29: warning: variable 'q' set but not used [-Wunused-but-set-variable] int i, j, k, l, p, q, ln = 0, readonly_warning = 0, pos, count_vars; ^ xoauth2conf.c:793:23: warning: unused variable 'l' [-Wunused-variable] int i, j, k, l, p, q, ln = 0, readonly_warning = 0, pos, count_vars; ^ xoauth2conf.c:792:30: warning: unused variable 'secret_def' [-Wunused-variable] *id_def, *tenant_def, *secret_def; ^~~~~~~~~~ xoauth2conf.c:792:17: warning: unused variable 'tenant_def' [-Wunused-variable] *id_def, *tenant_def, *secret_def; ^~~~~~~~~~ xoauth2conf.c:792:8: warning: unused variable 'id_def' [-Wunused-variable] *id_def, *tenant_def, *secret_def; ^~~~~~ xoauth2conf.c:791:65: warning: unused variable 'user_lval' [-Wunused-variable] char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, ^~~~~~~~~ xoauth2conf.c:791:51: warning: unused variable 'secret_lval' [-Wunused-variable] char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, ^~~~~~~~~~~ xoauth2conf.c:791:37: warning: unused variable 'tenant_lval' [-Wunused-variable] char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, ^~~~~~~~~~~ xoauth2conf.c:791:27: warning: unused variable 'id_lval' [-Wunused-variable] char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, ^~~~~~~ xoauth2conf.c:791:15: warning: unused variable 'name_lval' [-Wunused-variable] char *name_lval, *id_lval, *tenant_lval, *secret_lval, *user_lval, ^~~~~~~~~ xoauth2conf.c:790:46: warning: unused variable 'user' [-Wunused-variable] char *name, *id, *tenant, *secret, **user; ^~~~ xoauth2conf.c:790:36: warning: unused variable 'secret' [-Wunused-variable] char *name, *id, *tenant, *secret, **user; ^~~~~~ xoauth2conf.c:790:27: warning: unused variable 'tenant' [-Wunused-variable] char *name, *id, *tenant, *secret, **user; ^~~~~~ xoauth2conf.c:790:22: warning: unused variable 'id' [-Wunused-variable] char *name, *id, *tenant, *secret, **user; ^~ xoauth2conf.c:790:15: warning: unused variable 'name' [-Wunused-variable] char *name, *id, *tenant, *secret, **user; ^~~~ xoauth2conf.c:789:19: warning: unused variable 'extraname' [-Wunused-variable] char *s, *extraname = NULL; ^~~~~~~~~ xoauth2conf.c:789:15: warning: unused variable 's' [-Wunused-variable] char *s, *extraname = NULL; ^ xoauth2conf.c:788:31: warning: unused variable 'pval' [-Wunused-variable] char tmp[MAXPATH+1], *pval, **lval, ***alval; ^~~~ xoauth2conf.c:788:14: warning: unused variable 'tmp' [-Wunused-variable] char tmp[MAXPATH+1], *pval, **lval, ***alval; ^~~ In file included from xoauth2conf.c:24: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o mailcmd.o mailcmd.c mailcmd.c: In function 'save_prompt': mailcmd.c:2801:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (rule = get_result_rule(V_SAVE_RULES, FOR_SAVE, env)){ ^~~~ In file included from ../pith/headers.h:63, from headers.h:25, from mailcmd.c:31: mailcmd.c: In function 'cmd_export': mailcmd.c:3811:19: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] full_filename ? full_filename : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ mailcmd.c:3865:24: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] full_filename ? full_filename : "?", ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ mailcmd.c: In function 'simple_export': mailcmd.c:4123:19: warning: the address of 'full_filename' will always evaluate as 'true' [-Waddress] full_filename ? full_filename : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ mailcmd.c: In function 'broach_folder': mailcmd.c:6058:15: warning: the address of 'newfolder' will always evaluate as 'true' [-Waddress] newfolder ? newfolder : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ mailcmd.c:6066:17: warning: the address of 'expanded' will always evaluate as 'true' [-Waddress] expanded ? expanded : "?")); ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ mailcmd.c: In function 'select_by_text': mailcmd.c:8315:18: warning: unused variable 'buftmp' [-Wunused-variable] char buftmp[MAILTMPLEN], namehdr[80]; ^~~~~~ mailcmd.c: In function 'cmd_delete_this_thread': mailcmd.c:10122:33: warning: unused variable 'nxthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nxthrd; ^~~~~~ mailcmd.c: In function 'cmd_delete_thread': mailcmd.c:10150:33: warning: unused variable 'nxthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nxthrd; ^~~~~~ mailcmd.c:10149:49: warning: unused variable 'save_kolapsed' [-Wunused-variable] unsigned long rawno, top, orig_top, topnxt, save_kolapsed; ^~~~~~~~~~~~~ mailcmd.c:10149: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:10190:32: warning: unused variable 'msgno' [-Wunused-variable] unsigned long rawno, orig, msgno; ^~~~~ mailcmd.c:10190:26: warning: unused variable 'orig' [-Wunused-variable] unsigned long rawno, orig, msgno; ^~~~ mailcmd.c:10189:33: warning: unused variable 'nthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nthrd; ^~~~~ mailcmd.c:10188:28: warning: unused variable 'done' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~ mailcmd.c: In function 'collapse_thread': mailcmd.c:10249:20: warning: unused variable 'rv' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~ mailcmd.c:10249:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~~~~~~ mailcmd.c: In function 'expand_this_thread': mailcmd.c:10324:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (thrd->toploose) ^ mailcmd.c:10288:32: warning: unused variable 'msgno' [-Wunused-variable] unsigned long rawno, orig, msgno; ^~~~~ mailcmd.c:10287:33: warning: unused variable 'nthrd' [-Wunused-variable] PINETHRD_S *thrd = NULL, *nthrd; ^~~~~ mailcmd.c:10286:28: warning: unused variable 'done' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~ mailcmd.c: In function 'expand_thread': mailcmd.c:10348:19: warning: variable 'orig' set but not used [-Wunused-but-set-variable] unsigned long orig, orig_top, top; ^~~~ mailcmd.c:10346:20: warning: unused variable 'rv' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~ mailcmd.c:10346:9: warning: unused variable 'collapsed' [-Wunused-variable] int collapsed, rv = 1, done = 0; ^~~~~~~~~ In file included from mailcmd.c:76: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26, from mailcmd.c:32: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ mailcmd.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: mailcmd.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ mailcmd.c: In function 'cmd_flag': mailcmd.c:2003:4: warning: 'use_maint_screen' may be used uninitialized in this function [-Wmaybe-uninitialized] if(use_maint_screen){ ^ mailcmd.c: In function 'save_prompt': mailcmd.c:2946:25: warning: 'preindex' may be used uninitialized in this function [-Wmaybe-uninitialized] ekey[preindex].label = (pre == NoPreserve) ? "Preserve Order" : "Any Order"; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:2943:25: warning: 'delindex' may be used uninitialized in this function [-Wmaybe-uninitialized] ekey[delindex].label = (del == NoDel) ? "Delete" : "No Delete"; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'get_export_filename': mailcmd.c:4516:52: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 92 and 400 [-Wformat-truncation=] snprintf(prompt_buf, sizeof(prompt_buf), "%s%s%s%s%s", p1, p2, p3, p4, p5); ^~ ~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 408 bytes into a destination of size 400 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'cmd_export': mailcmd.c:3901:36: warning: '.d' directive output may be truncated writing 2 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] snprintf(dir, sizeof(dir), "%s.d", full_filename); ^~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 4099 bytes into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' ~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3995:45: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s%s%s", dir, S_FILESEP, lfile); ^~ ~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 8194 bytes into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:4010:48: warning: '%s' directive output may be truncated writing up to 4096 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s%s%s%s%d%s%s", ^~ dir, S_FILESEP, lfile, ~~~~~ mailcmd.c:4010:43: note: directive argument in the range [2, 2147483647] snprintf(filename, sizeof(filename), "%s%s%s%s%d%s%s", ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 3 or more bytes (assuming 8206) into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3922:37: warning: '.d_' directive output may be truncated writing 3 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] snprintf(dir, sizeof(dir), "%s.d_%s", full_filename, ^~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4100) into a destination of size 4097 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3857:2: warning: 'start_of_append' may be used uninitialized in this function [-Wmaybe-uninitialized] our_truncate(full_filename, (off_t)start_of_append); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3870:20: warning: 'orig_errno' may be used uninitialized in this function [-Wmaybe-uninitialized] filename, error_description(orig_errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c: In function 'cmd_expunge': mailcmd.c:3318:67: warning: '%.*s' directive output may be truncated writing up to 461 bytes into a region of size between 459 and 478 [-Wformat-truncation=] snprintf(prompt, sizeof(prompt), "Exclude %ld message%s from %.*s", del_count, ^~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 24 and 504 bytes into a destination of size 501 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:3460:9: warning: 'prefilter_del_count' may be used uninitialized in this function [-Wmaybe-uninitialized] else if(!prefilter_del_count) ^ mailcmd.c: In function 'process_cmd': mailcmd.c:1342:64: warning: '%.*s' directive output may be truncated writing up to 461 bytes into a region of size between 459 and 478 [-Wformat-truncation=] snprintf(prompt, sizeof(prompt), "UNexclude %ld message%s in %.*s", del_count, ^~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from mailcmd.c:31: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 24 and 504 bytes into a destination of size 501 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcmd.c:667:9: warning: 'topthrd' may be used uninitialized in this function [-Wmaybe-uninitialized] j = count_lflags_in_thread(stream, topthrd, msgmap, MN_NONE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o send.o send.c send.c: In function 'pine_send': send.c:2184: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:2588:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rule->result) ^~ send.c:2590:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' fs_give((void **)&rule); ^~~~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from send.c:25: send.c:3402:18: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] folder ? folder : "?", ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ send.c:3718:17: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] folder ? folder : "?", ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ send.c:3765:17: warning: the address of 'folder' will always evaluate as 'true' [-Waddress] if(fcc_result && folder) ^~ send.c:4198:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!ps_global->send_immediately) ^~ send.c:4202:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; /* All's well, pop out of here */ ^~~~~ send.c: In function 'choose_a_priority': send.c:5204:16: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, cnt; ^ In file included from ../pith/headers.h:63, from headers.h:25, from send.c:25: send.c: In function 'upload_msg_to_pico': send.c:5342:10: warning: the address of 'cmd' will always evaluate as 'true' [-Waddress] cmd ? cmd : "?", ^ ../pith/debug.h:40:40: note: in definition of macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ In file included from send.c:67: At top level: ../pith/rules.h:94:23: warning: 'tokens_use' defined but not used [-Wunused-variable] static USE_IN_CONTEXT tokens_use[] = { ^~~~~~~~~~ In file included from mailcmd.h:26, from send.c:38: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ send.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: send.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $"; ^~~~~ send.c: In function 'filter_message_text': send.c:5539:14: warning: 'readthis_so' may be used uninitialized in this function [-Wmaybe-uninitialized] errstr = gf_filter(cmd, key ? filter_session_key() : NULL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readthis_so, pc, NULL, 0, 0, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pipe_callback); ~~~~~~~~~~~~~~ send.c: In function 'pine_simple_send': send.c:1723:40: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] char *part2 = fcc_result ? "" : "NOT "; ~~~~~~~~~~~~~~~~^~~~~~~~ send.c: In function 'pine_send': send.c:3375:35: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] snprintf(nbuf, sizeof(nbuf), "%d", i+1); ^~ send.c:3375:34: note: directive argument in the range [-2147483647, 2147483647] snprintf(nbuf, sizeof(nbuf), "%d", i+1); ^~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from send.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ send.c:3368:38: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] snprintf(nbuf, sizeof(nbuf), "%d", i); ^~ send.c:3368:37: note: directive argument in the range [-2147483648, 2147483646] snprintf(nbuf, sizeof(nbuf), "%d", i); ^~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from send.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ send.c:3375:35: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] snprintf(nbuf, sizeof(nbuf), "%d", i+1); ^~ send.c:3375:34: note: directive argument in the range [-2147483647, 2147483647] snprintf(nbuf, sizeof(nbuf), "%d", i+1); ^~~~ In file included from /usr/include/stdio.h:873, from ../include/system.h:31, from ../pith/headers.h:25, from headers.h:25, from send.c:25: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ send.c:2940:29: warning: 'he_fcc' may be used uninitialized in this function [-Wmaybe-uninitialized] he_news->affected_entry = he_fcc; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from ../pith/headers.h:63, from headers.h:25, from send.c:25: ../pith/debug.h:40:23: warning: 'fcc_result' may be used uninitialized in this function [-Wmaybe-uninitialized] #define dprint(x) { output_debug_msg x ; } ^~~~~~~~~~~~~~~~ send.c:3272:17: note: 'fcc_result' was declared here int fcc_result = 0; ^~~~~~~~~~ send.c:3623:29: warning: 'pf_ourhdrs' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_ourhdrs->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3530:28: warning: 'pf_ourrep' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_ourrep->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3515:28: warning: 'pf_curpos' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_curpos->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3504:26: warning: 'pf_mbox' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_mbox->writehdr = 1; ~~~~~~~~~~~~~~~~~~~^~~ send.c:3487:25: warning: 'pf_uid' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_uid->writehdr = 1; ~~~~~~~~~~~~~~~~~~^~~ send.c:3464:25: warning: 'pf_err' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_errmake[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' ->writehdr = 1; ~~~~~~~~~~~~~~~~~~^~~ send.c:3603:33: warning: 'pf_nntp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_nntp_server->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:3564:33: warning: 'pf_smtp_server' may be used uninitialized in this function [-Wmaybe-uninitialized] pf_smtp_server->writehdr = 1; ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ send.c:2941:29: warning: 'he_to' may be used uninitialized in this function [-Wmaybe-uninitialized] he_lcc->affected_entry = he_to; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' gcc -DHAVE_CONFIG_H -I../include -I../include -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/openssl -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -c -o roleconf.o roleconf.c make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' In file included from context.h:23, from conftype.h:24, from roleconf.h:21, from roleconf.c:20: roleconf.c: In function 'role_config_edit_screen': ../pith/conf.h:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:869: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:865: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:869: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:869: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:869: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:869: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:865: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:865: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:865: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:865: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:865: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:863: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:863: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:863: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:863: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:863: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:863: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:867: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:867: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:867: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:867: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:865: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:863: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:865: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:865: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:869: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:869: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:869: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:869: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:869: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:869: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:869: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:869: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:869: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:869: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:869: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:869: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:869: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:865:25: warning: the address of 'abook_type_var' will always evaluate as 'true' [-Waddress] #define APVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.p : \ ^ roleconf.c:5051:10: note: in expansion of macro 'APVAL' apval = APVAL(&abook_type_var, ew); ^~~~~ ../pith/conf.h:869: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:865: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:869: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:869: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:869: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:865: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:865: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:865: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:865: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:869: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:869: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:869:25: warning: the address of 'smtp_act_var' will always evaluate as 'true' [-Waddress] #define ALVAL(v,w) ((v) ? (((w) == Main) ? &(v)->main_user_val.l : \ ^ roleconf.c:5201:10: note: in expansion of macro 'ALVAL' alval = ALVAL(&smtp_act_var, ew); ^~~~~ ../pith/conf.h:869: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); ^~~~~ roleconf.c:5519:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(j = 0; (f = inabook_fldr_types(j)); j++) ^~~ roleconf.c:5525:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(bitnset(INABOOK_FROM, inabook_type_list)) ^~ In file included from mailcmd.h:26, from roleconf.c:30: At top level: ../pith/mailcmd.h:46:23: warning: 'rule_curpos' defined but not used [-Wunused-variable] static unsigned long rule_curpos = 0L; ^~~~~~~~~~~ ../pith/mailcmd.h:45:21: warning: 'saved_stream' defined but not used [-Wunused-variable] static MAILSTREAM *saved_stream; ^~~~~~~~~~~~ roleconf.c:2:13: warning: 'rcsid' defined but not used [-Wunused-variable] static char rcsid[] = "$Id: roleconf.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; ^~~~~ roleconf.c: In function 'role_text_tool': roleconf.c:7219:18: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] newfile = cpystr(full_filename + len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_config_addfile': roleconf.c:1965:18: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] newfile = cpystr(full_filename + len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ roleconf.c: In function 'role_config_add': roleconf.c:1255:25: warning: 'new_patline' may be used uninitialized in this function [-Wmaybe-uninitialized] new_pat->patline = new_patline; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ roleconf.c: In function 'role_config_replicate': roleconf.c:1409:25: warning: 'new_patline' may be used uninitialized in this function [-Wmaybe-uninitialized] new_pat->patline = new_patline; ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /bin/sh ../libtool --tag=CC --mode=link gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L `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 xoauth2conf.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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 libtool: link: gcc -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -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 xoauth2conf.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 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5 -pthread make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[2]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RZkEBp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le ++ dirname /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le + cd alpine-2.24 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le 'INSTALL=/usr/bin/install -p' if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make lfd EXTRACFLAGS=" -I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5" EXTRAAUTHENTICATORS="gss " EXTRASPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/pki/tls SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private " BUNDLED="no" make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' make build EXTRACFLAGS='-I/usr/include/openssl -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -funwind-tables -fstack-clash-protection -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -lgssapi_krb5 -lcrypt -lldap -lssl -lcrypto -ldl -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' 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 ' BUNDLED='no' BUILDTYPE=lnpno IP=6 \ SPECIALS="GSSDIR=/usr/kerberos" make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' Rebuilding c-client for lnpno... cd c-client;make all CC=`cat CCTYPE` \ CFLAGS="`cat CFLAGS`" `cat SPECIALS` make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap/c-client' sh -c 'rm -rf rebuild || true' Not building bundled tools. make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/alpine-2.24' Making install in m4 make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/m4' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/m4' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/m4' Making install in po make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/po' /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share if test "alpine" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/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 -p -m 644 ./$file \ /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/po' Making install in pith make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/pith/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/osdep' Making install in charconv make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/pith/charconv' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith/charconv' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pith' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/pith' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pith' Making install in pico make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' Making install in osdep make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/pico/osdep' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico/osdep' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/pico' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p pico pilot '/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin' libtool: install: /usr/bin/install -p pico /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/pico libtool: install: /usr/bin/install -p pilot /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/pilot make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/pico' Making install in alpine make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /usr/bin/make install-recursive make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' Making install in osdep make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/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.24/alpine/osdep' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine/osdep' make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' make[5]: Entering directory '/builddir/build/BUILD/alpine-2.24/alpine' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -p alpine rpdump rpload '/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin' libtool: install: /usr/bin/install -p alpine /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/alpine libtool: install: /usr/bin/install -p rpdump /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/rpdump libtool: install: /usr/bin/install -p rpload /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/rpload make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24/alpine' make[2]: Entering directory '/builddir/build/BUILD/alpine-2.24' make[3]: Entering directory '/builddir/build/BUILD/alpine-2.24' cd imap && /usr/bin/make install-mailutil BUNDLED="no" DESTDIR="/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le" bindir="/usr/bin" mandir="/usr/share/man" make[4]: Entering directory '/builddir/build/BUILD/alpine-2.24/imap' Not building bundled tools. Installing mailutil... BUNDLED=no if test x"no" = x""; then \ /usr/bin/install -p -d /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin; \ /usr/bin/install -p mailutil/mailutil /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/mailutil; \ /usr/bin/install -p -d /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/man/man1; \ /usr/bin/install -p src/mailutil/mailutil.1 /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/man/man1/mailutil.1; \ fi make[4]: Leaving directory '/builddir/build/BUILD/alpine-2.24/imap' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/man/man1' /usr/bin/install -p -m 644 doc/man1/alpine.1 doc/man1/pico.1 doc/man1/pilot.1 doc/man1/rpdump.1 doc/man1/rpload.1 '/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/man/man1' make[3]: Leaving directory '/builddir/build/BUILD/alpine-2.24' make[2]: Leaving directory '/builddir/build/BUILD/alpine-2.24' make[1]: Leaving directory '/builddir/build/BUILD/alpine-2.24' + mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/etc + touch /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/etc/pine.conf + touch /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/etc/pine.conf.fixed + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.24-1.el8 --unique-debug-suffix -2.24-1.el8.ppc64le --unique-debug-src-base alpine-2.24-1.el8.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/alpine-2.24 extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/pico extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/alpine extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/rpdump extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/rpload extracting debug info from /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/bin/pilot /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 26644 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: alpine-2.24-1.el8.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kiNGqF + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + DOCDIR=/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/doc/alpine + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/doc/alpine + cp -pr README /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/doc/alpine + cp -pr README.fedora /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/doc/alpine + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3nzbgV + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + LICENSEDIR=/builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/licenses/alpine + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/licenses/alpine + cp -pr LICENSE /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le/usr/share/licenses/alpine + exit 0 Provides: alpine = 2.24-1.el8 alpine(ppc-64) = 2.24-1.el8 config(alpine) = 2.24-1.el8 re-alpine = 2.24-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcom_err.so.2()(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) liblber-2.4.so.2()(64bit) libldap-2.4.so.2()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Conflicts: pine Processing files: alpine-debugsource-2.24-1.el8.ppc64le Provides: alpine-debugsource = 2.24-1.el8 alpine-debugsource(ppc-64) = 2.24-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: alpine-debuginfo-2.24-1.el8.ppc64le Provides: alpine-debuginfo = 2.24-1.el8 alpine-debuginfo(ppc-64) = 2.24-1.el8 debuginfo(build-id) = 11e9cb3aa80521013ee0f635752ec3772e953233 debuginfo(build-id) = 29dc7cc1ef5981b0df120856c5f2dd1cd0d7c7de debuginfo(build-id) = 4fd387adeaf7cb603a1e28295549a9accac03f53 debuginfo(build-id) = eb88bdd90fef40ada11dcd96b02083590c334f8b debuginfo(build-id) = f1568107126e3dcd81967f1d1d20ef5614d686dd Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: alpine-debugsource(ppc-64) = 2.24-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le Wrote: /builddir/build/RPMS/alpine-2.24-1.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/alpine-debugsource-2.24-1.el8.ppc64le.rpm Wrote: /builddir/build/RPMS/alpine-debuginfo-2.24-1.el8.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.O46iNf + umask 022 + cd /builddir/build/BUILD + cd alpine-2.24 + /usr/bin/rm -rf /builddir/build/BUILDROOT/alpine-2.24-1.el8.ppc64le + exit 0 Child return code was: 0